Regarding line breaks in captions: if you use the caption
package \\
works. In the optional argument you should protect it. Here's a demonstration example:
\documentclass{article}
\usepackage[font=small,labelfont=bf]{caption}
\begin{document}
\listoffigures
\bigskip
\begin{figure}[hb]
\centering Test
\caption[Short\protect\\text]{Test\\example}
\end{figure}
\end{document}
Because the caption
package provides a lot of features regarding justification and customization I would not work without it. But if you really wish to avoid this package, it can also be done using \parbox
. The optional positioning parameter t
might be useful:
\documentclass{article}
\begin{document}
\listoffigures
\bigskip
\begin{figure}[hb]
\centering Test
\caption[Short\protect\\text]{\parbox[t]{0.2\textwidth}{Just a Test\\example}}
\end{figure}
\end{document}