projects
/
musique
/
hvguitartex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b79aca2
)
Correction problème avec classe article
author
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 6 May 2022 01:20:31 +0000
(21:20 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 6 May 2022 02:14:30 +0000
(22:14 -0400)
gtx2tex.pl
patch
|
blob
|
history
diff --git
a/gtx2tex.pl
b/gtx2tex.pl
index
01bf47e
..
3c2f7b6
100644
(file)
--- 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}
"