使用换行符将图片标题居中

使用换行符将图片标题居中

我的任务是直接在标题中写下任何图形等的来源​​。但它应该放在新行中并从标题的左侧开始(但标题应该居中)但现在标题只是用空白字符填充第一行,因此它被放在左侧。有什么想法吗?我正在使用 caption 包而没有任何设置(Singlelinecheck 等没有帮助我)。

我已将图像整合如下:

\begin{figure}[H] \centering \includegraphics[width=0.4 \textwidth]{Abbildungen/el_Feld_Kondensator} \caption{Darstellung des elektrischen Feldes eines Plattenkondensators. \newline (Quelle: \cite{el_Feld_Kondensator})} \label{Fig:el_Feld_Kondensator} \end{figure}

问题如下图所示:

在此处输入图片描述

如您所见,我的整个标题都放在左侧,但事实不应该如此。

相关内容