summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/droit-fr/example/sommaire.tex
blob: 1677610dbbb524f95326e0e18c7bfd0b97828024 (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
38
% sommaire
\renewcommand*{\contentsname}{Sommaire}
\let\oldchangetocdepth\changetocdepth
\renewcommand*{\changetocdepth}[1]{}
\let\oldcftchapterfillnum\cftchapterfillnum
\setcounter{tocdepth}{0}% Parties / Titres / Chapitres seulement

%\cftpagenumbersoff{book}
%\cftpagenumbersoff{part}
%\cftpagenumbersoff{chapter}

\renewcommand{\tocheadstart}{}

\renewcommand{\cftbeforebookskip}{1em}
%\renewcommand{\cftbookfont}{}
\renewcommand{\cftbookindent}{0em}
%\renewcommand{\cftbooknumwidth}{}
\renewcommand{\cftbookpagefont}{\normalfont\bfseries\large}
%\renewcommand{\cftafterbookskip}{}
%\renewcommand{\cftbookleader}{\cftdotfill{\cftdotsep}}

\renewcommand{\cftbeforepartskip}{0.5em}
\renewcommand{\cftpartfont}{\normalfont}
\renewcommand{\cftpartindent}{0.5em}
%\renewcommand{\cftpartnumwidth}{}
\renewcommand{\cftpartpagefont}{\normalfont\scshape}
%\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}}

\renewcommand{\cftbeforechapterskip}{0em}
\renewcommand{\cftchapterfont}{\normalfont}
\renewcommand{\cftchaptername}{Chapitre\space}
\renewcommand{\cftchapterindent}{1em}
%\renewcommand{\cftchapternumwidth}{}
\renewcommand{\cftchapterpagefont}{\normalfont}
%\renewcommand{\cftchapterleader}{\cftdotfill{\cftdotsep}}

\clearpage
\tableofcontents