Supported TeX/LaTeX commands
This is a long list of the TeX macros supported by MathJax. If the macro is defined in an extension, the name of the extension follows the macro name. If the extension is in brackets, the extension will be loaded automatically when the macro or environment is first used.
More complete details about how to use these macros, with examples and explanations, is available at Carol Fisher’s TeX Commands Available in MathJax page.
In the following tables, the first column lists the macro (or
character, or environment), and the second column indicates which
package(s) defines the macro. If none is listed, then it is in the
base package. If the package name is in bold, then it is preloaded by
the components that include the TeX input jax (except for
input/tex-base
, which only includes the base package). If the
package name is in italics, then the package is not autoloaded by
the autoload extension.
Symbols
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A
|
|
|
|
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
|
|
physics |
|
|
|
|
|
|
|
|
|
|
|
physics |
|
physics |
|
|
|
ams |
|
base, physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
base, physics |
|
physics |
|
base, physics |
|
physics |
|
|
|
|
|
|
|
|
|
physics |
|
physics |
|
physics |
|
physics |
|
|
|
|
|
physics |
|
physics |
|
|
|
B
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
|
|
ams |
|
|
|
ams |
|
|
|
bbox |
|
cancel |
|
ams |
|
|
|
|
|
ams |
|
ams |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ams |
|
|
|
|
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
physics |
|
boldsymbol |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
physics |
|
physics |
|
braket |
|
braket, physics |
|
|
|
|
|
|
|
braket |
|
braket, physics |
|
|
|
|
|
|
|
ams |
|
ams |
C
|
|
|
cancel |
|
cancel |
|
ams |
|
|
|
|
|
|
|
|
|
|
|
mhchem |
|
ams |
|
ams |
|
|
|
ams |
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
html |
|
|
|
|
|
color, colorV2 |
|
color |
|
physics |
|
physics |
|
ams |
|
|
|
|
|
base, physics |
|
physics |
|
base, physics |
|
physics |
|
base, physics |
|
physics |
|
base, physics |
|
physics |
|
|
|
physics |
|
physics |
|
base, physics |
|
physics |
|
html |
|
ams |
|
|
|
physics |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
D
|
|
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
physics |
|
|
|
ams |
|
ams |
|
|
|
|
|
ams |
|
newcommand |
|
color |
|
|
|
|
|
|
|
physics |
|
base, physics |
|
physics |
|
ams |
|
ams |
|
physics |
|
ams |
|
ams |
|
|
|
|
|
physics |
|
ams |
|
|
|
|
|
|
|
base, physics |
|
physics |
|
ams |
|
physics |
|
|
|
ams |
|
|
|
ams |
|
ams |
|
physics |
|
|
|
|
|
|
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
physics |
|
physics |
E
|
|
|
|
|
enclose |
|
|
|
|
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
physics |
|
|
|
ams |
|
physics |
|
physics |
|
physics |
|
|
|
base, physics |
|
physics |
|
physics |
|
physics |
F
|
ams |
|
|
|
color |
|
physics |
|
physics |
|
ams |
|
|
|
physics |
|
|
|
ams, base |
|
|
|
|
|
physics |
G
|
ams |
|
|
|
|
|
|
|
|
|
ams |
|
|
|
ams |
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
physics |
|
physics |
|
physics |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
html |
|
|
|
ams |
|
|
|
|
|
|
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
I
|
physics |
|
ams |
|
|
|
ams |
|
|
|
|
|
base, physics |
|
physics |
|
physics |
|
|
|
ams |
|
ams |
|
|
|
|
|
|
|
ams |
|
physics |
|
|
|
ams |
|
|
|
|
|
J
|
|
|
ams |
K
|
|
|
|
|
|
|
braket |
|
braket, physics |
|
braket |
|
braket, physics |
L
|
|
|
|
|
|
|
|
|
|
|
physics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ams |
|
|
|
|
|
|
|
ams |
|
|
|
|
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
newcommand |
|
|
|
|
|
|
|
ams |
|
|
|
|
|
|
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
base, physics |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
base, physics |
|
physics |
|
|
|
|
|
|
|
|
|
mhchem |
|
mhchem |
|
|
|
|
|
|
|
mhchem |
|
mhchem |
|
ams |
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
M
|
ams |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ams |
|
|
|
|
|
|
|
|
|
action |
|
|
|
|
|
physics |
|
physics |
|
physics |
|
physics |
|
|
|
|
|
physics |
|
ams |
|
physics |
|
ams |
|
|
|
|
|
|
|
amsCd |
|
amsCd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
physics |
|
|
|
|
|
|
|
ams |
N
|
|
|
|
|
physics |
|
ams |
|
|
|
|
|
|
|
ams |
|
ams |
|
|
|
|
|
newcommand |
|
newcommand |
|
extpfeil |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
|
|
physics |
|
|
|
|
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
O
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
physics |
|
ams |
|
|
|
physics |
|
|
|
|
|
physics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P
|
|
|
|
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
|
|
|
|
|
|
|
|
|
|
|
|
ams |
|
|
|
physics |
|
|
|
|
|
|
|
physics |
|
physics |
|
|
|
physics |
|
physics |
|
base, physics |
|
|
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
physics |
|
physics |
|
|
|
ams |
|
|
|
|
|
|
|
mhchem |
|
physics |
|
physics |
Q
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
physics |
|
|
|
physics |
|
physics |
|
physics |
|
|
|
physics |
|
physics |
|
physics |
R
|
|
|
|
|
physics |
|
|
|
|
|
|
|
base, physics |
|
physics |
|
|
|
newcommand |
|
newcommand |
|
require |
|
physics |
|
ams |
|
|
|
|
|
ams |
|
|
|
|
|
|
|
|
|
ams |
|
|
|
|
|
ams |
|
ams, base |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
|
|
|
|
ams |
|
ams |
S
|
|
|
physics |
|
|
|
|
|
|
|
|
|
|
|
base, physics |
|
physics |
|
physics |
|
braket |
|
braket |
|
|
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
|
|
|
|
|
|
base, physics |
|
physics |
|
base, physics |
|
|
|
ams |
|
|
|
ams |
|
|
|
physics |
|
ams |
|
ams |
|
|
|
physics |
|
|
|
physics |
|
|
|
|
|
|
|
ams |
|
physics |
|
physics |
|
|
|
|
|
|
|
ams |
|
|
|
ams |
|
|
|
ams |
|
|
|
|
|
|
|
html |
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
|
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
|
|
physics |
|
T
|
ams |
|
base, physics |
|
physics |
|
base, physics |
|
|
|
ams |
|
|
|
|
|
|
|
color |
|
|
|
|
|
|
|
|
|
action |
|
|
|
ams |
|
ams |
|
|
|
|
|
ams |
|
ams |
|
|
|
|
|
|
|
|
|
|
|
|
|
action |
|
|
|
physics |
|
physics |
|
physics |
|
physics |
|
|
|
ams |
|
|
|
ams |
|
ams |
|
|
|
ams |
|
mhchem |
|
|
|
ams |
|
ams |
U
|
ams |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unicode |
|
ams |
|
ams |
|
|
|
|
|
|
|
|
|
ams |
|
ams |
|
|
|
|
|
|
|
|
|
ams |
|
ams |
V
|
physics |
|
physics |
|
ams |
|
|
|
ams |
|
physics |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
physics |
|
|
|
ams |
|
ams |
|
|
|
physics |
|
|
|
|
|
physics |
|
physics |
|
physics |
|
|
|
ams |
|
verb |
|
|
|
|
|
physics |
|
|
|
physics |
|
physics |
|
ams |
W
|
|
|
|
|
|
|
|
|
X
|
cancel |
|
|
|
|
|
ams, mhchem |
|
mhchem |
|
mhchem |
|
extpfeil |
|
extpfeil |
|
physics |
|
physics |
|
ams, mhchem |
|
mhchem |
|
mhchem |
|
extpfeil |
|
extpfeil |
|
extpfeil |
Y
|
ams |
Z
|
physics |
|
|
|
physics |
Environments
LaTeX environments of the form \begin{NAME} ... \end{NAME}
are
provided where NAME
is one of the following:
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
|
|
ams |
|
ams |
|
ams |
|
amsCd |
|
|
|
ams |
|
|
|
|
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams |
|
ams, physics |
|
ams |
|
ams |
|
ams |
|
ams |