On page 125 in scrguien.pdf
, the two lower captions have a line break after the label. How can I do the same for my captions? Is that even possible with built-in KOMA options? Looked for a good 15 minutes now and so far, no luck. :/
Picture of Markus's output, what I would like to have as well
My MWE
\documentclass[
12pt,
a4paper
]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
%% built-in KOMA caption specifications
\setcapmargin{1cm}
\setkomafont{captionlabel}{\sffamily}
\begin{document}
\begin{table}
\centering
AAA
\caption{Test.}
\end{table}
\begin{center}
BBB
\captionof{table}{Some more words 12. Some more words 12. Some more words 12. Some more words 12. Some more words 12. Some more words 12.}
\end{center}
\end{document}
Best Answer
Use
\setcapindent*
; note the difference when the argument is positive or negative. I used the command in thecenter
environment, but of course you should make a global decision in the preamble.