::
Salve. Ho alcuni problemi con il comando \caption all’interno delle figure.
Io ho scritto
`
\begin{figure}[htb]
\centering
\includegraphics{standard}
\caption{\begin{align}
r_1&=x_5(x_3 x_1 x^{-1}_2 x^{-1}_4 x_2 x^{-1}_1)x^{-1}_5&
r_2&=x_3 x_1 x_4 x^{-1}_1 x^{-1}_3 x^{-1}_5\\
r_3&=x_2 x_5 x^{-1}_2 x_3 x^{-1}_1 x^{-1}_3&
r_4&=x_5 x_1 x^{-1}_5 x^{-1}_2\\
r_5&= x_5 x_3 x_1 (x^{-1}_4 x^{-1}_3 x_4 x_2)x^{-1}_1 x^{-1}_3 x^{-1}_5
\end{align}}
\label{fig:305}
\end{figure}
`
e per quel che ne so dovrebbe funzionare. Tuttavia non funziona e mi da questi errori:
`
! Argument of \@caption has an extra }.
\par
l.127 }
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{…}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
Runaway argument?
\@captype {\def \reserved@a *{\@begnamedgroup }\reserved@a }\def \reserved@b \E
TC.
! Paragraph ended before \@caption was complete.
\par
l.127 }
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
! Missing \endgroup inserted.
\endgroup
`
(si ripetevano più o meno uguali. Non li ho riportati tutti)
Sapete dirmi perchè? Uso TexMakerX
Grazie Davide.