Publication-grade evaluation and benchmark tables for LaTeX (v0.1.0, 2026-12-02).
benchtable is a self-contained LaTeX3 (expl3) package built on booktabs, xcolor,
colortbl, and array for typesetting empirical benchmark tables in machine learning,
autonomous agent, systems, and security papers. It requires no --shell-escape, no Lua
runtime, and no TikZ/PGF dependency, and compiles cleanly with pdflatex, lualatex,
and xelatex (including arXiv's TeX Live environment).
- Structured
benchtableenvironment with automaticbooktabsframing, baseline (\bmbaseline) and featured-row (\bmhighlight) shading, and plain or shaded section dividers (\bmgroup,\bmgroup*). - Directional metric headers (
\bmmetric) with higher-is-better (up) and lower-is-better (down) arrows and stacked unit subtitles. - Automatic multi-seed aggregation (
\bmseeds) computing arithmetic mean, Bessel-corrected sample (or population) standard deviation, and min-max range directly inside TeX usingexpl3floating-point arithmetic, plus\bmscoreand asymmetric confidence intervals (\bmci). - Polarity-aware deltas and comparisons (
\bmdelta,\bmcompare) supporting difference (diff), relative percent (pct), and multiplicative factor (ratio) modes for both higher-is-better and lower-is-better metrics. - Pure-vector inline score bars (
\bmbar), rank pills (\bmrank), status badges (\bmbadge), cost (\bmcost), and speedup (\bmspeedup) helpers. - Five built-in themes:
color(default),okabe(Okabe-Ito colorblind-safe),ocean, and grayscalearxiv/mono.
\usepackage{benchtable}
\begin{benchtable}{lrrrr}
\textbf{System} &
\bmmetric[up,unit=\%]{Pass@1} &
\bmmetric[down,unit=USD]{Cost} &
\bmmetric[down]{Reduction} &
\bmmetric[up]{Profile} \\
\midrule
\bmbaseline Baseline & \bmseeds{78.1, 79.4, 80.2, 80.7} & \bmcost{1.80} & \bmna & \bmbar{79.6} \\
\bmhighlight Proposed & \bmseeds[best]{85.8, 86.4, 87.1, 87.3, 87.9} & \bmcost[best]{1.04}
& \bmcompare[down,pct]{1.04}{1.80} & \bmbar[best]{86.9} \\
\end{benchtable}benchtable.sty- LaTeX3 package implementationbenchtable.tex- Documentation sourcebenchtable.pdf- Compiled package manual with rendered examplesREADME.md- Package overview and license noticeCHANGES.md- Version history
- Maintainer: Foresight Labs (hi@nodecode.ai)
- Home page: https://nodecode.ai/research
- Repository: https://github.com/nodecode-ai/benchtable
- Bug tracker: https://github.com/nodecode-ai/benchtable/issues
- CTAN: https://ctan.org/pkg/benchtable
Copyright (C) 2026 Foresight Labs.
This material is subject to the LaTeX Project Public License 1.3c or later (https://www.latex-project.org/lppl.txt).