From 48cfac6aa6bd644e5c257f9e39329a53612a4243 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 6 Dec 2021 22:34:21 -0500 Subject: [PATCH] Grossissement de la taille des accords --- gtx2tex.pl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gtx2tex.pl b/gtx2tex.pl index 9379053..adb82aa 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -485,6 +485,7 @@ sub latex_header { \\makeindex \\usepackage{fancyhdr} \\pagestyle{fancy} + \\usepackage{setspace} " }else{ print TEX " @@ -516,6 +517,11 @@ sub latex_header { \\newcommand{\\gtxchordsize}{\\footnotesize} \\setlength{\\parindent}{0pt} + % Modification pour augmenter la taille des accords. + \\onehalfspacing + %%\\doublespacing + \\setstretch{1.8} + %------PostScript-Header für die Chord-Songs------ %\\special{header=$libpath/chord-common.ps} @@ -525,9 +531,11 @@ sub latex_header { \\newcommand{\\gtxchord}[2]{\\sbox{\\gtxchordbox}{#1}\\sbox{\\textbox}{#2}% \\ifthenelse{\\lengthtest{\\wd\\textbox>\\wd\\gtxchordbox}}% {% - \\raisebox{2ex}[2ex][2.5ex]{\\makebox[0pt][l]{\\scriptsize\\bf#1}}#2% + % Boîte pour les accords (plus gros) + \\raisebox{2.5ex}[2ex][2.5ex]{\\makebox[0pt][l]{\\small\\bf#1}}#2% }{% - \\raisebox{2ex}[2ex][2.5ex]{\\makebox[0pt][l]{\\scriptsize\\bf#1}}\\makebox[\\wd\\gtxchordbox+0.5em][l]{#2}% + % Boîte pour les accords (plus gros) + \\raisebox{2.5ex}[2ex][2.5ex]{\\makebox[0pt][l]{\\small\\bf#1}}\\makebox[\\wd\\gtxchordbox+0.5em][l]{#2}% }% }% -- 2.20.1