I have used the following lines in my preamble
\usepackage{babel}
\addto\extrasfrench{%
\providecommand{\og}{\leavevmode\flqq~}%
\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
}
\newcommand{\noun}[1]{\textsc{#1}}
\renewcommand{\tablename}{Tableau}
\usepackage[labelsep=endash]{caption}
It still shows Table 1 - ...
but I want it to be like Tableau 1 - ...
I tried to use \addto\captionsfrench\renewcommand{\tablename}{Tableau}
it didn't work either besides I am not using babel
. What I don't understand is that it was working fine in another document using the amsart
class, but it does not work in this document using the article
class.
How can I change the name of the caption for tables in my document ?
Best Answer
Just
\renewcommand{\tablename}{Tableau}
in the document preamble suffices.However, writing in French without using the support of
babel
is quite dubious; here is an example:With
babel
you can solve many problems, but not the problem with\tablename
because of some glitches in the implementation ofbabel
andamsart
. So one has to do some extra work, unfortunately.The same text with the preamble changed to
will print like this
Notice the differences in hyphenation (but they're not the only differences). In both cases the caption is labeled "Tableau".
(Text from http://fr.wikipedia.org/wiki/Paris)