How could I change the default language so that I get something else instead of "Table" or "Figure" before my captions?
Change LaTeX caption language
Do you want to change the language i.e English->Spanish or do you just want to specify what the caption says? –
Volnay
You can redefine \figurename
and \tablename
by using \renewcommand
. For example, you can do this for Swedish:
\renewcommand{\figurename}{Figur}
\renewcommand{\tablename}{Tabell}
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.
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
. –
Roid @DonaldDuck: Perhaps you are using an outdated babel? This question reports that Swedish is available. –
Clung
@Vlad I'm sure it's not outdated, I just installed it. –
Roid
@DonaldDuck: If you are using MikTeX, maybe you didn't install all the needed languages? –
Clung
You can also redefine \tablename
and \figurename
.
© 2022 - 2025 — McMap. All rights reserved.