Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Footnotes in floats

537 views
Skip to first unread message

Antonio Loureiro

unread,
Dec 18, 1995, 3:00:00 AM12/18/95
to
Dear LaTeX experts:

I need to print footnotes in both figure and table environments
and would like to have them printed at the bottom of the page.
When I put the command \footnote{Blah blah blah ...} inside these
environments the footnotes are not printed. Then if I use the
commands \footnotemark and \footnotetext I got the footnotes in
the wrong pages.

How can this be done in LaTeX (any version)?

Thanks in advance.

Antonio

Peter M|ller Neergaard

unread,
Dec 19, 1995, 3:00:00 AM12/19/95
to
lour...@cs.ubc.ca (Antonio Loureiro) writes:

I cannot give you a precise answer concerning the problems with using,
\footnotemark and \footnotetext with tables. I have maked a couple
of test with no problems, so unless you give a more precise description of
your problem, ie. the part of you document, which causes trouble, I cannot
come any closer than saying, that it is probaply some of the same problems
as with floats.

Concerning the \footnote-command it may not be used inside a box (refer to
the LaTeX-book page 172 (section C.3.3)). This is due to the way footnotes
are handled.

When making a footnote (with \footnotetext --- actually \footnote uses
\footnotemark and \footnotetext to produce the text) the text is set up in a
box and appended to a list of footnote on the actually page. At the same
time the desired height of the actual page is reduced with the heiht of the
footnote. When the page is shipped out (when La(TeX) has set a paragraph
and the adding of this paragraph to the current page, makes the height of
the current page heigher than the desired height), the collected footnote
are added at the bottom of the page. Of course this procedure in praxis is
more complex, but the basic scheme should be OK.

The problem with floats are that they are handled the same way as a
\footnotetext. The float is set up in a box and added a the list of float,
that is not yet put in the output (for example because they are floated over
from previous pages). So if you put the \footnotetext after the float
(which seems the most reasonable), LaTeX might decide that it is possible to
put your float on the current page and make a pagebreak before it process
and reads your \footnotetext. Or it might be, that there is some huge float,
which it is not possible to insert on the current page, so it puts your
float behind this float. But then there might be space to insert the
footnote on the bottom.

So my answer is kind of negative, that it is not possible to make a scheme
for keeping the footnotes and the floats un the same page. The two
solutions, that I could suggest is:
1) Use some other environment than a float, if you only putting text in
the float, this should be possible, but you would have to manually
typeset the caption etc.
2) Try to reformat manually so it ends up right, but inserting additional
spaces or temporarily increase the pageheight (sorry, cannot remember
the command for this).

Regards

Peter


--
__ _
Peter Møller Neergaard / \-' ) ,,, No sin
Dept. of Computer Science | | ()|||||||[:::) No salvation
University of Copenhagen \__,-._) ''' - Calvin

David Carlisle

unread,
Dec 19, 1995, 3:00:00 AM12/19/95
to Antonio Loureiro

Dear LaTeX experts:

I need to print footnotes in both figure and table environments
and would like to have them printed at the bottom of the page.
When I put the command \footnote{Blah blah blah ...} inside these
environments the footnotes are not printed. Then if I use the
commands \footnotemark and \footnotetext I got the footnotes in
the wrong pages.

How can this be done in LaTeX (any version)?

Thanks in advance.

Antonio

LaTeX does not directly support this, what you can do is put
\footnotemark where you want the mark to appear in the float, and put
\footnotetext{.....} on the page where the float finally appears.
This works out OK if the float is a top float but if it is a `page
float' as would be forced by [p] then you have problems as you have
nowhere to put the \footnotetext command. It would be possible to have
a modified output routine that made it easier to footnote float pages
but....

David

Peter M|ller Neergaard

unread,
Dec 19, 1995, 3:00:00 AM12/19/95
to
lour...@cs.ubc.ca (Antonio Loureiro) writes:

>I need to print footnotes in both figure and table environments
>and would like to have them printed at the bottom of the page.
>When I put the command \footnote{Blah blah blah ...} inside these
>environments the footnotes are not printed. Then if I use the
>commands \footnotemark and \footnotetext I got the footnotes in
>the wrong pages.

>How can this be done in LaTeX (any version)?

I cannot give you a precise answer concerning the problems with using,

Regards

E-mail: tur...@diku.dk WWW: http://www.diku.dk/students/turtle/
--
__ _
Peter Møller Neergaard / \-' ) ,,, Uden synd
Datalogisk Institut, København | | ()|||||||[:::) Ingen frelse
E-mail: tur...@diku.dk \__,-._) ''' - Steen

Boris A. Veytsman

unread,
Dec 19, 1995, 3:00:00 AM12/19/95
to
In article <4b4ak4$c...@cascade.cs.ubc.ca>, lour...@cs.ubc.ca (Antonio Loureiro)
says:
>
>Dear LaTeX experts:

>
>I need to print footnotes in both figure and table environments
>and would like to have them printed at the bottom of the page.
>When I put the command \footnote{Blah blah blah ...} inside these
>environments the footnotes are not printed. Then if I use the
>commands \footnotemark and \footnotetext I got the footnotes in
>the wrong pages.
>

I would suggest putting your figure or table in a minipage

Good luck

-Boris

Boris A.

unread,
Dec 19, 1995, 3:00:00 AM12/19/95
to
Path: news.cais.net!news.magmacom.com!news.interlog.com!winternet.com!news.minn.net!skypoint.com!news.cyberstore.ca!van-bc!news.mindlink.net!agate!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!chi-news.cic.net!news.math.psu.edu!news.cac.psu.edu!psuvm!bav2
Organization: Penn State University
Date: Tue, 19 Dec 1995 15:24:04 EST
From: Boris A. Veytsman <BA...@psuvm.psu.edu>
Message-ID: <95353.15...@psuvm.psu.edu>
Newsgroups: comp.text.tex
Subject: Re: Footnotes in floats
References: <4b4ak4$c...@cascade.cs.ubc.ca>
Lines: 21
0 new messages