Skip to content

About

Publication-grade evaluation and benchmark tables in LaTeX3 (expl3)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

benchtable

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).

Features

  • Structured benchtable environment with automatic booktabs framing, 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 using expl3 floating-point arithmetic, plus \bmscore and 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 grayscale arxiv / mono.

Quick Example

\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}

Files in This Distribution

  • benchtable.sty - LaTeX3 package implementation
  • benchtable.tex - Documentation source
  • benchtable.pdf - Compiled package manual with rendered examples
  • README.md - Package overview and license notice
  • CHANGES.md - Version history

Maintainer and Links

License

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).

About

Publication-grade evaluation and benchmark tables in LaTeX3 (expl3)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages