This page reports how the cataloged commands and environments render across three engines: MathJax, KaTeX, and XeTeX. Use it to answer "I target KaTeX — which common commands should I avoid?" For a single command, see its detail page; to filter interactively, use the commands index.
Status legend#
Each entry carries one support status per renderer:
- Full — every positive test case for the entry rendered without error.
- Partial — some positive cases rendered, but at least one failed. A command with a bare-argument or optional-argument form that one renderer rejects lands here.
- None — no positive case rendered, or the renderer does not recognize the entry.
Statuses are derived by rendering generated test cases against each engine, not from documentation. See renderer validation for how the cases are produced and how the three statuses are computed.
Coverage by package#
Counts are entries at each status, shown as full / partial / none per renderer across all supported packages. They are a snapshot of the current validation run; the totals row aggregates all entries.
| Package | Entries | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
ams | 63 | 63 / 0 / 0 | 39 / 1 / 23 | 58 / 0 / 5 |
base | 277 | 272 / 1 / 4 | 182 / 5 / 90 | 176 / 14 / 87 |
bboldx | 12 | 12 / 0 / 0 | 1 / 0 / 11 | 4 / 0 / 8 |
boldsymbol | 1 | 1 / 0 / 0 | 1 / 0 / 0 | 1 / 0 / 0 |
braket | 11 | 11 / 0 / 0 | 9 / 0 / 2 | 1 / 0 / 10 |
color | 5 | 5 / 0 / 0 | 0 / 4 / 1 | 5 / 0 / 0 |
physics | 183 | 183 / 0 / 0 | 25 / 0 / 158 | 183 / 0 / 0 |
textmacros | 78 | 75 / 1 / 2 | 60 / 3 / 15 | 57 / 4 / 17 |
| All | 630 | 622 / 2 / 6 | 317 / 13 / 300 | 485 / 18 / 127 |
MathJax accepts nearly every cataloged entry. KaTeX has a smaller built-in command set, so its gaps are concentrated in physics and bboldx. XeTeX is validated under a math-mode, package-scoped harness, so its gaps include text-mode and cross-package commands that XeTeX renders only in a wider document context; read its column with that scope in mind (see renderer validation).
High-frequency gaps#
For each renderer, the commands below are both common in real corpora and not fully supported. Frequencies are the share of formulas containing the command in a large LaTeX corpus. Each row links to its detail page.
KaTeX#
| Command | Support | Formula frequency |
|---|---|---|
\mbox | None | 2.99% |
\dagger | None | 1.10% |
\ensuremath | None | 1.00% |
\Bbb | Partial | 0.10% |
\frak | Partial | 0.07% |
\hfill | None | 0.03% |
\scalebox | None | 0.03% |
\sideset | None | 0.02% |
\buildrel | None | 0.02% |
\label | None | 0.02% |
\* | None | 0.01% |
\color | Partial | 0.01% |
\hspace | Partial | <0.01% |
\ddagger | None | <0.01% |
\strut | None | <0.01% |
29 more entries are available in the filtered command index.
XeTeX#
Many of these render in a full XeTeX document but fall outside the math-mode, single-package validation scope:
| Command | Support | Formula frequency |
|---|---|---|
\\ | Partial | 24.30% |
\mathbb | Partial | 10.31% |
\text | None | 8.70% |
\mathfrak | None | 1.80% |
\dagger | None | 1.10% |
\mathscr | None | 0.68% |
\underset | None | 0.50% |
\overset | None | 0.41% |
\hbox | Partial | 0.41% |
\cr | None | 0.18% |
\pmb | None | 0.13% |
\Bbb | None | 0.10% |
\mod | None | 0.09% |
\frak | None | 0.07% |
\boxed | Partial | 0.03% |
29 more entries are available in the filtered command index.
MathJax#
| Command | Support | Formula frequency |
|---|---|---|
\text | Partial | 8.70% |
\ensuremath | None | 1.00% |
\emph | None | 0.07% |
\scalebox | None | 0.03% |
\hspace | Partial | <0.01% |
Per-command queries#
For a specific command rather than a renderer-wide list, look it up in the commands index and filter by renderer status, or open its detail page for the full per-renderer matrix.