diff options
| author | Thomas Hodgson <[email protected]> | 2024-10-01 21:26:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-01 12:26:28 -0700 |
| commit | f2b1de53973b4633f057d621d2c1a22a00914bda (patch) | |
| tree | 663d5091ce2f84d0c5be9b962a9c892a9cbb260e /test/writer.latex | |
| parent | e583ab79700a299d1057b54899cccd82165a562b (diff) | |
Make --number-sections work with beamer (#10245)
+ Remove section numbering code from common.latex
+ Add section numbering to default.latex
+ Add logic for numbering sections in default.beamer. I moved the template setting
code to where other beamer templates are set. This makes the section-titles and
numbersections variables independent.
This should make --number-sections work with beamer.
Diffstat (limited to 'test/writer.latex')
| -rw-r--r-- | test/writer.latex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.latex b/test/writer.latex index a5ee8a04e..6e6811cf0 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -5,6 +5,7 @@ ]{article} \usepackage{xcolor} \usepackage{amsmath,amssymb} +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering \usepackage{iftex} \ifPDFTeX \usepackage[T1]{fontenc} @@ -60,7 +61,6 @@ \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} -\setcounter{secnumdepth}{-\maxdimen} % remove section numbering \usepackage{bookmark} \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \urlstyle{same} |
