In my thesis I have french resume part, but main text is in English. I need to have in the resume French tables naming (Tableau
) in table captions and in the main part instead of Tableau
the English version Table
. My idea does not work:
\documentclass[10pt,a4paper]{article}
\usepackage[english,frenchb]{babel}
\usepackage{fontspec}
\begin{document}
\selectlanguage{french}
\begin{table}[!h]
\caption{First}
\begin{tabular}{|c|c|}
\hline 1& 1 \\
\hline 1 &1 \\
\hline
\end{tabular}
\end{table}
\selectlanguage{english}
\begin{table}[!h]
\caption{Second}
\begin{tabular}{|c|c|}
\hline 1& 1 \\
\hline 1 &1 \\
\hline
\end{tabular}
\end{table}
\end{document}
What is the way to solve the problem?
Aucun commentaire:
Enregistrer un commentaire