Skip to content

Commit 60a4e5f

Browse files
committed
[toc] Make room for page numbers >= 1000 in table of contents.
1 parent 0ff421f commit 60a4e5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/front.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
%%--------------------------------------------------
66
%% The table of contents, list of tables, and list of figures
77
\markboth{\contentsname}{}
8+
9+
%%--------------------------------------------------
10+
%% Make a bit more room for our long page numbers.
11+
\makeatletter
12+
\renewcommand\@pnumwidth{2.5em}
13+
\makeatother
14+
815
\tableofcontents
916
\setcounter{tocdepth}{5}
1017
\newpage

0 commit comments

Comments
 (0)