Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 4
modif' mineure

03 Nov '16, 00:30

Pathe's gravatar image

Pathe
7.6k49209252

Je n'ai pas très bien compris ce qui est recherché. Peut-être que ceci, mis dans le préambule préambule, conviendra pour cet ECM : \renewcommand\listfigurename{\normalfont List of Figures} \renewcommand\listtablename{\vspace{-.66667\baselineskip}\normalfont List of Tables} **Edit** : pour contrer l'hameçon de frenchb, on peut définit soi même soi-même un hameçon pour placer ce que l'on veut au début du texte de remplacement des macros `\listfigurename` et `\listtablename` : \documentclass[french]{book} \usepackage{babel} \usepackage[nottoc]{tocbibind} \newcommand\insfirst[2]{\edef#1{\unexpanded{#2}\unexpanded\expandafter{#1}}} \AtBeginDocument{\insfirst\listfigurename\normalfont \insfirst\listtablename{\vspace{-.66667\baselineskip}\normalfont}} \begin{document} \tableofcontents \listoftables \listoffigures \chapter{Foo} \chapter{Bar} \end{document} ![alt text][1] **EDIT n°2** : j'espère que cela ira cette fois ci ! \documentclass[french]{book} \usepackage{babel} \usepackage{xpatch} \makeatletter \AtBeginDocument{% \xpatchcmd\listoffigures{\chapter*{\listfigurename}}{\chapter*{\listfigurename}\addcontentsline{toc}{chapter}{\normalfont \listfigurename}}{}{}% \xpatchcmd\listoftables{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\vspace{-.66667\baselineskip}\normalfont\listtablename}}{}{}% \xpatchcmd\l@chapter\hfil{\leaders\hbox{\normalfont$\m@th\mkern\@dotsep mu\hbox{.}\mkern\@dotsep mu$}\hfill}{}{} } \makeatother \begin{document} \tableofcontents \listoftables \listoffigures \chapter{Foo} \chapter{Bar} \end{document} [1]: http://texnique.fr:80/osqa/upfiles/capture_xxwaBYk.png
cliquez ici pour masquer/afficher la révision 3

23 Avr '16, 02:36

unbonpetit's gravatar image

unbonpetit
1.8k18

Je n'ai pas très bien compris ce qui est recherché. Peut-être que ceci, mis dans le préambule conviendra pour cet ECM : \renewcommand\listfigurename{\normalfont List of Figures} \renewcommand\listtablename{\vspace{-.66667\baselineskip}\normalfont List of Tables} **Edit** : pour contrer l'hameçon de frenchb, on peut définit soi même un hameçon pour placer ce que l'on veut au début du texte de remplacement des macros `\listfigurename` et `\listtablename` : \documentclass[french]{book} \usepackage{babel} \usepackage[nottoc]{tocbibind} \newcommand\insfirst[2]{\edef#1{\unexpanded{#2}\unexpanded\expandafter{#1}}} \AtBeginDocument{\insfirst\listfigurename\normalfont \insfirst\listtablename{\vspace{-.66667\baselineskip}\normalfont}} \begin{document} \tableofcontents \listoftables \listoffigures \chapter{Foo} \chapter{Bar} \end{document} ![alt text][1] **EDIT n°2** : j'espère que cela ira cette fois ci ! \documentclass[french]{book} \usepackage{babel} \usepackage{xpatch} \makeatletter \AtBeginDocument{% \xpatchcmd\listoffigures{\chapter*{\listfigurename}}{\chapter*{\listfigurename}\addcontentsline{toc}{chapter}{\normalfont \listfigurename}}{}{}% \xpatchcmd\listoftables{\chapter*{\listtablename}}{\chapter*{\listtablename}\addcontentsline{toc}{chapter}{\vspace{-.66667\baselineskip}\normalfont\listtablename}}{}{}% \xpatchcmd\l@chapter\hfil{\leaders\hbox{\normalfont$\m@th\mkern\@dotsep mu\hbox{.}\mkern\@dotsep mu$}\hfill}{}{} } \makeatother \begin{document} \tableofcontents \listoftables \listoffigures \chapter{Foo} \chapter{Bar} \end{document} [1]: http://texnique.fr:80/osqa/upfiles/capture_xxwaBYk.png
cliquez ici pour masquer/afficher la révision 2

23 Avr '16, 00:30

unbonpetit's gravatar image

unbonpetit
1.8k18

cliquez ici pour masquer/afficher la révision 1

22 Avr '16, 11:55

unbonpetit's gravatar image

unbonpetit
1.8k18