0

I know that this have been asked many times. I've tried different solutions, however none of them is working for me. I would like to change the identifier of the caption for pictures from "Fig. " to "Abb. ". I am using babel. So far I have tried: 1.:

\renewcommand{\figurename}{Abb. }

2.:

\renewcaptionname{ngerman}{\figurename}{Abb. }

3.:

\captionsetup{figurename=Abb. }

None of this has changed anything. I am using this code as a minimum example:

\documentclass[a4paper]{paper}

\usepackage{graphicx} \usepackage{caption}

\usepackage[german]{babel} \addto\captionsgerman{ \renewcommand{\figurename}{Abb.} }

\begin{document}

\begin{figure} \centering \includegraphics[width=\textwidth]{./Images/Simulink/PT1_Glied_s.png} \caption{PT1-Glied} \label{fig:fig_pt1glied} \end{figure}

\end{document}

  • 1
    In the article class your change of \figurename works. I assume then that your problem is something to do with the paper class.. Many years ago I could read German, but no longer, so it would take me far too long to figure out your specific problem. – Peter Wilson Oct 20 '22 at 18:43

1 Answers1

1

For the paper class you need to redefine \figureshortname:

\documentclass[a4paper]{paper}

\usepackage[demo]{graphicx} \usepackage{caption} \usepackage[german]{babel} \addto\captionsgerman{\renewcommand{\figureshortname}{Abb.}} \begin{document}

\begin{figure} \centering \includegraphics[width=\textwidth]{./Images/Simulink/PT1_Glied_s.png} \caption{PT1-Glied} \label{fig:fig_pt1glied} \end{figure}

\end{document}

enter image description here

Marijn
  • 37,699