table Table des matières et smash
Voici l'ECM qui illustre le problème:
problème :
    \documentclass{book}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage{titletoc}%
    \usepackage{xcolor}%
    
    \contentsmargin{0cm}%
    \titlecontents{chapter}[1cm]%
    {\addvspace{15pt}\color{blue}\large\sffamily\bfseries}%
    {\llap{\colorbox{blue!10}{\vphantom{Séq}\makebox[4cm][r]{\chaptername\nobreakspace\thecontentslabel}}\hskip5pt}\colorbox{black!8}}%
    {\llap{\colorbox{blue!10}{\vphantom{Séq}\makebox[4cm][r]{}}\hskip5pt}\colorbox{black!8}}%
    {}%
    
    \begin{document}
    \tableofcontents
    \chapter{Élastique}
    \chapter{Elastique}
    \chapter[\protect\vphantom{Ep}\smash{Élastique}]{Élastique}
    \end{document}
Dans la table des matières, j'aimerais obtenir le troisième résultat sans passer par l'argument optionel optionnel de la commande `\chapter`.
![alt text][1]
  [1]: http://texnique.fr:80/osqa/upfiles/toc1.png