From: Hugo Villeneuve Date: Fri, 6 May 2022 01:20:31 +0000 (-0400) Subject: Correction problème avec classe article X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=461ff8913c764cb520aba3100b5c7fd17f12d573;p=musique%2Fhvguitartex.git Correction problème avec classe article --- diff --git a/gtx2tex.pl b/gtx2tex.pl index 01bf47e..3c2f7b6 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -591,6 +591,11 @@ sub latex_header { " } + print TEX " + \\usepackage{setspace} + \\usepackage{titlesec} + "; + if ( $document_class eq "book" ){ print TEX " \\title{$title} @@ -600,8 +605,7 @@ sub latex_header { \\makeindex \\usepackage{fancyhdr} \\pagestyle{myheadings} - \\usepackage{setspace} - \\usepackage{titlesec} + %%\\titleformat{command}[shape{format}{label}{sep}{before-code}[after-code] \\titleformat{\\section}{\\centering}{}{0em}{\\bf\\large} "