I need to put a multi-line quote in a figure caption. I've put code together that does this correctly if I override several errors, but I'd like the document to compile without errors.
The code:
\begin{figure}
\begin{center}
\includegraphics[width = 6in]{myfigure.png}
\end{center}
\caption[Reproduced from foo.]{text.
\begin{quote}
Quoted text from reproduction
\end{quote}
No really this is important.}\label{mylabel}
\end{figure}
The error I get is:
./chap1.tex:166: LaTeX Error: Something's wrong--perhaps a missing \item.
Thanks for the help.
\centeringinstead of\begin{center}...\end{center}. – lockstep Mar 01 '13 at 16:12centerintroduces additional vertical space which you often don't want in this context. – David Carlisle Mar 01 '13 at 16:16\centeringadvice. – Sevenless Mar 01 '13 at 19:59