#1 Le 17/12/2009, à 16:59
- appopson
Latex: Comment faire apparaitre "Chapitre" dans la toc [Resolu]
Salut à tous,
Une fois de plus je viens vous poser une difficultée que j'éprouve.
Est-il possible de faire figurer le le mot "Chapitre" dans la table de matières au lieu des
numéros uniquement?
Je rappelle que c'est pour le cadre de ma thèse.
Merci
Dernière modification par appopson (Le 18/12/2009, à 19:55)
Ubuntu inside ...
Hors ligne
#2 Le 17/12/2009, à 18:18
- Titus007
Re : Latex: Comment faire apparaitre "Chapitre" dans la toc [Resolu]
En cherchant un peu je suis tombé sur le package titletoc. Je ne sais pas comment il marche, mais je crois que tu peux trouver le détail dans la page.
Il fonctionnerait conjointement avec titlesec.
3% of people today would die if facebook was completely destroyed, 2.7% wouldn't. If you are one of the 0.03% that would be laughing, copy and paste this to your signature. If you are one of the 12% who would mourn the dead, don't. If you are among the 60% of people who don't have Internet, well... and if you don't care, do whatever the f... you want !
Hors ligne
#3 Le 18/12/2009, à 12:41
- appopson
Re : Latex: Comment faire apparaitre "Chapitre" dans la toc [Resolu]
Merci Titus007,
J'ai ajouté ceci
\usepackage{titlesec
\renewcommand{\cftchapfont}{\bfseries}
\renewcommand{\cftchappagefont}{\bfseries}
\renewcommand{\cftchappresnum}{\chaptername~} %affichera Chapitre dans la TOC
\renewcommand{\cftchapaftersnum}{~}
\renewcommand{\cftchapnumwidth}{6em}
Ca marche maintenant parfaitement
Ubuntu inside ...
Hors ligne
#4 Le 18/12/2009, à 16:56
- Titus007
Re : Latex: Comment faire apparaitre "Chapitre" dans la toc [Resolu]
Mais je t'en prie !
C'est toujours un plaisir d'aider un utilisateur de LaTeX.
3% of people today would die if facebook was completely destroyed, 2.7% wouldn't. If you are one of the 0.03% that would be laughing, copy and paste this to your signature. If you are one of the 12% who would mourn the dead, don't. If you are among the 60% of people who don't have Internet, well... and if you don't care, do whatever the f... you want !
Hors ligne