DEV Community

Cover image for How to Add a Caption to a Table (And Why It Matters for Exports)
Olayiwola Akinnagbe
Olayiwola Akinnagbe

Posted on • Originally published at tablesmit.com

How to Add a Caption to a Table (And Why It Matters for Exports)

A table caption is a small thing that makes a large difference in
professional documents and academic papers. In a PDF, the caption
sits above or below the table and tells the reader what they are
looking at without requiring them to read the surrounding text. In
LaTeX, the caption maps to the \caption{} command inside the table
environment. In Excel, it becomes the sheet title.

Most table builders treat the caption as an afterthought: a text
field that appears in the visual preview but disappears in the export.

In Tablesmit, the caption field is a first-class part of the table.
Whatever you type in the caption field carries through to every
export format. In the PDF it appears above the table. In the LaTeX
export it maps to \caption{}. In the PNG export it appears below
the table image.

This matters particularly for researchers submitting to journals.
IEEE, ACM, and most other venues require numbered table captions in
a specific format. Building the caption into the table from the start
means you do not have to add it manually in LaTeX after export.

In Tablesmit, the caption field is in the right sidebar above the
export panel. Type your caption there and it will appear in every
format you export to.

Free, no account, MIT licensed. tablesmit.com


This post originally appeared on the Tablesmit Blog at tablesmit.com/blog/how-to-add-caption-to-table. Tablesmit is a free, open source table builder. Export to PDF, Excel, LaTeX, CSV, PNG. No account required. Try it at tablesmit.com.

Top comments (0)