15

How could I change the default language so that I get something else instead of "Table" or "Figure" before my captions?

TRiG
  • 10,148
  • 7
  • 57
  • 107
Olondon
  • 151
  • 1
  • 1
  • 3
  • Do you want to change the language i.e English->Spanish or do you just want to specify what the caption says? – zdav Apr 25 '10 at 19:31

4 Answers4

11

You can redefine \figurename and \tablename by using \renewcommand. For example, you can do this for Swedish:

\renewcommand{\figurename}{Figur}
\renewcommand{\tablename}{Tabell}
Donald Duck
  • 8,409
  • 22
  • 75
  • 99
8
\usepackage[francais]{babel}
lhf
  • 70,581
  • 9
  • 108
  • 149
5

You can change your document's language using babel package. The captions will be updated automatically.

As a bonus, you'll get the correct hyphenation for the chosen language.

Vlad
  • 35,022
  • 6
  • 77
  • 199
  • All languages aren't available. I tried Swedish (both by specifying `svenska` and `swedish`), but it said it wasn't available. French worked though, by using `francais`. – Donald Duck Mar 21 '18 at 13:13
  • @DonaldDuck: Perhaps you are using an outdated babel? [This question](https://tex.stackexchange.com/q/75006/1640) reports that Swedish is available. – Vlad Mar 21 '18 at 13:16
  • @​Vlad I'm sure it's not outdated, I just installed it. – Donald Duck Mar 21 '18 at 13:17
  • @DonaldDuck: If you are using MikTeX, maybe you didn't install all the needed languages? – Vlad Mar 21 '18 at 13:23
5

You can also redefine \tablename and \figurename.

lhf
  • 70,581
  • 9
  • 108
  • 149