[Tex/LaTex] Newline in adjustbox caption

adjustboxline-breaking

Is it possible to have a paragraph break or a newline in the caption of an adjustbox?

\\ \newline and \tabularnewline don't seem to work. Thanks

\documentclass{article}
\usepackage{adjustbox}

\begin{document}

\begin{adjustbox}{width=\textwidth,totalheight=\textheight,keepaspectratio,rotate=0,caption={blah \\ blah},float=table}
BLAH BLAH BLAH
    \end{adjustbox}

\end{document}

Best Answer

Load the caption package:

\documentclass{article}
\usepackage{caption}
\usepackage{adjustbox}

\begin{document}
\begin{figure}
\caption{abc\\abc}
\end{figure}

\begin{adjustbox}{width=\textwidth,totalheight=\textheight,keepaspectratio,rotate=0,
caption={blah \\ blah},float=table}
BLAH BLAH BLAH
\end{adjustbox}

\end{document}