summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/droit-fr/example/sommaire.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/droit-fr/example/sommaire.tex')
-rw-r--r--macros/latex/contrib/droit-fr/example/sommaire.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/latex/contrib/droit-fr/example/sommaire.tex b/macros/latex/contrib/droit-fr/example/sommaire.tex
new file mode 100644
index 0000000000..1677610dbb
--- /dev/null
+++ b/macros/latex/contrib/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}
+\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