From eb7dfde58b60546751ef25bab6e5ac977664fd73 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 18 Feb 2013 08:49:37 -0800 Subject: [PATCH] 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. --- default.latex | 1 + 1 file changed, 1 insertion(+) 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$