diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-05-27 18:16:08 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-05-27 18:16:08 +0200 |
commit | 2449a674f035e1b0d9e456d1499f6a957f21af8a (patch) | |
tree | 3d07250df990e39e30c792b5d4832cf57f5ca60f /templates | |
parent | 1dc8190583262cd311c09e431791a4480e847f6e (diff) |
Secnumdepth default to 0 in book template
Diffstat (limited to 'templates')
-rw-r--r-- | templates/book.latex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/book.latex b/templates/book.latex index b496157..90c1ff7 100644 --- a/templates/book.latex +++ b/templates/book.latex @@ -499,7 +499,7 @@ $if(colorlinks)$ \hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$} $endif$ \setcounter{tocdepth}{$toc-depth$} - \setcounter{secnumdepth}{$toc-secnumdepth$} + \setcounter{secnumdepth}{$if(toc-secnumdepth)$$toc-secnumdepth$$else$0$endif$} \tableofcontents } $endif$ |