2

Possible Duplicate:
Change caption name of figures

I'm using scrbook for the document class. Is there an easy way to abbreviate "Figure 1" in order to have "Fig. 1" ? The proposed answer didn't solve it, see a MWE below:

\documentclass[12pt,oneside,ngerman,toc=bibliographynumbered,toc=flat]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\renewcommand\figurename{Fig.}
\makeatother
\begin{document}
\begin{figure}
\caption{\textbf{\label{fig:Verlaufsformen-der-MS}Verlaufsformen der MS als graphische Abbildung nach Lublin und Reingold 1996}}
\end{figure}
\end{document}
Jan
  • 629
  • 1
    With babel, use \addto\captionsngerman{\renewcommand\figurename{Fig.}}. See my answer in the question linked above as "Possible Duplicate". – lockstep Feb 09 '12 at 20:45
  • Gorgeous, I didn't get the "captionsngerman"-thing, but now it works. Can I accept this as the correct answer? Thanks. – Jan Feb 09 '12 at 20:47
  • 1
    @Jan: I think so, since voting on closed questions are still possible. – Werner Feb 09 '12 at 21:13

1 Answers1

2

The KOMA-Script classes have a macro called \figurename which stores, you guessed it, the name of figure floats. If English is the language in force, this macro's value is, by default, "Figure". Use the command

\renewcommand\figurename{Fig.}

to reset this macro to contain "Fig.".

Mico
  • 506,678
  • 1
    This also holds for the regular document classes. Search for \figurename in article.cls (say). The second entry declares \figurename, used by \fnum@figure. – Werner Feb 09 '12 at 20:26
  • 1
    This might not work if the OP uses babel, as explained in my answer to the question linked above as "possible duplicate of". – lockstep Feb 09 '12 at 20:32