[Tex/LaTex] How to put two footnotes in the caption of a float

captionsfloatsfootnotes

This question Using \footnote in a figure's \caption already has some suggestions on how to get a footnote in a caption. None seem really satisfactory because it seems hard to get the footnote text on the same page as the footnote mark. Anyway, I still want to do something more complicated: put two footnotes in one caption.

Is there a better way to do this and get the right numbering than to play around with the footnote counter manually? Obviously using \footnotemark[] is not an option because this will lead to wrong numbering sooner or later.

To demonstrate the default behaviour:

caption

footnotes

The code used was this:

\documentclass[a5paper]{article}
\usepackage{fnpct}
\begin{document}
\begin{figure}
\caption[Caption title in LOF]{This is a footnote in a caption\footnotemark{} and another one\footnotemark.}
\end{figure}
\footnotetext{First footnote}
\footnotetext{Second footnote}
\end{document}

Best Answer

LaTeX supports footnotes in floating objects by environment minipage:

\documentclass{article}
\begin{document}
\listoffigures
\section{Hello World}
\begin{figure}
\begin{minipage}{\linewidth}
\caption[Caption title in LOF]{%
  Caption title%
  \footnote{First footnote}%
  \footnote{Second footnote}%
}
\end{minipage}
\end{figure}
\end{document}

Result