From d7f56f818972d3dbe218343caa0222a8912877c3 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Mon, 4 Mar 2019 18:58:20 -0500 Subject: LaTeX template: Robust section numbering removal (#5351) Ensures that section numbering does not reappear with custom section levels. See . Update tests --- test/lhs-test.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lhs-test.latex') diff --git a/test/lhs-test.latex b/test/lhs-test.latex index 2c464d488..fd88fa5d3 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -79,7 +79,7 @@ \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} -\setcounter{secnumdepth}{-2} +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering % Redefines (sub)paragraphs to behave more like sections \ifx\paragraph\undefined\else \let\oldparagraph\paragraph -- cgit v1.2.3