LaTeX template: set secnumdepth to 5 if --number-sections
specified.
This yields behavior equivalent to the other writers, numbering level 4 and 5 headers too.
This commit is contained in:
parent
bc561191b2
commit
eb7dfde58b
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ $endif$
|
||||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||||
$if(numbersections)$
|
$if(numbersections)$
|
||||||
|
\setcounter{secnumdepth}{5}
|
||||||
$else$
|
$else$
|
||||||
\setcounter{secnumdepth}{0}
|
\setcounter{secnumdepth}{0}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
Loading…
Add table
Reference in a new issue