#StackBounty: #floats #equations #pdftex #captions #footnotes Multiple Footnotes in the same caption/figure/table/equation with hyperref

Bounty: 50

Multiple Footnotes in the same caption/figure/table/equation and using hyperref

This question is very similar on Multiple Footnotes in the same caption/figure/table/equation and using hyperref
Since I want to award a bounty I specify the problem here more clearly with an example which needs to be fixed to get the bounty, without any error and without any warnings.

% !TeX TS-program = pdflatex
% !TeX encoding = UTF-8
% !TeX spellcheck = en_US
% !BIB TS-program = bibtex
%LaTeX=>PDF
documentclass[a4paper]{report}
usepackage{lipsum}  %enables lipsum
renewcommand{baselinestretch}{1.24}
usepackage[english]{babel} %enables lipsum
usepackage{pdflscape}     % enables begin{landscape}...end{landscape}
usepackage{tablefootnote}
usepackage{hyperref}      % enables href{}{} and url
begin{document}

%Problem A1: Multiple footnotes in figurcaption
    begin{figure}[htb]
        caption[123]{Afootnote{label{first}some footnote}Btablefootnote{4}
            Xfootnotemark{} Yfootnotemark{} Zfootnotemark{}}
    end{figure}
    addtocounter{footnote}{-3} %3=n
    stepcounter{footnote}footnotetext{a}
    stepcounter{footnote}footnotetext{b}
    stepcounter{footnote}footnotetext{c}

%Problem A2: Multiple footnotes in tablecaption
 begin{table}[htb]
    caption[123]{Afootnote{label{table}some footnote}Btablefootnote{4}
        Xfootnotemark{} Yfootnotemark{} Zfootnotemark{}}
    begin{tabular}{p{hsize}}
        some table
    end{tabular}
 end{table}
 addtocounter{footnote}{-3} %3=n
 stepcounter{footnote}footnotetext{a}
 stepcounter{footnote}footnotetext{b}
 stepcounter{footnote}footnotetext{c}

%Problem A3: Multiple footnotes in euqation
 begin{eqnarray}
  A
  &stackrel{footnotemark}{=}&
  Bcr
  &stackrel{footnotemark}{=}&
  C
 end{eqnarray}

%Problem B: (not working Workaround for A2): multiple footnotes in a table, with workaround tablefoote creates footnote on different page
 begin{landscape}
     %some previous pages with landscape
     clearpage
     begin{table}[htb]

        begin{tabular}{p{hsize}}
            lipsum[1-3]footnote{test0}tablefootnote{test1}footnote{test2}
        end{tabular}

     end{table}clearpage
     %further pages with landscape
 end{landscape}

end{document}

Problem A1,A2,A3 are the same Problem with hyperrefencing footnotes once for figure, once table and once for equation. Problem B might be suggested as a Workaround with tablefootnote ( table: footnote appears on previous page ), but it shows an example where the tablefootnote does not work.

Following requirements, for been awarded with a bounty (also I’m interested in other solutions)

  • Since it should work on a different computer, changing the binary of LaTeX is not allowed.
  • It should to be compiled with pdflatex.
  • It has to use hyperref, and the footnotemarks should link to the
    footnotetext.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.