[latex3-commits] [latex3/latex2e] develop: leave space for page number 1000 for #1271 (98bf4749)
github at latex-project.org
github at latex-project.org
Mon Feb 12 20:11:36 CET 2024
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/98bf4749eeccb9f55ccd862c2320cf4c70005107
>---------------------------------------------------------------
commit 98bf4749eeccb9f55ccd862c2320cf4c70005107
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Mon Feb 12 19:11:36 2024 +0000
leave space for page number 1000 for #1271
>---------------------------------------------------------------
98bf4749eeccb9f55ccd862c2320cf4c70005107
base/source2edoc.cls | 3 +++
1 file changed, 3 insertions(+)
diff --git a/base/source2edoc.cls b/base/source2edoc.cls
index 5f731af7..86a38fcf 100644
--- a/base/source2edoc.cls
+++ b/base/source2edoc.cls
@@ -303,6 +303,9 @@ Bug reports can be opened (category \texttt{#1}) at\\%
\AddToHook{cmd/tableofcontents/after}{\global\let\tableofcontents\relax}
+% pages > 1000
+\renewcommand\@pnumwidth{2em}
+
\InputIfFileExists{ltxdoc.cfg}
{\typeout{*************************************^^J%
* Local config file ltxdoc.cfg used^^J%
More information about the latex3-commits
mailing list.