I want to write a set of equations in a caption of a figure. I implemented the answer of this question but it did not work out. The error I got is:
! Argument of \Hy@tempa has an extra }.
For example I want to write:
\begin{figure}
\includegraphics[scale=1]{test.pdf}
\caption{\leavevmode\\\begin{minipage}{\linewidth}
\begin{align}
a &= b \\ c &= d
\end{align}
\end{minipage}
}
\end{figure}
How can I do this? Thanks!
EDIT
I want to write a text, and then write the equations. For example:
The equations are:
a = b
c = d
\begin{eqnarray*}
so as not to number the equations.eqnarray
!