Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass{article}

\usepackage{hyperref}
\usepackage{tabularx}
\usepackage{footnote}

\makesavenoteenv{table}

\begin{document}

\begin{table}[htbp]
 \begin{tabularx}{\textwidth}{XX}
  \hline
  foo\footnote{fuz} & bar
  \hline
 \end{tabularx}

\end{table}


\end{document}

I like the formating of the tabularx environemnt. However, it does not allow for the choice of positioning of the table (to the best of my knowledge). My understaning is that tabularx produces the footnote (which I tested), but on the other hand, table traps them, therefore I sought to \usepackage{footnote} and \makesavenoteenv{table}. What is wrong with my reasoning.

One more caveat: I need to hyperref the \footnotes

EDIT: The positioing of the footmark is unimporant. And preferably no hacks like \footnotemark

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

It isn't at all clear from your question where you want the footnote text to appear, but I think you want it within the float below the tabularx. The standard LaTeX markup to get in-float footnotes is

\begin{table}
\begin{minipage}{\textwidth}
....
\end{minipage}
\end{table}

minipage displays all footnotes in scope at the end of the environment.

share|improve this answer
    
sorry I do not know what you mean. What do you want to position, and what does not allow that? –  David Carlisle Feb 25 '13 at 11:52
    
@aiao why do you think that the optional argument of table is affected by the content of the table environment? It is not. You can use [htp] with the code in this answer. –  David Carlisle Feb 25 '13 at 11:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.