TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to have tables with their numbers, just as when I use \caption.

My problem is that when I use the \caption it shows me like this:

Cuadro x.x: this is some table.

The word Cuadro is because I'm using a document class as spanish. I want to change that word "Cuadro". Is it possible to do that?

share|improve this question
Do you have \usepackage[spanish]{babel} in your document? – egreg Nov 5 '12 at 0:05
up vote 18 down vote accepted

Since you are using babel with the spanish option, the default behaviour is to use "Cuadro" as \tablename (following a recommendation from the RAE); however, it is also usual, and many people prefer this regardless of what the RAE says) to use "Tabla" instead. You can use the es-tabla option for babel to change the name to "Tabla":


Another option to get "Tabla" is to use the mexico package option


but this option also changes the behaviour of the quotation marks and of the decimal separator (for details, texdoc spanish on a terminal).

If you want to change the name to some other string, you can redefine \spanishtablename:

\renewcommand\spanishtablename{Otro nombre}
share|improve this answer
Better is \renewcommand\spanishtablename{Otro nombre} (no \addto trickery). – Javier Bezos Nov 5 '12 at 17:47
@JavierBezos ah, yes, I forgot about \spanishtablename; I updated my answer. Thank you! – Gonzalo Medina Nov 5 '12 at 17:49

You can use the caption package like in the following

\documentclass[12pt, letterpaper]{article}
\captionsetup[table]{name=New Table Name}


test & test\\
\caption{test caption}


enter image description here

share|improve this answer
As you have it now, the change will only affect the single table environment to which it is applied; to have the effect global, one can say \captionsetup[table]{name=Cuadro} in the preamble. Besides, "Cuadro" is the current name and the OP wants to change it. – Gonzalo Medina Nov 5 '12 at 0:25
@GonzaloMedina Edited my answer! – azetina Nov 5 '12 at 0:37

With KOMA-Script

If you use package babel together with KOMA-Script (to be correct, package scrbase, which is called in the KOMA-Script classes scrartcl, scrreprt, scrbook and scrlttr2 and in the KOMA-Script package scrextend) it is better to use the mechanism of KOMA-Script instead of babels because KOMA-Script has a better verification.

KOMA-Script defines two macros for naming or renaming LaTeX names:

\newcaptionname{language}{LaTeX name}{new content}   % new name
\renewcaptionname{language}{LaTeX name}{new content} % renew existing name

For your case it is enough to add:

\renewcaptionname{spanish}{\listtablename}{Índice de tablas}

Please note that with loading the package scrextend (see chapter 16, file scrguien.pdf, texdoc scrguien) you can use some KOMA-Script features with non KOMA-Script classes. For example scrextend loads scrbase.

share|improve this answer

This is a simple solution:


Works with and without babel. Use figurename for tables.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.