字幕外觀

字幕外觀

每當我編寫佔據多行的圖形或表格的標題時,它就會出現在文件中,例如

Figure 6.2: Polarization curves at 750C for 3P_{CO}=P_{H_{2}} at the
            initial water concentrations of 3.2, 6.4, 9.6, 15, 20 and 25%.

我希望它看起來像

Figure 6.2: Polarization curves at 750C for 3P_{CO}=P_{H_{2}} at the
initial water concentrations of 3.2, 6.4, 9.6, 15, 20 and 25%.

我該怎麼辦?

謝謝,

拉蒙

答案1

您描述的行為是 KOMA 類別中的預設行為;您可以透過設定來更改此設定\setcapindent0pt獲得所需的結果:

\documentclass{scrartcl}

\setcapindent{0pt}

\begin{document}

\begin{figure}
\centering
A
\caption{Test figure with some addtional text spanning more than one line just for the example and some more text}
\end{figure}

\begin{table}
\centering
B
\caption{Test table with some addtional text spanning more than one line just for the example and some more text}
\end{table}

\end{document}

在此輸入影像描述

相關內容