# footnote, hyperref, tabular

I have many tables with footnotes inside and I need hyperref in my document. Now, the problem is that footnote in my tables does not point to the notes at the end of the page. It points to the first page or doesn't print at all. How I do to correct that ? Thanks for your help.

\documentclass[12pt]{book}
\usepackage{geometry}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{hyperref}
\usepackage{colortbl,hhline} % au lieu de cline
\usepackage{footnote}
\hypersetup{pdfstartview={XYZ null null 0.95}}

\hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue}

\begin{document}
Titre
\newpage
\begin{savenotes}
\begin{table}[h!]
\centering
\begin{tabular}{|>{\raggedright\arraybackslash}m{7cm}|>{\raggedright\arraybackslash}m{8cm}|}
\hline
un\footnote{note1}&deux\footnote{note2}\\
un\footnote{note3}&deux\footnote{note4}\\
\hline
\end{tabular}
\caption{Première table}
\end{table}%
\end{savenotes}

\end{document}

-

## 1 Answer

You can solve the problem by these three steps:

1. Add \usepackage{tablefootnote} after your last \hypersetup{...} command, see http://www.ctan.org/pkg/tablefootnote.
2. Replace the \footnote commands in the table with \tablefootnote commands.
3. Remove the \begin{savenotes} and \end{savenotes} before/after the table.
-
 ...and please make sure to have the current version: 2012/07/29 v1.0h of the tablefootnote package. – Stephen Oct 24 '12 at 20:01 tablefootnote package does not address the optional argument of \footnote command: \tablefootnote[2]{text} – Vafa Oct 25 '12 at 0:40 @Vafa: Yes, that is true, but there are no optional arguments in Nicolas' MWE, thus I assumed that there was no support needed. – Stephen Oct 25 '12 at 17:44