LaTeX: Footnotes in Captions – on the right page
And there it was again: A moment of „Why can’t LaTeX simply do what I want it to?“.
I have figures which I cite. As they are licensed under CC BY 2.5, I thought of placing the reference as a footnote to the respective figure – which did not work as expected:
\begin{center}
\includegraphics[scale=0.75]{images/the_cited.png}
\caption[The LOF caption]{Lorem ipsum. \tiny{This image is taken from somewhere and licensed under Creative Commons Attribution 2.5 license\footnote{Source: \url{http://www.example.com/the_image.png}}}}
\label{fig:cited_img}
\end{center}
\end{figure}
Finally, how it worked out was using the afterpage
package as suggested here:
\begin{figure}
\begin{center}
\includegraphics[scale=0.75]{images/the_cited.png}
\caption[The LOF caption]{Lorem ipsum. \tiny{This image is taken from somewhere and licensed under Creative Commons Attribution 2.5 license\footnotemark}}
\label{fig:cited_img}
\end{center}
\end{figure}
\footnotetext{Source: \url{http://www.example.com/the_image.png}
}
See also here.
The problem without using afterpage is that you must adjust the placing of \footnotetext to the page where the figure is put.
Finally somebody with the correct answer!!!!
Thanks a lot
Thank u very much..This is the only perfectly working answer, after spending 2 hours on this…
Hi. Also, it would be better, if you could tell about the footnote label, in this case
I don’t understand. What do you mean by footnote label?
Danke! Super Lösung, die wirklich nicht leicht zu finden war.
Sorry buddy, but this is really bad advice. The footnote belongs to the picture, so it should stay with the picture, i.e. within the figure box, below the caption. Using footnotes for graphics is bad style.
You approach on the other hand kills the float mechanism and you might just as well leave out the figure-environment.
btw, center-environment in figures is bad style as well. Use \centering instead.
This is a only solution whith works.
It works … except that it skips the figure to the next page. Even if there is room on the current page. Even with figure[h], figure, or figure[ht].