% 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