Graphics, Figures & TablesSideways table - normal footnotes

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
RikRaccoon
Posts: 2
Joined: Sat Mar 05, 2011 12:29 am

Sideways table - normal footnotes

Post by RikRaccoon »

Hello,
I have a sidewaystable using the rotating package and I'd like to add a footnote to the table. For various space-related reasons, I'd like the footnote to be at the bottom of the table, not the side. Is this possible?

Example:

Code: Select all

\documentclass[a4paper,12pt]{article}
\usepackage{rotating}
\begin{document} 
\begin{sidewaystable}[hbt]
\begin{tabular}[c]{c|ccc}
\hline
A & B & C & D \\
E & F & G & I \footnote{I don't like H} \\
\hline
\end{tabular}
\end{sidewaystable}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Sideways table - normal footnotes

Post by localghost »

What you want to do is typographical nonsense. With everything that you do you should keep the reader in mind and what he would think when looking at your document. Furthermore tables do not have footnotes, but table notes. You can add some notes to your table by the threeparttable package.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{rotating}
\usepackage{booktabs,threeparttable}

\begin{document}
  \begin{sidewaystable}
    \centering
    \begin{threeparttable}
      \caption{A table with table notes}\label{tab:tablenotes}
      \begin{tabular}{*5{c}}\toprule
        Table Head & Table Head & Table Head & Table Head & Table Head \\ \midrule
        Some Values\tnote{1} & Some Values & Some Values & Some Values & Some Values \\
        Some Values & Some Values & Some Values & Some Values & Some Values\tnote{2} \\
        Some Values & Some Values & Some Values & Some Values & Some Values \\
        Some Values & Some Values & Some Values\tnote{3} & Some Values & Some Values \\
        Some Values & Some Values & Some Values & Some Values & Some Values \\ \bottomrule
      \end{tabular}
      \begin{tablenotes}
        \footnotesize
        \item[1] First table note
        \item[2] Second table note
        \item[3] Third table note
      \end{tablenotes}
    \end{threeparttable}
  \end{sidewaystable}
\end{document}
Refer to the manuals of the involved packages to learn what they are for.


Best regards and welcome to the board
Thorsten
Post Reply