From: Hugo Villeneuve Date: Tue, 7 Dec 2021 03:34:21 +0000 (-0500) Subject: Grossissement de la taille des accords X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=48cfac6aa6bd644e5c257f9e39329a53612a4243;p=musique%2Fhvguitartex.git Grossissement de la taille des accords --- 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}% }% }%