I'm trying to put a block quote in a caption like so,
My MCVE creates the correct formatting, but raises an error on line 23
LaTeX Error: Something's wrong--perhaps a missing \item.
Here's my MCVE
\documentclass{article}
%Packages for example image and text
\usepackage{lipsum}
\usepackage{mwe}
\usepackage{subfig}
\usepackage{caption}
\begin{document}
\begin{figure}
\centering
\subfloat[Image A]{
\includegraphics[width=0.4\textwidth]{example-image-a}
}
\subfloat[Image B]{
\includegraphics[width=0.4\textwidth]{example-image-b}
}
\caption{ A quote follows this text:
\begin{quote}
\lipsum[3]
\end{quote}
Insightful and important stuff about the figure.}
\label{mylabel}
\end{figure}
\end{document}
I tried the solution from this question: Block quote in figure caption but the subfloat captions become aligned left.
I need to use subfig or subfigure because my journal template is not compatible with subcaption
How can I keep the subfloat captions centered?



floatrowpackage, ans itssubfloatrowenvironment? – Bernard Jun 10 '21 at 21:50