Graphics, Figures & Tables ⇒ Introduce footnotes imediately after one picture
Introduce footnotes imediately after one picture
Hi!
I pretend introduce a footnote imediately under one picture.
Anyone knows how to do it?
Thanks a lot in advance,
I pretend introduce a footnote imediately under one picture.
Anyone knows how to do it?
Thanks a lot in advance,
NEW: TikZ book now 40% off at Amazon.com for a short time.

Introduce footnotes imediately after one picture
Hi,
you could use a minipage environment inside the figure environment. The following simple example illustrates this approach:
I used \rule to simulate a figure; of course, you can use the standard \includegraphics command once the graphicx package has been loaded.
you could use a minipage environment inside the figure environment. The following simple example illustrates this approach:
Code: Select all
\documentclass{article}
\begin{document}
\begin{figure}[!ht]%
\begin{minipage}{\textwidth}
\centering
\rule{5cm}{2cm}%to simulate an actual figure
\caption{test figure with a footnote\protect\footnote{test footnote}}%
\label{fig:test}%
\end{minipage}
\end{figure}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Introduce footnotes imediately after one picture
Dear Gmedina,
It works. But the footnote appears in double.
The code I introduced is this:
It works. But the footnote appears in double.
The code I introduced is this:
Code: Select all
\begin{figure}
\begin{minipage}{\textwidth}
\centering
\includegraphics[width=0.60\textwidth]{D:/Faculdade/Tese/Imagens_Gráficos/Energia/Energia_1.JPG}
\caption{Distribution of final energy consumption over transport modes in 2004, Source: Eurostat 2006\footnote{EU-25 may be divided into EU-15(Belgium, Denmark, Germany, Greece, Spain, France, Ireland, Italy, Luxembourg, Netherlands, Austria, Portugal, Finland, Sweden, United Kingdom) and EU-10 (Cyprus,Czech Republic, Estonia, Hungary, Latvia, Lithuania, Malta, Poland, Slovakia, Slovenia).\\
EEA-30 is EU-25 plus Norway, Iceland, Bulgaria, Romania, Turkey}}
\label{fig:Energia_1}
\end{minipage}
\end{figure}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Introduce footnotes imediately after one picture
Clarify what you mean when saying "double". Usually the footnote mark is not to appear in the ToC. Therefor it is better to use the optional short form of the caption.tdcpina wrote:[...] But the footnote appears in double. [...]
Code: Select all
\caption[short version for ToC entry]{Long version with footnote\footnote{Footnote to a figure caption}}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Introduce footnotes imediately after one picture
Hi,
Do not forget the \protect command when using fragile commands (such as \footnote) inside \caption; in fact, the suggestion by localghost of using the optional argument of \caption is a better option.
Yes, I could reproduce this odd behaviour (you can safely suppress the change line command \\; it has no effect inside a footnote); anyway, you can solve the mentioned problem by loading the caption package:tdcpina wrote:...It works. But the footnote appears in double...
The code I introduced is this:Code: Select all
\begin{figure} \begin{minipage}{\textwidth} \centering \includegraphics[width=0.60\textwidth]{D:/Faculdade/Tese/Imagens_Gráficos/Energia/Energia_1.JPG} \caption{Distribution of final energy consumption over transport modes in 2004, Source: Eurostat 2006\footnote{EU-25 may be divided into EU-15(Belgium, Denmark, Germany, Greece, Spain, France, Ireland, Italy, Luxembourg, Netherlands, Austria, Portugal, Finland, Sweden, United Kingdom) and EU-10 (Cyprus,Czech Republic, Estonia, Hungary, Latvia, Lithuania, Malta, Poland, Slovakia, Slovenia).\\ EEA-30 is EU-25 plus Norway, Iceland, Bulgaria, Romania, Turkey}} \label{fig:Energia_1} \end{minipage} \end{figure}
Code: Select all
\documentclass{report}
\usepackage{caption}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{minipage}{\textwidth}
\centering
\includegraphics[width=0.60\textwidth]{D:/Faculdade/Tese/Imagens_Gráficos/Energia/Energia_1.JPG}
\caption{Distribution of final energy consumption over transport modes in 2004, Source: Eurostat 2006\protect\footnote{EU-25 may be divided into EU-15(Belgium, Denmark, Germany, Greece, Spain, France, Ireland, Italy, Luxembourg, Netherlands, Austria, Portugal, Finland, Sweden, United Kingdom) and EU-10 (Cyprus,Czech Republic, Estonia, Hungary, Latvia, Lithuania, Malta, Poland, Slovakia, Slovenia). EEA-30 is EU-25 plus Norway, Iceland, Bulgaria, Romania, Turkey}}
\label{fig:Energia_1}
\end{minipage}
\end{figure}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Introduce footnotes imediately after one picture
Hi!
Thank you! It really works I did the protection. But it worked well without it. I've read the explanation about protection but I can understand it very well, anyway I'll put always in fragil commands.
Without \\ I can't do the paragraph in the footnote. It worked in the footnote like in the "normal text".
Thank you! It really works I did the protection. But it worked well without it. I've read the explanation about protection but I can understand it very well, anyway I'll put always in fragil commands.
Without \\ I can't do the paragraph in the footnote. It worked in the footnote like in the "normal text".