blob: d32b5747adcd5e413df835edda76ef4ea829cae0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
%%
%% The LaTeX Companion, 3ed
%%
%% Example 2-3-8 on page I-65 in "A few design examples".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%
\documentclass{tlc3exareport}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{243.0pt}
%StartShownPreambleCommands
\usepackage{titletoc}
\titlecontents{chapter}[2pc]
{\addvspace{5pt}}
{\large\bfseries
\contentslabel[\hfill
\thecontentspage]{2pc}\dotfill
}{}{}
[\addvspace{2pt}]
\titlecontents{section}[2pc]{}
{\contentslabel[\hfill
\thecontentspage]{2pc}%
\enspace --\enspace }{}{}
\setcounter{tocdepth}{1}
%StopShownPreambleCommands
\begin{document}
\input{partial.toc}
\end{document}
|