6

I have a tabular in a floating table environment and want to place a footnote in that table, whereas the footnotetext should appear at the bottom of the page where the table is on. I tried the following:

  • \footnotemark inside the table and \footnotetext{...} after \end{table}
  • \tablefootnote with the tablefootnote package
  • Surround the table environment by \begin{savenotes} and \begin{savenotes} with the footnote package

All these solutions produced a footnotemark and corresponding text, however, none of the solutions placed the text of the footnote on the appropriate page.

EDIT: For smaller tables (e.g. only the first 4 rows in my MWN), the table appears beneath the footnote which seems even worse...

MWN with \footnotemark and \footnotetext{...}

\documentclass[12pt,a4paper,fleqn]{scrreprt}
\usepackage{booktabs}
\usepackage{amsmath}

\begin{document}

\chapter{A sample chapter}

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.   

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet,
\begin{table}
\centering
\begin{tabular}{l l} \toprule
column 1    &   column 2 \\ \midrule
main entry 1        & \\
\; sub  &   yes \\
\; sub2 &   yes \\
\; sub3&    (yes)\footnotemark \\
main entry 2        & \\
\; sub  &   yes \\
\; sub2 &   no  \\
\; sub3&    (yes)\\
main entry 3        & \\
\; sub  &   yes \\
\; sub2 &   yes \\
\; sub3&    (yes)\\
\bottomrule
\end{tabular}
\caption{A table with a footnotemark}
\end{table}
\footnotetext{Some footnote}

\end{document}

MWN with \tablefootnote:

\documentclass[12pt,a4paper,fleqn]{scrreprt}
\usepackage{booktabs}
\usepackage{tablefootnote}
\usepackage{amsmath}

\begin{document}

\chapter{A sample chapter}

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.   

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet,
\begin{table}
\centering
\begin{tabular}{l l} \toprule
column 1    &   column 2 \\ \midrule
main entry 1        & \\
\; sub  &   yes \\
\; sub2 &   yes \\
\; sub3&    (yes)\tablefootnote{Some footnote} \\
main entry 2        & \\
\; sub  &   yes \\
\; sub2 &   no  \\
\; sub3&    (yes)\\
main entry 3        & \\
\; sub  &   yes \\
\; sub2 &   yes \\
\; sub3&    (yes)\\
\bottomrule
\end{tabular}
\caption{A table with a footnotemark}
\end{table}

\end{document}

MWN with \begin{savenotes} and \end{savenotes}:

\documentclass[12pt,a4paper,fleqn]{scrreprt}
\usepackage{booktabs}
\usepackage{footnote}
\usepackage{amsmath}

\begin{document}

\chapter{A sample chapter}

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.   

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet,
\begin{savenotes}
\begin{table}
\centering
\begin{tabular}{l l} \toprule
column 1    &   column 2 \\ \midrule
main entry 1        & \\
\; sub  &   yes \\
\; sub2 &   yes \\
\; sub3&    (yes)\footnote{Some footnote} \\
main entry 2        & \\
\; sub  &   yes \\
\; sub2 &   no  \\
\; sub3&    (yes)\\
main entry 3        & \\
\; sub  &   yes \\
\; sub2 &   yes \\
\; sub3&    (yes)\\
\bottomrule
\end{tabular}
\caption{A table with a footnotemark}
\end{table}
\end{savenotes}

\end{document}
5
  • 2
    Generally footnotes has no place in tables. What you are probably looking for is table notes. Have a look at the threeparttable package
    – daleif
    Jun 1, 2014 at 12:23
  • It seems to me that with this package, I can only add notes directly underneath the table. What I want is a standard footnote at the bottom of the page. Or did I just not see an option for threeparttable?
    – Bazi
    Jun 1, 2014 at 14:45
  • there's a good summary of approaches to this problem in the uk tex faq Jun 1, 2014 at 15:02
  • You can try to remove the table-environment and only use the tabular-environment directly + \captionof from the capt-of package instead of \caption. With that you should be able to use footnotes inside the tabular - but that solutions doesn't work for footnotes inside the caption...
    – musicman
    Jun 1, 2014 at 16:13
  • 1
    @bazi as I mentioned, footnotes at the bottom of the page does not belong in tables. Notes for tables comes directly under the table. That is where the readers expect to find them
    – daleif
    Jun 1, 2014 at 16:57

1 Answer 1

5

This problem has no standard solution. Footnotes in floating environments in general belong inside the floating environment. Some ideas how to achieve this are:

  • enclose the inside of the table in minipage:

    \begin{table}
    \begin{minipage}
    \begin{tabular}{ll}\hrule
    A & B \\\hrule
    C\footnotemark & D\\\hrule
    \end{tabular}
    \footnotetext{This is a `C', you see?}
    \end{minipage}
    \caption{This is a table.}
    \end{table}
    
  • not let the table float at all, using \captionof from caption package

  • use threeparttable package

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .