Evidence-Centered LaTeX Tables
Execute this skill
Typical request: “把这张 LaTeX 表格排得紧凑但不能更改数值。”
Procedure
- State the comparison, unit and metric direction before touching formatting.
- Preserve every sourced value, uncertainty, citation and label; check groups, denominators and significance notation.
- Improve alignment, whitespace and caption readability; compile/inspect only if LaTeX tooling is available.
Deliver: Return valid table source or a precise patch, with a values-preserved and compilation-status note.
Evidence boundary: Formatting does not authorize rounding or changing statistics unless the user requests and verifies it.
Read PRINCIPLES.md and Figure Story. Use this guide for manuscript tables, not for inventing experimental results.
Section-specific editorial judgement
Editorial choice: A table should make the real comparison immediately visible, including meaningful adverse results and costs. Boldface/best-in-column formatting must follow the stated metric direction and actual values; don't hide unfavorable baselines. Prioritize grouping by question and fairness of evaluation before shrinking fonts. Check that captions independently explain conditions and provenance.
Consult the Editorial Playbook only when narrative focus, paragraph flow, Nature-style framing or defensive wording is relevant; keep scientific and source-preservation rules in PRINCIPLES.md higher priority.
Decision and failure test
- Preserve the mapping of each reported value to row, column, condition, metric and uncertainty. A table with the same numbers in swapped rows is not lossless.
- Do not invent significance markers or recompute statistics from rounded summary scores.
- Cite externally sourced models, benchmarks and datasets in readable names, caption or mapped notes where appropriate; use the user's LaTeX citation package and venue policy.
1. Identify the question answered by the table
State what the reader must compare (methods, groups, interventions, resource trade-offs, or uncertainty). Choose rows, columns, and panels to expose that contrast. Every column should serve a scientific purpose.
Treat a table as evidence, not a compressed database export. Explanatory background belongs in the body; essential metric definitions, denominator/population, uncertainty convention, and abbreviations belong in the caption or notes.
2. Preserve data and statistical semantics
Before and after reformatting, compare every dataset / model / group / metric / seed / value / unit mapping. A correct number in the wrong row is an error.
Distinguish mean from best-seed score, confidence interval from standard deviation, relative gain from percentage-point difference, and subgroup denominator from all-sample denominator. Never erase negative rows or selection rules to gain space.
For panels with different populations or protocols, state their separate scope and sample size. Shared headers are fine only when their meanings truly match across panels.
3. Typography and layout
- Begin with readable text sizes and conventional column alignment; prefer clear labels over many narrow wrapped columns.
- Use
booktabswhen already compatible with the host template; avoid excessive vertical rules. - Shorten repeated prose before shrinking fonts. Adjust spacing locally rather than modifying manuscript-wide typography.
- Use
l/c/rfor short data; use fixed-width or flexible-width columns when explanatory text actually needs wrapping. - If a table is still too wide, split scientifically distinct panels, rotate only when justified, or use an allowed wide-table environment.
- Do not impose a specific journal/conference table style or page limit.
4. Citation, reference, and caption discipline
Cite named external baselines where first explained and again when a nontrivial claim requires it. Place \label and \ref according to the host document's conventions. Do not assume a universal ban on citations or cross-references in captions/notes.
The caption should communicate what is compared, on what data/setting, with what metric and essential statistical interpretation. Decode specialized abbreviations locally because tables are often read independently.
5. Compile and inspect
Follow the project's real build command and document class. Do not assume pdflatex, latexmk, biber, or a particular page layout without checking. Inspect the actual compiled PDF for overflow, missing glyphs, float order, clipped columns, unresolved references, and the first-mention reading path.
No successful compilation or rendered inspection → label these checks not verified.
STEM table cases
Use tables for measurement conditions, instrument accuracy, units and uncertainties; solver convergence; benchmark comparisons; component studies; engineering operating conditions; or theorem assumptions. Tables are optional for theory-only research. Explicitly label panels from independent experimental run groups so readers do not infer an invalid paired comparison. Preserve scientific notation, units and provenance.
References and deliverables
- Table patterns and audit checklist.
- Illustrative table layout: placeholder symbols, not data.


