Latex: add figure to caption
I would like to know how I can add a figure to the caption of a figure. I want to keep the Figure number prefix.
I'm doing the following:
\begin{figure*}[!ht]
\centerline{\includegraphics{results.pdf}}
\caption{Caption, \includegraphics{arrow.pdf} caption.}
\label{fig:01}
\end{figure*}
But latex does not allow \includegraphics
in the开发者_运维技巧 caption.
Thanks for your help.
Cheers, ukrania
I just found the solution. It is necessary to use the \protect
statement.
Like the following example:
\begin{figure*}[!ht]
\centerline{\includegraphics{results.pdf}}
\caption{Caption, \protect\includegraphics{arrow.pdf} caption.}
\label{fig:01}
\end{figure*}
Hope it helps other people with the same problem.
Cheers, ukrania
精彩评论