Sous-titre en petits caractères
authorHugo Villeneuve <hugo@hugovil.com>
Fri, 3 Dec 2021 18:41:10 +0000 (13:41 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 9 Mar 2022 22:14:43 +0000 (17:14 -0500)
gtx2tex.pl

index 0744e01..1a562bc 100644 (file)
@@ -331,8 +331,20 @@ sub directive{
         $verbose && print TEX "\\typeout{$song_title}";
     }elsif ( /{subtitle:|{st:/ ) {
         s/(\{.*:)(.+)(\})/\2/;
+
         print TEX "\\index{$_!$song_title}";
+        print TEX "\\normalfont\n";
+        print TEX "\\footnotesize\n";
         print TEX "\\begin{center}$_\\end{center}\n";
+        print TEX "\\normalsize\n";
+
+        if ( $bold ) {
+            print TEX "\\bfseries\n";
+        }
+        else
+        {
+            print TEX "\\normalfont\n";
+        }
     }elsif ( /{margin:|{m:/ ) {
         s/(\{.*:)(.+)(\})/\2/;
         print TEX "\\marginpar{$_}\n";