Footcites in captions #14

Open
opened this Issue Mar 1, 2012 · 1 comment

None yet

1 participant

Owner

using the footcite command within the caption environment can cause strange results.
this seems to be a common issue and a workaround should be documented

Owner

One possible workaround is to use the commands \footnotemark and \footnotetext.
\foonotetext would then need the according string, that \footcite usually creates as a param.
However, footnotes may still appear on different pages than the figure. Using float-barriers for the figure positioning might help.
Biblatex provides a command \footcitetext which works with footnotetext internally. Hence one can reference within captions like that:

\begin{figure}[H]
\begin{center}
\fbox{
\includegraphics[width=\textwidth]{img/placeholder1.jpg}
}
\captionof{figure}[LOF entry]{Caption text\footnotemark}
\label{fig:placeholder}
\end{center}
\end{figure}
\footcitetext[Cf.][123]{reference_key}