summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/droit-fr/example/sommaire.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/droit-fr/example/sommaire.tex')
-rw-r--r--Master/texmf-dist/doc/latex/droit-fr/example/sommaire.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/droit-fr/example/sommaire.tex b/Master/texmf-dist/doc/latex/droit-fr/example/sommaire.tex
new file mode 100644
index 00000000000..6f03b7abe14
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/droit-fr/example/sommaire.tex
@@ -0,0 +1,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\scshape}
+\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