6

I'm wondering if there is a way to write a footnote inside a caption and to stick the footnote in the same page of caption.

In my code I'm using footnotemark and footnotetext, but the footnote occurs two pages before the page in which there is the figure with caption.

\documentclass{article}
\usepackage{graphicx}

\begin{document}
    \begin{figure}[h]
    \centering
    \includegraphics[scale=0.3]{fig16}
    \caption[Caption for LOF]{Confronto con altri biosensori elettrochimici\footnotemark .}
    \end{figure}

    \footnotetext{Per [29], [39], [40], [2], [5], [41], [42], [15] si veda\cite{sun2016multi}.}

\end{document}

EDIT: the figure is the following:

enter image description here

Thank you in advance.

  • Hello @IAtExFaN, before the figure there are text. – Gennaro Arguzzi Sep 24 '18 at 09:33
  • your mwe is not compilable – lAtExFaN Sep 24 '18 at 09:33
  • @lAtExFaN you have to insert a figure. See the Herbert reply please: https://tex.stackexchange.com/questions/10181/using-footnote-in-a-figures-caption – Gennaro Arguzzi Sep 24 '18 at 09:33
  • you should provide a complete mwe. I cannot reproduce your mentioned result: \documentclass{article} \usepackage{mwe} %or load ’graphicx’ and ’blindtext’ manually \begin{document} \Blindtext \begin{figure}[h] \centering \includegraphics[scale=0.3]{example-image-a} \caption[Foo]{Bar\footnotemark .} \end{figure} \footnotetext{Foo Bar} \Blindtext \end{document} – lAtExFaN Sep 24 '18 at 09:38
  • @lAtExFaN can you tell me how can I post more than 10 pages of code please? The only way to show the problem is to post the whole code. – Gennaro Arguzzi Sep 24 '18 at 09:40
  • there is a difference between a complete MWE and a complete document (for details see: https://www.ctan.org/pkg/mwe) – lAtExFaN Sep 24 '18 at 09:40
  • Ok, i'm using clasicthesis template so the code is spread over several pages. @lAtExFaN if you want I can send you the file. – Gennaro Arguzzi Sep 24 '18 at 09:43
  • so I think, I cannot help you - sorry and good luck – lAtExFaN Sep 24 '18 at 09:44
  • if the footnote appears "two pages before" then I suppose that your image is too big. Then it will go to the end of the chapter. However, instead of scale=0.3 use width=\linewidth or height=0.9\textheight if the height has to be scaled. –  Sep 24 '18 at 11:05
  • Hello @Herbert, see the edit please. – Gennaro Arguzzi Sep 24 '18 at 12:08
  • Your table is too wide, use width=\linewidth –  Sep 24 '18 at 15:22

1 Answers1

2

To solve the problem it is necessary to put the following code below the text which is in the same page of the figure (in this case below the sencente which finished with the word "luogo"):

\footnotetext{Per [29], [39], [40], [2], [5], [41], [42], [15] si veda\cite{sun2016multi}.}

enter image description here