Footnotes in LaTeX tables with threeparttable
A plain \footnote inside a LaTeX table prints the mark but loses the note text. Use the threeparttable package instead: wrap the tabular in a threeparttable environment, put \tnote{a} in the cells, and list the notes in a tablenotes environment below the bottom rule. The notes then sit under the table, as wide as the table, with letters or symbols you choose.
Convert a table from a PDF or screenshot →By TableToLatex · · Examples tested with pdfLaTeX, TeX Live 2023, threeparttable 3.0
Why a plain footnote disappears
A \footnote typed inside a tabular does not work like one in running text. In a table float it prints the mark in the cell and loses the note text. The threeparttable package solves this by keeping the caption, the tabular and the notes together as three parts. You mark cells with \tnote and write the notes in a tablenotes environment under the bottom rule.
% preamble: \usepackage{booktabs} \usepackage{threeparttable}
\begin{table}[htbp]
\centering
\caption{Accuracy (\%) with two training budgets.}
\label{tab:notes}
\begin{threeparttable}
\begin{tabular}{lcc}
\toprule
Method & 1 epoch & 10 epochs \\
\midrule
Baseline\tnote{a} & 61.4 & 71.2 \\
Ours\tnote{b} & 66.0 & 74.8\tnote{*} \\
\bottomrule
\end{tabular}
\begin{tablenotes}[flushleft]
\footnotesize
\item[a] Reproduced with the authors' public code.
\item[b] Uses the same augmentation as the baseline.
\item[*] Significant at $p < 0.05$ against the baseline.
\end{tablenotes}
\end{threeparttable}
\end{table}The notes are set as wide as the table, so a narrow table gives short note lines. In a test, each one-sentence note wrapped onto a second line under a three-column table. The [para] option runs all notes together as one paragraph instead, which saves height at the cost of readability.
% in a cell:
Ours\tnote{b,c} % two marks on one cell
Baseline\tnote{\textdagger} % a symbol instead of a letter
% in tablenotes:
\item[] \emph{Note.} Accuracy (\%) on the validation split. % general note, no mark
\item[\textdagger] A note marked with a dagger.The caption goes above the table in most templates, as explained in caption position. Notes are ordinary text, so characters such as % and & in a note still need escaping; see special characters in tables. Tables that continue over several pages need different handling, covered in the longtable guide.
Add table footnotes in six steps
- 1
Load the package
Add \usepackage{threeparttable} after booktabs in the preamble.
- 2
Wrap the tabular
Inside the table float, after the caption and label, open \begin{threeparttable} before the tabular. Close it after the notes.
- 3
Mark the cells
Type \tnote{a} straight after the text it explains, with no space before it. Use b, c and so on for later cells.
- 4
List the notes
After \end{tabular}, open a tablenotes environment and write one \item[a] line for each mark, in the same order.
- 5
Set the style
Start the environment with \footnotesize, and add the [flushleft] or [para] option if the default layout does not suit.
- 6
Compare marks and notes
Check that every mark in the table has a note and every note has a mark. LaTeX does not warn about a mismatch.
Choosing a marker
| Marker | In the cell | In tablenotes | Typical use |
|---|---|---|---|
| Letter | \tnote{a} | \item[a] ... | A remark on one row or cell |
| Two marks | \tnote{b,c} | one \item for each | A cell with two remarks |
| Asterisk | \tnote{*} | \item[*] Significant at $p < 0.05$. | Significance levels |
| Dagger | \tnote{\textdagger} | \item[\textdagger] ... | When letters could be mistaken for data |
| General note | none | \item[] \emph{Note.} ... | Source or definitions for the whole table |
What goes wrong
- A mark with no note. The plain
\footnoteinside a float shows a superscript number and nothing else. Switch to\tnote. - Undefined control sequence on \tnote. The package is not loaded; add
\usepackage{threeparttable}. - Marks that do not match. A cell says
band the list saysc. Nothing warns you, so compare them by eye. - Narrow, ragged notes. They wrap to the table width. Try
[para], shorter notes, or a smaller font. - Notes inside the tabular. The tablenotes environment goes after
\end{tabular}, not inside it. - Letters out of order. Marks are typed by hand, so renumbering after a late edit is your job.
How TableToLatex helps
Tables in PDFs often carry notes beneath them and superscript marks inside cells. TableToLatex writes the table itself as a booktabs tabular, so copy the note lines from your source into a tablenotes environment, and check any cell that carried a mark, because the mark may arrive as a plain character beside the value. Upload the page with PDF to LaTeX tables. The table tool is free and runs in your browser. Paste a tab-separated range from a spreadsheet. See pricing.
Questions about table footnotes
Why does my footnote not appear under the table?+
A \footnote inside a tabular in a table float prints its mark but the note text is lost. In a test the cell showed the number 1 and nothing appeared at the page foot. Use threeparttable, or put the table in a minipage.
How do I add a footnote to a LaTeX table?+
Wrap the tabular in a threeparttable environment, mark the cell with \tnote{a}, and list the notes in a tablenotes environment after the tabular, one \item[a] per mark.
Can I use symbols instead of letters?+
Yes. The mark is whatever you type in the braces, so \tnote{\textdagger} with \item[\textdagger] works, as does $\ddagger$ in math mode. Keep the same symbol in the cell and in the list.
How do I write a general note with no marker?+
Start the item with empty brackets: \item[] \emph{Note.} Text of the note. It prints at the left of the notes block without a mark.
Does threeparttable work with longtable?+
Not directly. Its companion package threeparttablex provides ThreePartTable, TableNotes and \insertTableNotes for longtable, and a test with it compiled. Notes still wrap to the table's width.
Can I use a minipage instead of threeparttable?+
Yes. Put the tabular inside a minipage inside the table float, and a \footnote prints below the minipage with a letter. You lose the control over note width and markers that tablenotes gives you.
Does \tnote work in siunitx S columns?+
In a test with siunitx 3.3, a cell written as 74.8\tnote{*} in an S column compiled and printed the asterisk. If an older version complains, wrap the cell in braces.
Keep reading
- Caption position
Where \caption goes, what templates expect, spacing, and the \label order trap.
- Special characters
Escaping %, &, _, $, # and friends, inline math, and pasted Unicode errors.
- longtable
Repeating headers across pages with longtable and xltabular.
Have a table in a spreadsheet? Paste it into the table tool, or see all LaTeX table guides.