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

06 Aoû '17, 16:05

Pathe's gravatar image

Pathe
7.5k48207252

Voici une solution avec le module `caption` : \documentclass[english,a4paper,12pt]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{caption} \captionsetup[figure]{font={small, sf},labelformat=empty} %ou %\captionsetup{font={small, sf},labelformat=empty} \begin{document} \begin{figure} \centering \rule{3cm}{2cm} \caption{Image Image Image Image} \end{figure} \begin{table} \caption{Image Image Image Image} \centering \begin{tabular}{|c|c|} \hline a & 1 \\ \hline b & 2 \\ \hline \end{tabular} \end{table} \end{document}
cliquez ici pour masquer/afficher la révision 7

12 Nov '16, 20:43

touhami's gravatar image

touhami
9.8k410

Voici une solution. solution avec le module `caption` \documentclass[english,a4paper,12pt]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \makeatletter \renewcommand\@makecaption[2]{% \vskip\abovecaptionskip \sbox\@tempboxa{#2}% \ifdim \wd\@tempboxa >\hsize #2\par \else \global \@minipagefalse \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} \makeatother \usepackage{caption} \captionsetup[figure]{font={small, sf},labelformat=empty} %ou %\captionsetup{font={small, sf},labelformat=empty} \begin{document} \begin{figure} \centering \rule{3cm}{2cm} \caption{Image Image Image Image} \rule{3cm}{2cm} \end{figure} \end{document} ou avec `caption` \documentclass[english,a4paper,12pt]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{caption} \usepackage{caption} \captionsetup{labelformat=empty} \begin{document} \begin{figure} \begin{table} \caption{Image Image Image Image} \rule{3cm}{2cm} \end{figure} \end{document} **Remarque** avec caption on peut écrire \usepackage[font={small, sf},labelformat=empty]{caption} ou \usepackage{caption} \captionsetup{font={small, sf},labelformat=empty}\centering \begin{tabular}{|c|c|} \hline a & 1 \\ \hline b & 2 \\ \hline \end{tabular} \end{table} \end{document}
cliquez ici pour masquer/afficher la révision 6

12 Nov '16, 18:54

touhami's gravatar image

touhami
9.8k410

cliquez ici pour masquer/afficher la révision 5

12 Nov '16, 18:53

touhami's gravatar image

touhami
9.8k410

cliquez ici pour masquer/afficher la révision 4

12 Nov '16, 18:45

touhami's gravatar image

touhami
9.8k410

cliquez ici pour masquer/afficher la révision 3

12 Nov '16, 18:44

touhami's gravatar image

touhami
9.8k410

cliquez ici pour masquer/afficher la révision 2

12 Nov '16, 18:30

touhami's gravatar image

touhami
9.8k410

cliquez ici pour masquer/afficher la révision 1

12 Nov '16, 16:43

touhami's gravatar image

touhami
9.8k410

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

×