aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-18 08:49:37 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-18 08:49:37 -0800
commiteb7dfde58b60546751ef25bab6e5ac977664fd73 (patch)
tree57e4783f6482e7a7d212428d992cdeac6d5687bc /default.latex
parentbc561191b2bff547aa634e0d8a6d7a1e5bb71777 (diff)
downloadpandoc-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.latex1
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$