1

I have an IEEEtran paper I am writing and I want to insert a table with footnotes that spans over the whole page width.

Normally to insert a table over the two columns I use the table* environment and everything works well, however, to inclue a footnote at the bottom of a table I use the threeparttable environment, which does not support the * "option" and so I cannot use it in this case.

I have searched online and could not find anyone with the same requirment as I am facing and therefore could not find a suitable solution.

Does anyone have a suggestions of how I could acomplish this?

Here is the MWE:

\documentclass{IEEEtran}
\usepackage{lipsum}
\usepackage{threeparttable}

\begin{document}
\lipsum[0-3]

\begin{threeparttable}
    \begin{tabular}{p{10cm}cc}
        a$^\dag$ & b & c \\
        a        & b & c \\
        a        & b & c \\
        a        & b & c \\
        a        & b & c \\
    \end{tabular}
    \begin{tablenotes}
    \item \textbf{\dag~This is a footnote}    
    \end{tablenotes}
\end{threeparttable}

\lipsum[0-5]
\end{document}

Edit: Just to clarify, what I was trying to do was to use threeparttable* instead of table*, which I now have learned (thanks to the answers below) that does not make sense. Instead I should have used threeparttable nested within a table* environment, which behaves as needed.

  • 1
    Welcome to TeX.SE. Are you sure that your claim that a threeparttable environment cannot be used inside a table* environment is correct? – Mico May 14 at 10:52
  • The line \item \textbf{\dag~This is a footnote} may generate an error. If you write \item[$\dag$] This is a footnote, you should be ok. – Mico May 14 at 10:57
  • 1
    @Mico That was not my claim, I was using threeparttable* (which does not exist) instead of threeparttable and not using table or table* at all. Thanks for your answer and for the clarification. – jpnadas May 15 at 10:48
  • Many thanks for providing this clarification. – Mico May 15 at 12:58
2

I don't see a reason for any incompatibility between table* and threeparttable in a two-column environment, as long as you use \tnote and \item in the tablenotes environment properly.

enter image description here

\documentclass{IEEEtran}
\usepackage{lipsum}
\usepackage{threeparttable}

\begin{document}

\begin{table*}
\centering
\begin{threeparttable}
    \caption{A 21-column table}
    \begin{tabular}{l*{20}{c}}
    \hline
        a\tnote{$\dag$} & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c \\
        a       & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c \\
        a       & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c \\
        a       & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c \\
        a       & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c & b & c \\
        \hline
    \end{tabular}
    \begin{tablenotes}
    \item[$\dag$] This is a footnote.
    \end{tablenotes}
\end{threeparttable}
\end{table*}

\lipsum[1-20] % filler text
\end{document}
  • Excellent, it worked perfectly. I was replacing the table environment by the threeparttable one, I didn't know I could use them both together. Thank you very much! – jpnadas May 14 at 12:38
  • @jpnadas - Longtable and table are incompatible, but threeparttable is more like a minipage with a caption and numbered footnotes. – John Kormylo May 15 at 3:45
  • @JohnKormylo gotcha.... thanks for the explanation, it can be a bit confusing if you come to think of it, cause I always viewed them both as just "tables", but it makes sense now that I know the difference... – jpnadas May 15 at 10:46
0

You have the strip environment, from the cuted package:

\documentclass{IEEEtran}
\usepackage{lipsum}
\usepackage{threeparttable}
\usepackage{cuted}

\begin{document}

\lipsum[0-3]
\begin{strip}
\begin{threeparttable}
    \begin{tabular}{p{10cm}cc}
        a$^\dag$ & b & c \\
        a & b & c \\
        a & b & c \\
        a & b & c \\
        a & b & c \\
    \end{tabular}
    \begin{tablenotes}
    \item \textbf{\dag~This is a footnote}
    \end{tablenotes}
\end{threeparttable}
\end{strip}

\lipsum[0-5]

\end{document} 

enter image description here

  • 1
    Thanks, this works for what I need. I would like to point out that using the table* also works, as per the answer from Mico. But this is also an alternative! – jpnadas May 14 at 12:40
  • The difference it that it is not a float (if you want caption, you have to use \captionof{table}{Some caption}. By default, table* is placed at the top of the next page. It can be placed at the bottom of the current page with package stfloats (same author as cuted) – Bernard May 14 at 18:47
  • Interesting, I will keep a note for that in case I need something like this in the future.. Thank you. – jpnadas May 15 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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