LaTeX table guides for paper authors
Twelve practical guides for getting tables right in Overleaf: rules, headers, captions, long and wide tables, number alignment, footnotes, special characters, and checking a table you converted from a spreadsheet, a PDF or a screenshot. Each one has numbered steps, a reference table and answers to the questions authors ask most.
The LaTeX examples were tested with pdfLaTeX before they were published, and examples that end in an ellipsis are shortened from complete tables that compiled. Package versions and journal rules change, so check your template's author instructions before you submit.
Convert a table from a PDF or screenshot →Rules, headers and captions
How a journal-style table is put together.
booktabs vs hline
Why journals and templates favour booktabs, with a before and after snippet.
Grouped headers
Grouped headers with \multicolumn, \multirow and trimmed \cmidrule rules.
Caption position
Where \caption goes, what templates expect, spacing, and the \label order trap.
Journal table formats
Captions, rules and two-column width across four publishers.
Fit and page layout
Tables that are too wide, too long or in two columns.
longtable
Repeating headers across pages with longtable and xltabular.
Table too wide
resizebox, adjustbox, landscape and sidewaystable, and when each is right.
Two-column tables
table*, [!t] placement, widths and float order in IEEEtran-style templates.
Numbers, notes and characters
The cell-level details that break compiles or reviewers' patience.
Decimal alignment
S columns, table-format, signs and ± without misaligned decimals.
Table footnotes
tablenotes, tnote marks, symbols, and why plain footnotes disappear.
Bold best result
textbf, bfseries, siunitx detect-weight, a \best macro, ties and direction.
Special characters
Escaping %, &, _, $, # and friends, inline math, and pasted Unicode errors.
Getting tables in and checking them
From spreadsheets, PDFs and screenshots to a table you can trust.
Excel to LaTeX
Export paths from spreadsheets to LaTeX and the pitfalls on each.
Proofreading OCR tables
A checklist for digits, decimals, minus signs and columns in OCR'd tables.