Skip to content

Commit 9a1b7aa

Browse files
committed
Adjust spacing in list of parts
1 parent 18ca935 commit 9a1b7aa

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/collection/document.tex

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,18 @@
4040
% only include parts in list of parts
4141
\setcounter{tocdepth}{\parttocdepth}
4242

43-
% use dotted lines for list of parts, make font smaller
44-
\RedeclareSectionCommand[tocstyle=dottedtocline]{part}
43+
\RedeclareSectionCommand[
44+
% use dotted lines for list of parts, make font smaller
45+
tocstyle=dottedtocline,
46+
% make space for Roman part numbers larger
47+
tocnumwidth=3.8em,
48+
]{part}
49+
50+
% make space for Roman part numbers larger
51+
\makeatletter
52+
\renewcommand*{\@pnumwidth}{2.7em}
53+
\renewcommand*{\@tocrmarg}{2.7em}
54+
\makeatother
4555

4656
% list of parts
4757
\renewcommand*{\contentsname}{Vorlesungen}

0 commit comments

Comments
 (0)