From 461ff8913c764cb520aba3100b5c7fd17f12d573 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 5 May 2022 21:20:31 -0400 Subject: [PATCH] =?utf8?q?Correction=20probl=C3=A8me=20avec=20classe=20art?= =?utf8?q?icle?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- gtx2tex.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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} " -- 2.20.1