Here's the code:
\documentclass[12pt,letterpaper]{article}
\usepackage{array}
\newcommand{\fntxt}[1]{\footnotetext{#1}}
\newcommand{\fnstep}{\stepcounter{footnote}}
\newcommand{\fnmark}{\footnotemark}
\usepackage{hyperref}
\begin{document}
\begin{tabular}{| c | c |}
\hline
Test1\fnmark & Test2\fnmark \\ \hline
\end{tabular}
\addtocounter{footnote}{-1}
\fntxt{Footnote 1}
\fnstep
\fntxt{Footnote 2}
\end{document}
I pdflatex it twice. The problem is: (1) when I click on the first footnote, I'm "transferred" to the same page, not pointed to the first footnote text; (2) when I click on the second, I'm correctly pointed to the second footnote text.
I've also tried to add more than two footnotes in the tabular. It turns out that only the last reference is working.
What's the reason behind this? How can one fix it?
Thanks a lot.
Text\footnote{Footnote one}before\makeatletter. The table will float to the top of the page, but the footnote numbers will not be adapted. (Thetablefootnotepackage used in my answer has got the same problem.) Any idea how to solve that? (Except moving the table in the source code before theText\footnote{Footnote one}or preventing the floating.) – Stephen Nov 30 '11 at 18:46minipagesor\fbox{...}. I say this because you are an expert in (La)TeX programming. – skpblack Jul 17 '14 at 02:54