aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-25 13:11:30 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-25 13:11:30 -0700
commit856a5093269cc8e5aaa429fc1775157ff5857c30 (patch)
tree812f18d6131fde935f49ebfb138a9dd270e18775 /default.latex
parentfeffd7c64abab863abd3f6458d1c445d6bfe7fc4 (diff)
downloadpandoc-856a5093269cc8e5aaa429fc1775157ff5857c30.tar.gz
Added secnumdepth variable to LaTeX template.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.latex b/default.latex
index 219756982..3d31a5731 100644
--- a/default.latex
+++ b/default.latex
@@ -155,7 +155,7 @@ $endif$
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
$if(numbersections)$
-\setcounter{secnumdepth}{5}
+\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
$else$
\setcounter{secnumdepth}{0}
$endif$