This topic has 25 environments from the ams and base packages. Environments show whether MathJax, KaTeX, and XeTeX render them. Entries are ordered by how often they appear in corpus formulas.
- Entries
- 25 environments
- Most used
- equation 37.20%
- Full support
- MathJax 25/25 · KaTeX 3/25 · XeTeX 22/25
Entries#
| Name | Definition | Packages | MathJax | KaTeX | XeTeX | Frequency |
|---|---|---|---|---|---|---|
equation | Used for a numbered displayed equation that should participate in equation tagging. | base | MathJax: Full | KaTeX: None | XeTeX: Full | 37.20% |
align | Displayed multi-line derivations and systems with alignment points, usually at relation signs. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 10.14% |
eqnarray | Legacy multi-line displayed equations with column alignment via & and row breaks via \\, typically with equation numbering on rows. | base | MathJax: Full | KaTeX: None | XeTeX: Full | 7.31% |
align* | Displayed multi-line derivations and systems with alignment points, but without automatic equation numbers. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 6.82% |
equation* | Used for a single displayed equation without an equation number in AMS math documents. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 5.60% |
split | Splitting a single displayed equation across aligned lines, often inside a larger equation-like display. | ams | MathJax: Full | KaTeX: None | XeTeX: None | 2.31% |
eqnarray* | Legacy unnumbered multi-line equation arrays kept mainly for compatibility with older documents. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 1.93% |
aligned | Used for inner aligned systems of equations or derivation steps inside another displayed formula, with an optional vertical-position argument. | ams | MathJax: Full | KaTeX: Full | XeTeX: Full | 1.79% |
cases | Used for piecewise-defined expressions with a left brace and two aligned columns | ams | MathJax: Full | KaTeX: Full | XeTeX: Full | 1.42% |
multline | Used for long equations that span multiple lines, typically with the first line left-justified, the last line right-justified, and middle lines centered. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.44% |
gather | Displayed groups of equations on separate centered lines without shared alignment points. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.43% |
gather* | Displayed groups of equations on separate centered lines without shared alignment points and without automatic numbering. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.37% |
multline* | Used for long equations that span multiple lines without assigning an equation number. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.28% |
gathered | Used for grouped multi-line formulas centered as a single inner block inside another displayed equation, with an optional vertical-position argument. | ams | MathJax: Full | KaTeX: Full | XeTeX: Full | 0.10% |
flalign | Used for full-length aligned equations where the equations are spread out across the width of the page, allowing left alignment. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.09% |
alignat | Used for multi-line displayed equations with a fixed number of right/left aligned column pairs and no automatic intercolumn spacing. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.06% |
alignat* | Used for the unnumbered form of alignat when fixed aligned column pairs are needed without equation numbers. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.04% |
flalign* | Used for full-length aligned equations without equation numbers, where the equations are spread out across the width of the page, allowing left alignment. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0.03% |
alignedat | Used as a nested aligned equation structure with a fixed number of column pairs, often inside another display, with optional top/center/bottom vertical positioning. | ams | MathJax: Full | KaTeX: Partial | XeTeX: Full | 0.01% |
math | Explicit inline math environment. Equivalent to using $ ... $ or \( ... \). | base | MathJax: Full | KaTeX: None | XeTeX: None | <0.01% |
displaymath | Used for an unnumbered displayed equation or short display-style formula block. | base | MathJax: Full | KaTeX: None | XeTeX: Full | 0% |
xalignat* | Used for the unnumbered form of xalignat, giving a full-width AMS multiline alignment display with an explicit integer count of aligned column pairs. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | 0% |
indentalign | Used to wrap displayed math content while setting MathML indentation shift and left/center/right alignment metadata for the first, middle, and last lines. | base | MathJax: Full | KaTeX: None | XeTeX: None | — |
xalignat | Used for full-width AMS multiline alignment displays with an explicit integer count of aligned column pairs and normal equation numbering. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | — |
xxalignat | Used for AMS multiline alignment displays with an explicit integer count of aligned column pairs, in the xxalignat variant without equation numbering and without the extra outer padding columns. | ams | MathJax: Full | KaTeX: None | XeTeX: Full | — |