From 98cc22c9dc2df3a5f1d7043cbb08fcdb44b1d556 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 4 Dec 2021 14:45:30 -0500 Subject: [PATCH] Ajout directive size --- gtx2tex.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; } - } -- 2.20.1