[texhax] footnotes in pictures, tables, etc.

Axel E. Retif axel.retif at mac.com
Wed Jun 27 22:06:23 CEST 2007


On 27 Jun, 2007, at 12:09, Uwe Lück wrote:


>> On  26 Jun, 2007, at 11:40, Charla Mustard-Foote wrote:
>> > I'm trying to insert footnotes inside a picture and so far it isn't
>> > working.  I've tried various combinations of \footnotemark and
>> > \footnote text, with [number] but the numbers aren't incrementing
>> > correctly AND the footnotes aren't showing up at the bottom
>> > of the page with the other footnotes.  I have text with footnotes
>> > before and after the picture so, I want them to just appear
>> > in the same list, with the next number in the sequence.
>
> At 11:30 27.06.07, Axel E. Retif wrote:
>
>> Maybe the manyfoot package (part of the ncctools collection) could
>> help you.
>
> No, definitely not.

According to Charla Mustard-Foote, manyfoot has worked for his  
purposes; but your macro below is, as usual, so ingeniously simple,  
that I'll keep it around as the jewel it is (hope one day I could do  
that!).

Best,

Axel

> [...]
>
> Here is workaround for the problem of more than one footnote
> "in a prison":
>
> \newcounter{save}
> \newcommand{\transferto}[2]{\setcounter{#2}{\value{#1}}}
> \newcommand{\stepfootnotetext}{\stepcounter{footnote}\footnotetext}
>
> Alpha\footnote{alpha}
> \transferto{footnote}{save}
> \begin{tabular}{c}
> A\footnotemark\\B\footnotemark
> \end{tabular}
> \transferto{save}{footnote}
> \stepfootnotetext{a}
> \stepfootnotetext{b}
> Omega\footnote{omega}
>
> I also have some private macros using labels to find the
> correct footnote number. And it appears to me that I found
> a much smarter package of this kind somewhere else.
> But right now it comes to my mind that I rather should
> generalize the hook thing -- but I must stop here.
>
> HTH -- Uwe.
>



More information about the texhax mailing list