latex caption language (2) -
referring question (change latex caption language), got same problem , not solved use of correct language package.
here mwe:
\documentclass[a4paper,twoside]{article} \usepackage[a4paper,top=2cm,bottom=2cm,inner=6cm,outer=2cm]{geometry} \geometry{twoside} \usepackage{lmodern}%font \usepackage[francais]{babel}%language corrector , punctuation rules \usepackage[utf8]{inputenc}%encoding \usepackage[t1]{fontenc} \usepackage[font=small]{caption}%titres des figures \usepackage{color} \usepackage{array} \usepackage{colortbl} \usepackage[pdftex]{graphicx} \begin{document} \begin{table}[h!] \caption{calendrier approximatif du processus législatif.} \begin{tabular}{>{\raggedleft}p{0.65\textwidth} p{0.1\textwidth} } analyse du problème, fixation des objectifs et définition des moyens d'action possibles & 1 an\\ \end{tabular} \end{table} \end{document}
what do wrong? thank you!
the standard tag table defined in frenchb.ldf
word “table”.
if want become “tableau”, instance, have tell babel
to.
\documentclass[a4paper,twoside]{article} \usepackage[t1]{fontenc} \usepackage[utf8]{inputenc}%encoding \usepackage[francais]{babel}%language corrector , punctuation rules \usepackage[a4paper,top=2cm,bottom=2cm,inner=6cm,outer=2cm]{geometry} \geometry{twoside} \usepackage{lmodern}%font \usepackage[font=small]{caption}%titres des figures \usepackage{color} \usepackage{array} \usepackage{colortbl} \usepackage{graphicx} \addto\captionsfrench{\renewcommand\frenchtablename{{\fbfigtabshape tableau}}} \begin{document} \begin{table}[h!] \caption{calendrier approximatif du processus législatif.} \begin{tabular}{>{\raggedleft}p{0.65\textwidth} p{0.1\textwidth} } analyse du problème, fixation des objectifs et définition des moyens d'action possibles & 1 an\\ \end{tabular} \end{table} \end{document}
i have changed package loading order better one. note don't need pass pdftex
option graphicx
(unless have very old tex distribution).
Comments
Post a Comment