TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

How can I modify the caption name of a figure? For example I have

\caption{This is a figure.}

and by default the caption appears as

Figure 1: This is a figure.

However I want

Fig.1 - This is a figure.

share|improve this question
up vote 80 down vote accepted

First, you have to redefine \figurename. Without using the babel package:


With babel (and English as language):


For changing the separator between label and caption text, I recommend the caption package.





\caption{This is a figure}


EDIT: In case anyone wonders how to change the caption name of tables: Redefine \tablename.

share|improve this answer
Ok, but the figure is numbered like Fig. 0.0.1.. how can i remove that numerotation? – qwerty May 5 '11 at 16:37
@qwerty: See this question for general hints about changing the numbering of figures and tables. – lockstep May 5 '11 at 16:41
remove all numbers: \renewcommand{\thefigure}{} – Marco Daniel May 5 '11 at 17:10
or you can use \caption*{} – Marco Daniel May 5 '11 at 17:11
Using the figurename= key for the caption package (as in \usepackage[figurename=Fig.]{caption} ) you can change the figure name and this will work whether babel is used or not. – Gonzalo Medina May 5 '11 at 18:17

This is a simple solution:


Works with and without babel. Use tablename for tables.

share|improve this answer

You can go to the file pseudocode.sty (if you are using a pseudocode environment) and changing the word "algorithm" by "algorithme".

The file is installed C:/programfile/...Miktex...pseudocode

share|improve this answer
pardon: file "pseudocode.sty" not "pseudocode.sys" – Arezki Med May 12 '13 at 20:22
It is bad practice to change the files originally included in your TeX distribution. – lockstep Aug 10 '13 at 13:33
You better edit your answer than correcting it in a comment! – mafp Aug 10 '13 at 13:35
Despite the fact, that it is bad advice to change distributed files, this is rather a comment than an answer. – Johannes_B May 28 '14 at 9:15

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.