I try to put a url as a reference in a caption of a figure. But it seem to give all kinds of errors like:
! Argument of \@caption has an extra }.
! Paragraph ended before \contentsline was complete.
Is there a way to make this work?
\begin{figure}[]
\centering
\includegraphics[width=0.65\textwidth]{image}
\caption{
\footnote{\url{test.com}}
}
\label{fig:label1}
\end{figure}
Best Answer
You can use combination of
footnotemark
andfootnotetext
. Here is MWE: