From 856a5093269cc8e5aaa429fc1775157ff5857c30 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 25 Jun 2016 13:11:30 -0700
Subject: Added secnumdepth variable to LaTeX template.

---
 default.latex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'default.latex')

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$
-- 
cgit v1.2.3

