summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/droit-fr/example/toc.tex
blob: 62a13fa83e85257f18d54f4b5a7640aab8fe553c (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
% paramètres de la table des matières
\renewcommand*{\contentsname}{Table des matières}
\let\changetocdepth\oldchangetocdepth
\setcounter{tocdepth}{7}

% \cftpagenumberson{book}
% \cftpagenumberson{part}
% \cftpagenumberson{chapter}

\renewcommand{\tocheadstart}{\chapterheadstart}
\makeatletter
\renewcommand{\cftbookbreak}{\addpenalty{-\@highpenalty}\clearpage}
\makeatother
\renewcommand{\cftbeforebookskip}{2em}
\renewcommand{\cftbookfont}{\normalfont\bfseries\Large}
\renewcommand{\cftbookindent}{0em}
%\renewcommand{\cftbooknumwidth}{}
%\renewcommand{\cftafterbookskip}{}
\renewcommand{\cftbookleader}{\cftdotfill{\cftdotsep}}

\renewcommand{\cftbeforepartskip}{1.5em}
\renewcommand{\cftpartfont}{\normalfont\bfseries\large}
\renewcommand{\cftpartindent}{0em}
%\renewcommand{\cftpartnumwidth}{}
\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}}

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

\renewcommand{\cftbeforesectionskip}{0.5em}
\renewcommand{\cftsectionfont}{\normalfont\large}
%\renewcommand{\cftsectionname}{Section\space}
\renewcommand{\cftsectionindent}{0em}
\renewcommand{\cftsectionnumwidth}{5.5em}
%\renewcommand{\cftsectionleader}{\cftdotfill{\cftdotsep}}

\renewcommand{\cftbeforesubsectionskip}{0.5em}
\renewcommand{\cftsubsectionfont}{\normalfont\scshape}
%\renewcommand{\cftsubsectionname}{}
\renewcommand{\cftsubsectionindent}{0em}
\renewcommand{\cftsubsectionnumwidth}{2em}
%\renewcommand{\cftsubsectionleader}{\cftdotfill{\cftdotsep}}

%\renewcommand{\cftbeforesubsubsectionskip}{}
\renewcommand{\cftsubsubsectionfont}{\normalfont\itshape}
%\renewcommand{\cftsubsubsectionname}{}
\renewcommand{\cftsubsubsectionindent}{1em}
\renewcommand{\cftsubsubsectionnumwidth}{2em}
%\renewcommand{\cftsubsubsectionleader}{\cftdotfill{\cftdotsep}}

%\renewcommand{\cftbeforeparagraphskip}{}
\renewcommand{\cftparagraphfont}{\normalfont}
%\renewcommand{\cftparagraphname}{}
\renewcommand{\cftparagraphindent}{2em}
\renewcommand{\cftparagraphnumwidth}{2em}
%\renewcommand{\cftparagraphleader}{\cftdotfill{\cftdotsep}}

%\renewcommand{\cftbeforesubparagraphskip}{}
\renewcommand{\cftsubparagraphfont}{\normalfont}
%\renewcommand{\cftsubparagraphname}{}
\renewcommand{\cftsubparagraphindent}{3em}
\renewcommand{\cftsubparagraphnumwidth}{2em}
%\renewcommand{\cftsubparagraphleader}{\cftdotfill{\cftdotsep}}

\renewcommand{\cftsubsubparagraphfont}{\normalfont\small}

\renewcommand{\cftsubsubsubparagraphfont}{\normalfont\footnotesize}


\clearpage
\tableofcontents