Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 8

28 Mai '19, 02:18

samcarter's gravatar image

samcarter
8.7k2817

Une autre possibilité : modifier `tocnumwidth` \documentclass[numbers=endperiod]{scrreprt} \RedeclareSectionCommand[ tocnumwidth=3em % normalement 1.5em ]{chapter} \begin{document} \tableofcontents \chapter{Chapitre 1} \chapter{Chapitre 2} \chapter{Chapitre 3} \chapter{Chapitre 4} \chapter{Chapitre 5} \chapter{Chapitre 6} \chapter{Chapitre 7} \chapter{Chapitre 8} \chapter{Chapitre 9} \chapter{Chapitre 10} \chapter{Chapitre 11} \end{document} ![alt text][1] Pour aligner les numéros à droite : \documentclass[numbers=endperiod]{scrreprt} \RedeclareSectionCommand[ tocdynnumwidth, tocentrynumberformat=\chapterentrynumberformat ]{chapter} \newcommand\chapterentrynumberformat[1]{\hfill#1\enspace} \begin{document} \tableofcontents \chapter{Chapitre 1} \chapter{Chapitre 2} \chapter{Chapitre 3} \chapter{Chapitre 4} \chapter{Chapitre 5} \chapter{Chapitre 6} \chapter{Chapitre 7} \chapter{Chapitre 8} \chapter{Chapitre 9} \chapter{Chapitre 10} \chapter{Chapitre 11} \end{document} ![alt text][2] [1]: https://texnique.fr/osqa/upfiles/Screen_Shot_2019-05-27_at_22.10.04.png [2]: http://https://texnique.fr/osqa/upfiles/Screen_Shot_2019-05-27_at_22.08.25.png
cliquez ici pour masquer/afficher la révision 7

28 Mai '19, 02:13

samcarter's gravatar image

samcarter
8.7k2817

Une autre possibilité : modifier `tocnumwidth` \documentclass[numbers=endperiod]{scrreprt} \RedeclareSectionCommand[ tocnumwidth=3em % normalement 1.5em ]{chapter} \begin{document} \tableofcontents \chapter{Chapitre 1} \chapter{Chapitre 2} \chapter{Chapitre 3} \chapter{Chapitre 4} \chapter{Chapitre 5} \chapter{Chapitre 6} \chapter{Chapitre 7} \chapter{Chapitre 8} \chapter{Chapitre 9} \chapter{Chapitre 10} \chapter{Chapitre 11} \end{document} ![alt text][1] Pour aligner les numéros à droite : \documentclass[numbers=endperiod]{scrreprt} \RedeclareSectionCommand[ tocdynnumwidth, tocentrynumberformat=\chapterentrynumberformat ]{chapter} \newcommand\chapterentrynumberformat[1]{\hfill#1\enspace} \begin{document} \tableofcontents \chapter{Chapitre 1} \chapter{Chapitre 2} \chapter{Chapitre 3} \chapter{Chapitre 4} \chapter{Chapitre 5} \chapter{Chapitre 6} \chapter{Chapitre 7} \chapter{Chapitre 8} \chapter{Chapitre 9} \chapter{Chapitre 10} \chapter{Chapitre 11} \end{document} ![alt text][1] text][2] [1]: https://texnique.fr/osqa/upfiles/Screen_Shot_2019-05-27_at_22.10.04.png [2]: http://
cliquez ici pour masquer/afficher la révision 6

28 Mai '19, 02:12

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 5

28 Mai '19, 02:11

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 4

28 Mai '19, 02:10

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 3

28 Mai '19, 01:54

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 2

28 Mai '19, 01:50

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 1

28 Mai '19, 01:48

samcarter's gravatar image

samcarter
8.7k2817

C'est votre première visite ici ? Consultez la FAQ !

×