From: Hugo Villeneuve Date: Fri, 3 Dec 2021 20:20:06 +0000 (-0500) Subject: Diminution espace après le titre X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=2530f4c08624910e00204831a297288f010efd0f;p=musique%2Fhvguitartex.git Diminution espace après le titre --- diff --git a/gtx2tex.pl b/gtx2tex.pl index 2190f08..c59bb27 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -328,6 +328,9 @@ sub directive{ $song_title = uc($song_title); } + # \titlespacing{command}{left}{before-sep}{after-sep}[right-sep] + print TEX "\\titlespacing{\\section}{0em}{0em}{-0.6cm}\n"; + print TEX "\\begin{center} \\section*{$song_title}\\end{center}\n"; $define=""; print TEX "\\index{$song_title}"; @@ -578,6 +581,9 @@ sub latex_header { \\usepackage{fancyhdr} \\pagestyle{myheadings} \\usepackage{setspace} + \\usepackage{titlesec} + %%\\titleformat{command}[shape{format}{label}{sep}{before-code}[after-code] + \\titleformat{\\section}{\\centering}{}{0em}{\\bf\\large} " }else{ print TEX "