我目前正在使用经典论文。在图表中,标题具有默认缩进,即长标题“悬挂”在文本的第一行下方。但我希望将普通段落文本作为标题。所以在文件中classicthesis-config.tex
我更改\captionsetup{format=hang,font=small}
为\captionsetup{format=default,font=small}
。但我仍然得到悬挂的标题。我还应该修改什么?这是一个示例代码。
\documentclass[ oneside,paper=a4,fontsize=12pt
]{scrreprt}
\input{classicthesis-config}
\begin{document}
\begin{figure}
\includegraphics[width=.45\linewidth]{example_4}
\caption[Tu duo titulo debitas latente]{A view of differnet objects in the world. The first flower indiacates its orientation about the sky A view of the obejects .}\label{fig:example}
\end{figure}
\end{document}
答案1
已设置的加载文件classicthesis-config.tex
包。您可以更改此设置,并在之后放置 新文件包。例如:caption
\captionsetup{font=small}
\captionsetup{...}
classicthesis-config.tex
\captionsetup{format=plain, font=small, labelfont=bf}
将给出类似以下格式
对于其他所需的标题布局,请参阅caption
包的文档。完整示例:
\documentclass[oneside, paper=a4, fontsize=12pt]{scrreprt}
\input{classicthesis-config}
\captionsetup{format=plain, font=small, labelfont=bf}
\begin{document}
\begin{figure}
\includegraphics[width=.45\linewidth]{example-image-a}
\caption[Tu duo titulo debitas latente]{A view of differnet objects in the world. The first flower indiacates its orientation about the sky A view of the obejects .}\label{fig:example}
\end{figure}
\end{document}