diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-18 08:49:37 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-18 08:49:37 -0800 |
commit | eb7dfde58b60546751ef25bab6e5ac977664fd73 (patch) | |
tree | 57e4783f6482e7a7d212428d992cdeac6d5687bc /default.latex | |
parent | bc561191b2bff547aa634e0d8a6d7a1e5bb71777 (diff) | |
download | pandoc-eb7dfde58b60546751ef25bab6e5ac977664fd73.tar.gz |
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.
Diffstat (limited to 'default.latex')
-rw-r--r-- | default.latex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/default.latex b/default.latex index 2105e4bea..e2eb58a79 100644 --- a/default.latex +++ b/default.latex @@ -102,6 +102,7 @@ $endif$ \setlength{\parskip}{6pt plus 2pt minus 1pt} \setlength{\emergencystretch}{3em} % prevent overfull lines $if(numbersections)$ +\setcounter{secnumdepth}{5} $else$ \setcounter{secnumdepth}{0} $endif$ |