From: Hugo Villeneuve Date: Sat, 4 Dec 2021 19:45:30 +0000 (-0500) Subject: Ajout directive size X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=98cc22c9dc2df3a5f1d7043cbb08fcdb44b1d556;p=musique%2Fhvguitartex.git Ajout directive size --- diff --git a/gtx2tex.pl b/gtx2tex.pl index c59bb27..de59c7f 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -398,8 +398,10 @@ sub directive{ }elsif ( /{basstab:/ ) { print TEX "\\basstab\n" unless ( $lyrics ); newtab() unless ( $lyrics ); + }elsif ( /{size:/ ) { + s/(\{.*:)(.+)(\})/\2/; + print TEX "\\$_\n"; } - }