diff options
author | Andrew Dunning <adunning@users.noreply.github.com> | 2019-03-04 18:58:20 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-04 16:58:20 -0700 |
commit | d7f56f818972d3dbe218343caa0222a8912877c3 (patch) | |
tree | f0d78bdbaca24126d0afc6248b1bef042d310cc9 /test/lhs-test.latex+lhs | |
parent | ebdcf752760aeb9c8f207fd17a28ae1a2fd945cf (diff) | |
download | pandoc-d7f56f818972d3dbe218343caa0222a8912877c3.tar.gz |
LaTeX template: Robust section numbering removal (#5351)
Ensures that section numbering does not reappear with custom section levels. See <https://tex.stackexchange.com/questions/473653/>.
Update tests
Diffstat (limited to 'test/lhs-test.latex+lhs')
-rw-r--r-- | test/lhs-test.latex+lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 51c49229b..b5469e524 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -46,7 +46,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 |