This is the first time ever that I want to use a two-lined caption. Usually, LaTeX puts the caption underneath a figure centralized, however when you put a \\ or \linebreak, or you just have a lot of text, now the caption will be all the way to the left.
This is my code for my Abb. 42:
Code: Select all
\begin{center}
\includegraphics[width=\textwidth]{pics/wertigkeitsdiagramm}
\captionof{figure}{Grundlegender Aufbau des Wertigkeitsdiagrammes \\ Eintragen von Hyperbeln gleicher Gewichtung}
\label{fig:wertigkeitsdiagramm}
\end{center}
As the second line of my caption is already underneath the text-start of the first one, I don't need to change anything with the captionstyle floats no? This is how I want it. All I want basically, is to move this caption as is to the middle, like is the case with Abb. 43., centralized based on the first line.
When I try to put a hspace, the "Abb.42:" stays left and a gap is created.
I believe LaTeX already thinks my line is full with the \\ and therefore puts the whole thing to the left.
Thank you very much!