I want to introduce \newline after the figure label instead of :. I am aware that caption package does this via \captionsetup. However, I would like to do it without it.
I read from the memoir class manual (page no - 214) about the trick of declaring an extra argument for \fnum@figure and not using it, which gobbles the undesired colon from \@makecaption. Now, for memoir class I can introduce \newline instead of : as the label separator. It works.
Original caption:

Modified in Memoir class:

This trick also works for scrreprt. However, for scrreprt, : disappears but \newline is not introduced. I have also tried \\, \\* and \vspace{\baselineskip}. None of them work.
Modified caption without ":" but no \newline

Introducing \newline at the start of the \caption also doesn't work.
I think that I am making some rookie mistake here. I have read that most macros do not distinguish between spaces and \newlines. Is this the reason why this won't work?
Please let me know a workaround.
%\documentclass{memoir}
\documentclass{scrreprt}
%Memoir manual page no - 214
%Note the extra unused argument.
\makeatletter
\renewcommand{\fnum@figure}[1]{\textsc{\figurename~\thefigure} \newline \sffamily}
\makeatother
%
\begin{document}
\begin{figure}
\centering
\rule{3cm}{2cm}
\caption{A Caption}
%\caption{\newline A Caption}
\end{figure}
\end{document}

\mboxso the width can be measured and like all LR boxes or tablelentries they are then one-line. In any case you should not be putting explict line breaks into the caption argument but rather controlling the caption style if that is what you want. As you say caption package does this for the standard classes, but memoir and scrrprt probably have their own caption style setup commands which should be used (not really familiar with either) – David Carlisle Jan 10 at 17:18\@makecaptionwith a two line layout but harder to fit in with all the other features those classes may add like automatic caption positioning, continuation captions etc, so it depends a bit what you want to learn. will post an example... – David Carlisle Jan 10 at 17:33\@makecaptionfrom report/scrreprt classes, then redefined it with\newlineinstead of:. It doesn't work. But if:is replaced by--, it does. – devendra Jan 10 at 17:38\mbox{a\newline b}– David Carlisle Jan 10 at 17:39