Ajout directive size
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 4 Dec 2021 19:45:30 +0000 (14:45 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 9 Mar 2022 22:14:43 +0000 (17:14 -0500)
gtx2tex.pl

index c59bb27..de59c7f 100644 (file)
@@ -398,8 +398,10 @@ sub directive{
     }elsif ( /{basstab:/ ) {
         print TEX "\\basstab\n" unless ( $lyrics );
         newtab() unless ( $lyrics );
+    }elsif ( /{size:/ ) {
+        s/(\{.*:)(.+)(\})/\2/;
+        print TEX "\\$_\n";
     }
-
 }