GeneralCaption and footnote

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jean88
Posts: 12
Joined: Sat Jan 09, 2010 10:52 pm

Caption and footnote

Post by jean88 »

I need to have a footnote in a caption.

I have something like this:

Code: Select all

\begin{table}[t]
	<cutted useless text>
	\caption{Foo\protect\footnotemark }
\end{table}
\footnotetext{Bar}
Table is displaced on page 8 and footnote on page 7. What causes this problem?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Caption and footnote

Post by localghost »

Footnotes in conjunction with floating objects are often problematic. The footnote will always appear on the page where it is declared even if the associated float is moved to the next page. This is caused by the mechanism of how TeX composes pages. Generally it is better to typeset figure (or table) notes by putting the figure contents into a minipage environment and then using the \footnote command as usual.

Code: Select all

\begin{table}[!ht]
  \caption{Foo}\label{tab:foo}
  \centering
  \begin{minipage}{<width>}
  % table contents
  \end{minipage}
\end{table}
The varwidth package might make this more flexible.


Best regards
Thorsten
jean88
Posts: 12
Joined: Sat Jan 09, 2010 10:52 pm

Re: Caption and footnote

Post by jean88 »

Thanks. I'll try it out. I found also difficulties with long footnotes, continued on the next page. Is there a way to change the maximum footnote length?
Post Reply