I have a problem in the sheet dedicated to the table of contents. I'm using titlesec/titletoc/tikz which works fine except in the page "table of contents".
I have this result :
The problem is that I don't want to have this "Chapitre 0 :" before "Table des matières" (i.e. Table of contents).
The code used is :
% |_-_-_-_-_-_-_-_-| Package pour redéfinir les titres |_-_-_-_-_-_-_-_-|%
\usepackage{titlesec}
\usepackage{titletoc}
% |_-_-_-_-_-_-_-_-| Numérotation des sections |_-_-_-_-_-_-_-_-|%
\setcounter{secnumdepth}{5}
\renewcommand{\thechapter}{\arabic{chapter}}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{{\thesection}.\alph{subsection}}
\renewcommand{\thesubsubsection}%
{{\thesubsection}$_{\textnormal{\bfseries\emph{\arabic{subsubsection}}}}$}
\renewcommand{\theparagraph}{}
\renewcommand{\thesubparagraph}{}
% >>>> A tikz box for chapters
\newcommand\boxedchapter[1]{{%
\begin{center}
\begin{tikzpicture}
\node (0,0) [left color=Marron!40!white, right color=Anthracite!20%
, text=RougeSang, font=\bf\Huge] {Chapitre \thechapter : #1} ;
\end{tikzpicture}%
\end{center}
}}
\titleformat{\chapter}%
{}%
{}%
{0pt}%
{\boxedchapter}%
If I remove all the part % >>>> A tikz box for chapters
, the problem disappears (there is only "Table des matières" without "Chapitre 0 :"), but "Chapitre 1", "Chapitre 2", etc. disappear too, and I would like to keep this (except for the table of contents), like this :
Thank you for help.