MathJax

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

Symbols

#
%
&
^
_
{
}
~
'

\   (backslash-space)
\!
\#
\$
\%
\&
\,
\:
\;
\>
\\
\_
\{
\|
\}

A

\above
\abovewithdelims
\acute
\aleph
\alpha
\amalg
\And
\angle
\approx
\approxeq               AMSsymbols
\arccos
\arcsin
\arctan
\arg
\array
\Arrowvert
\arrowvert
\ast
\asymp
\atop
\atopwithdelims

B

\backepsilon            AMSsymbols
\backprime              AMSsymbols
\backsim                AMSsymbols
\backsimeq              AMSsymbols
\backslash
\backslash
\bar
\barwedge               AMSsymbols
\Bbb
\Bbbk                   AMSsymbols
\bbox                  [bbox]
\bcancel                cancel
\because                AMSsymbols
\begin
\begingroup             begingroup      non-standard
\beta
\beth                   AMSsymbols
\between                AMSsymbols
\bf
\Big
\big
\bigcap
\bigcirc
\bigcup
\Bigg
\bigg
\Biggl
\biggl
\Biggm
\biggm
\Biggr
\biggr
\Bigl
\bigl
\Bigm
\bigm
\bigodot
\bigoplus
\bigotimes
\Bigr
\bigr
\bigsqcup
\bigstar                AMSsymbols
\bigtriangledown
\bigtriangleup
\biguplus
\bigvee
\bigwedge
\binom                  AMSmath
\blacklozenge           AMSsymbols
\blacksquare            AMSsymbols
\blacktriangle          AMSsymbols
\blacktriangledown      AMSsymbols
\blacktriangleleft      AMSsymbols
\blacktriangleright     AMSsymbols
\bmod
\boldsymbol            [boldsymbol]
\bot
\bowtie
\Box                    AMSsymbols
\boxdot                 AMSsymbols
\boxed                  AMSmath
\boxminus               AMSsymbols
\boxplus                AMSsymbols
\boxtimes               AMSsymbols
\brace
\bracevert
\brack
\breve
\buildrel
\bullet
\Bumpeq                 AMSsymbols
\bumpeq                 AMSsymbols

C

\cal
\cancel                 cancel
\cancelto               cancel
\cap
\Cap                    AMSsymbols
\cases
\cdot
\cdotp
\cdots
\ce                     mhchem
\cee                    mhchem
\centerdot              AMSsymbols
\cf                     mhchem
\cfrac                  AMSmath
\check
\checkmark              AMSsymbols
\chi
\choose
\circ
\circeq                 AMSsymbols
\circlearrowleft        AMSsymbols
\circlearrowright       AMSsymbols
\circledast             AMSsymbols
\circledcirc            AMSsymbols
\circleddash            AMSsymbols
\circledR               AMSsymbols
\circledS               AMSsymbols
\class                 [HTML]           non-standard
\clubsuit
\colon
\color                  color
\colorbox               color
\complement             AMSsymbols
\cong
\coprod
\cos
\cosh
\cot
\coth
\cr
\csc
\cssId                 [HTML]           non-standard
\cup
\Cup                    AMSsymbols
\curlyeqprec            AMSsymbols
\curlyeqsucc            AMSsymbols
\curlyvee               AMSsymbols
\curlywedge             AMSsymbols
\curvearrowleft         AMSsymbols
\curvearrowright        AMSsymbols

D

\dagger
\daleth                 AMSsymbols
\dashleftarrow          AMSsymbols
\dashrightarrow         AMSsymbols
\dashv
\dbinom                 AMSmath
\ddagger
\ddddot                 AMSmath
\dddot                  AMSmath
\ddot
\ddots
\DeclareMathOperator    AMSmath
\DefineColor            color
\def                   [newcommand]
\deg
\Delta
\delta
\det
\dfrac                  AMSmath
\diagdown               AMSsymbols
\diagup                 AMSsymbols
\diamond
\Diamond                AMSsymbols
\diamondsuit
\digamma                AMSsymbols
\dim
\displaylines
\displaystyle
\div
\divideontimes          AMSsymbols
\dot
\doteq
\Doteq                  AMSsymbols
\doteqdot               AMSsymbols
\dotplus                AMSsymbols
\dots
\dotsb
\dotsc
\dotsi
\dotsm
\dotso
\doublebarwedge         AMSsymbols
\doublecap              AMSsymbols
\doublecup              AMSsymbols
\Downarrow
\downarrow
\downdownarrows         AMSsymbols
\downharpoonleft        AMSsymbols
\downharpoonright       AMSsymbols

E

\ell
\emptyset
\enclose                enclose         non-standard
\end
\endgroup               begingroup      non-standard
\enspace
\epsilon
\eqalign
\eqalignno
\eqcirc                 AMSsymbols
\eqref                 [AMSmath]
\eqsim                  AMSsymbols
\eqslantgtr             AMSsymbols
\eqslantless            AMSsymbols
\equiv
\eta
\eth                    AMSsymbols
\exists
\exp

F

\fallingdotseq          AMSsymbols
\fbox
\fcolorbox              color
\Finv                   AMSsymbols
\flat
\forall
\frac
\frac                   AMSmath
\frak
\frown

G

\Game                   AMSsymbols
\Gamma
\gamma
\gcd
\gdef                   begingroup
\ge
\genfrac                AMSmath
\geq
\geqq                   AMSsymbols
\geqslant               AMSsymbols
\gets
\gg
\ggg                    AMSsymbols
\gggtr                  AMSsymbols
\gimel                  AMSsymbols
\global                 begingroup
\gnapprox               AMSsymbols
\gneq                   AMSsymbols
\gneqq                  AMSsymbols
\gnsim                  AMSsymbols
\grave
\gt
\gt
\gtrapprox              AMSsymbols
\gtrdot                 AMSsymbols
\gtreqless              AMSsymbols
\gtreqqless             AMSsymbols
\gtrless                AMSsymbols
\gtrsim                 AMSsymbols
\gvertneqq              AMSsymbols

H

\hat
\hbar
\hbox
\hdashline
\heartsuit
\hline
\hom
\hookleftarrow
\hookrightarrow
\hphantom
\href                  [HTML]
\hskip
\hslash                 AMSsymbols
\hspace
\Huge
\huge
\idotsint               AMSmath

I

\iff
\iiiint                 AMSmath
\iiint
\iint
\Im
\imath
\impliedby              AMSsymbols
\implies                AMSsymbols
\in
\inf
\infty
\injlim                 AMSmath
\int
\intercal               AMSsymbols
\intop
\iota
\it

J

\jmath
\Join                   AMSsymbols

K

\kappa
\ker
\kern

L

\label                 [AMSmath]
\Lambda
\lambda
\land
\langle
\LARGE
\Large
\large
\LaTeX
\lbrace
\lbrack
\lceil
\ldotp
\ldots
\le
\leadsto                AMSsymbols
\left
\Leftarrow
\leftarrow
\leftarrowtail          AMSsymbols
\leftharpoondown
\leftharpoonup
\leftleftarrows         AMSsymbols
\Leftrightarrow
\leftrightarrow
\leftrightarrows        AMSsymbols
\leftrightharpoons      AMSsymbols
\leftrightsquigarrow    AMSsymbols
\leftroot
\leftthreetimes         AMSsymbols
\leq
\leqalignno
\leqq                   AMSsymbols
\leqslant               AMSsymbols
\lessapprox             AMSsymbols
\lessdot                AMSsymbols
\lesseqgtr              AMSsymbols
\lesseqqgtr             AMSsymbols
\lessgtr                AMSsymbols
\lesssim                AMSsymbols
\let                   [newcommand]
\lfloor
\lg
\lgroup
\lhd                    AMSsymbols
\lim
\liminf
\limits
\limsup
\ll
\llap
\llcorner               AMSsymbols
\Lleftarrow             AMSsymbols
\lll                    AMSsymbols
\llless                 AMSsymbols
\lmoustache
\ln
\lnapprox               AMSsymbols
\lneq                   AMSsymbols
\lneqq                  AMSsymbols
\lnot
\lnsim                  AMSsymbols
\log
\Longleftarrow
\longleftarrow
\Longleftrightarrow
\longleftrightarrow
\longmapsto
\Longrightarrow
\longrightarrow
\looparrowleft          AMSsymbols
\looparrowright         AMSsymbols
\lor
\lower
\lozenge                AMSsymbols
\lrcorner               AMSsymbols
\Lsh                    AMSsymbols
\lt
\lt
\ltimes                 AMSsymbols
\lVert                  AMSmath
\lvert                  AMSmath
\lvertneqq              AMSsymbols

M

\maltese                AMSsymbols
\mapsto
\mathbb
\mathbf
\mathbin
\mathcal
\mathchoice            [mathchoice]
\mathclose
\mathfrak
\mathinner
\mathit
\mathop
\mathopen
\mathord
\mathpunct
\mathrel
\mathring               AMSmath
\mathrm
\mathscr
\mathsf
\mathstrut
\mathtip                action          non-standard
\mathtt
\matrix
\max
\mbox
\measuredangle          AMSsymbols
\mho                    AMSsymbols
\mid
\middle
\min
\mit
\mkern
\mmlToken                               non-standard
\mod
\models
\moveleft
\moveright
\mp
\mskip
\mspace
\mu
\multimap               AMSsymbols

N

\nabla
\natural
\ncong                  AMSsymbols
\ne
\nearrow
\neg
\negmedspace            AMSmath
\negthickspace          AMSmath
\negthinspace
\neq
\newcommand            [newcommand]
\newenvironment        [newcommand]
\Newextarrow            extpfeil
\newline
\nexists                AMSsymbols
\ngeq                   AMSsymbols
\ngeqq                  AMSsymbols
\ngeqslant              AMSsymbols
\ngtr                   AMSsymbols
\ni
\nLeftarrow             AMSsymbols
\nleftarrow             AMSsymbols
\nLeftrightarrow        AMSsymbols
\nleftrightarrow        AMSsymbols
\nleq                   AMSsymbols
\nleqq                  AMSsymbols
\nleqslant              AMSsymbols
\nless                  AMSsymbols
\nmid                   AMSsymbols
\nobreakspace           AMSmath
\nolimits
\normalsize
\not
\notag                 [AMSmath]
\notin
\nparallel              AMSsymbols
\nprec                  AMSsymbols
\npreceq                AMSsymbols
\nRightarrow            AMSsymbols
\nrightarrow            AMSsymbols
\nshortmid              AMSsymbols
\nshortparallel         AMSsymbols
\nsim                   AMSsymbols
\nsubseteq              AMSsymbols
\nsubseteqq             AMSsymbols
\nsucc                  AMSsymbols
\nsucceq                AMSsymbols
\nsupseteq              AMSsymbols
\nsupseteqq             AMSsymbols
\ntriangleleft          AMSsymbols
\ntrianglelefteq        AMSsymbols
\ntriangleright         AMSsymbols
\ntrianglerighteq       AMSsymbols
\nu
\nVDash                 AMSsymbols
\nVdash                 AMSsymbols
\nvDash                 AMSsymbols
\nvdash                 AMSsymbols
\nwarrow

O

\odot
\oint
\oldstyle
\Omega
\omega
\omicron
\ominus
\operatorname           AMSmath
\oplus
\oslash
\otimes
\over
\overbrace
\overleftarrow
\overleftrightarrow
\overline
\overrightarrow
\overset
\overwithdelims
\owns

P

\parallel
\partial
\perp
\phantom
\Phi
\phi
\Pi
\pi
\pitchfork              AMSsymbols
\pm
\pmatrix
\pmb
\pmod
\pod
\Pr
\prec
\precapprox             AMSsymbols
\preccurlyeq            AMSsymbols
\preceq
\precnapprox            AMSsymbols
\precneqq               AMSsymbols
\precnsim               AMSsymbols
\precsim                AMSsymbols
\prime
\prod
\projlim                AMSmath
\propto
\Psi
\psi

Q

\qquad
\quad

R

\raise
\rangle
\rbrace
\rbrack
\rceil
\Re
\ref                   [AMSmath]
\renewcommand          [newcommand]
\renewenvironment      [newcommand]
\require                               non-standard
\restriction            AMSsymbols
\rfloor
\rgroup
\rhd                    AMSsymbols
\rho
\right
\Rightarrow
\rightarrow
\rightarrowtail         AMSsymbols
\rightharpoondown
\rightharpoonup
\rightleftarrows        AMSsymbols
\rightleftharpoons
\rightleftharpoons      AMSsymbols
\rightrightarrows       AMSsymbols
\rightsquigarrow        AMSsymbols
\rightthreetimes        AMSsymbols
\risingdotseq           AMSsymbols
\rlap
\rm
\rmoustache
\root
\Rrightarrow            AMSsymbols
\Rsh                    AMSsymbols
\rtimes                 AMSsymbols
\Rule                                  non-standard
\rVert                  AMSmath
\rvert                  AMSmath

S

\S
\scr
\scriptscriptstyle
\scriptsize
\scriptstyle
\searrow
\sec
\setminus
\sf
\sharp
\shortmid               AMSsymbols
\shortparallel          AMSsymbols
\shoveleft              AMSmath
\shoveright             AMSmath
\sideset                AMSmath
\Sigma
\sigma
\sim
\simeq
\sin
\sinh
\skew
\small
\smallfrown             AMSsymbols
\smallint
\smallsetminus          AMSsymbols
\smallsmile             AMSsymbols
\smash
\smile
\Space
\space
\spadesuit
\sphericalangle         AMSsymbols
\sqcap
\sqcup
\sqrt
\sqsubset               AMSsymbols
\sqsubseteq
\sqsupset               AMSsymbols
\sqsupseteq
\square                 AMSsymbols
\stackrel
\star
\strut
\style                 [HTML]          non-stanard
\subset
\Subset                 AMSsymbols
\subseteq
\subseteqq              AMSsymbols
\subsetneq              AMSsymbols
\subsetneqq             AMSsymbols
\substack               AMSmath
\succ
\succapprox             AMSsymbols
\succcurlyeq            AMSsymbols
\succeq
\succnapprox            AMSsymbols
\succneqq               AMSsymbols
\succnsim               AMSsymbols
\succsim                AMSsymbols
\sum
\sup
\supset
\Supset                 AMSsymbols
\supseteq
\supseteqq              AMSsymbols
\supsetneq              AMSsymbols
\supsetneqq             AMSsymbols
\surd
\swarrow

T

\tag                   [AMSmath]
\tan
\tanh
\tau
\tbinom                 AMSmath
\TeX
\text
\textbf
\textit
\textrm
\textstyle
\texttip                action         non-standard
\tfrac                  AMSmath
\therefore              AMSsymbols
\Theta
\theta
\thickapprox            AMSsymbols
\thicksim               AMSsymbols
\thinspace
\tilde
\times
\tiny
\Tiny                                  non-standard
\to
\toggle                 action         non-standard
\top
\triangle
\triangledown           AMSsymbols
\triangleleft
\trianglelefteq         AMSsymbols
\triangleq              AMSsymbols
\triangleright
\trianglerighteq        AMSsymbols
\tt
\twoheadleftarrow       AMSsymbols
\twoheadrightarrow      AMSsymbols

U

\ulcorner               AMSsymbols
\underbrace
\underleftarrow
\underleftrightarrow
\underline
\underrightarrow
\underset
\unicode               [unicode]       non-standard
\unlhd                  AMSsymbols
\unrhd                  AMSsymbols
\Uparrow
\uparrow
\Updownarrow
\updownarrow
\upharpoonleft          AMSsymbols
\upharpoonright         AMSsymbols
\uplus
\uproot
\Upsilon
\upsilon
\upuparrows             AMSsymbols
\urcorner               AMSsymbols

V

\varDelta               AMSsymbols
\varepsilon
\varGamma               AMSsymbols
\varinjlim              AMSmath
\varkappa               AMSsymbols
\varLambda              AMSsymbols
\varliminf              AMSmath
\varlimsup              AMSmath
\varnothing             AMSsymbols
\varOmega               AMSsymbols
\varphi
\varPhi                 AMSsymbols
\varpi
\varPi                  AMSsymbols
\varprojlim             AMSmath
\varpropto              AMSsymbols
\varPsi                 AMSsymbols
\varrho
\varsigma
\varSigma               AMSsymbols
\varsubsetneq           AMSsymbols
\varsubsetneqq          AMSsymbols
\varsupsetneq           AMSsymbols
\varsupsetneqq          AMSsymbols
\vartheta
\varTheta               AMSsymbols
\vartriangle            AMSsymbols
\vartriangleleft        AMSsymbols
\vartriangleright       AMSsymbols
\varUpsilon             AMSsymbols
\varXi                  AMSsymbols
\vcenter
\vdash
\Vdash                  AMSsymbols
\vDash                  AMSsymbols
\vdots
\vec
\vee
\veebar                 AMSsymbols
\verb                  [verb]
\Vert
\vert
\vphantom
\Vvdash                 AMSsymbols

W

\wedge
\widehat
\widetilde
\wp
\wr

X

\Xi
\xi
\xcancel                cancel
\xleftarrow             AMSmath
\xlongequal             extpfeil
\xmapsto                extpfeil
\xrightarrow            AMSmath
\xtofrom                extpfeil
\xtwoheadleftarrow      extpfeil
\xtwoheadrightarrow     extpfeil

Y

\yen                    AMSsymbols

Z

\zeta

Environments

LaTeX environments of the form \begin{XXX} ... \end{XXX} are provided where XXX is one of the following:

align                  [AMSmath]
align*                 [AMSmath]
alignat                [AMSmath]
alignat*               [AMSmath]
aligned                [AMSmath]
alignedat              [AMSmath]
array

Bmatrix
bmatrix

cases

eqnarray
eqnarray*
equation
equation*

gather                 [AMSmath]
gather*                [AMSmath]
gathered               [AMSmath]

matrix
multline               [AMSmath]
multline*              [AMSmath]

pmatrix

smallmatrix             AMSmath
split                  [AMSmath]
subarray                AMSmath

Vmatrix
vmatrix

Comments