---
title: 'KaTeX: Support table'
description: 'Supported table of KaTeX syntax ordered alphabetically.'
---
# KaTeX: Support table
::: tip note
This is an direct shameful copy of the documentation pulled from [KaTeX](https://raw.githubusercontent.com/Khan/KaTeX/master/docs/supported.md) documentation, **I do not own any of the content below on behalf of this part of the documentation**, the table might be outdated as versions migrates, please also refer to [KaTeX's official documentation](https://katex.org/docs/supported.html).
:::
## Symbols
| Symbol/Function | Rendered | Source or Comment |
| :--------------- | :------------------------------------------- | :---------------------------------------------------------------------------------------------- |
| \! | $n!$ | `n!` |
| \\\! | $a\!b$ | `a\!b` |
| # | $\def\bar#1{#1^2} \bar{y}$ | `\def\bar#1{#1^2} \bar{y}` |
| \\# | $\#$ | |
| % | | `%this is a comment` |
| \\% | $\%$ | |
| & | $\begin{matrix} a & b\cr c & d \end{matrix}$ | `\begin{matrix}`
`a & b \\`
`c & d`
`\end{matrix}` |
| \\& | $\&$ | |
| ' | $'$ | |
| \\\' | $\text{\'{a}}$ | `\text{\'{a}}` |
| ( | $($ | |
| ) | $)$ | |
| \\\(…\\\) | $\text{\(\frac a b\)}$ | `\text{\(\frac a b\)}` |
| \\ | $a\ b$ | `a\ b` |
| \\" | $\text{\"{a}}$ | `\text{\"{a}}` |
| \\$ | $\text{\textdollar}$ | |
| \\, | $a\,\,{b}$ | `a\,\,{b}` |
| \\. | $\text{\.{a}}$ | `\text{\.{a}}` |
| \\: | $a\:\:{b}$ | `a\:\:{b}` |
| \\; | $a\;\;{b}$ | a`\;\;{b}` |
| \_ | $x_i$ | `x_i` |
| \\\_ | $\_$ | |
| \\` | $\text{\`{a}}$ | \text{\\'{a}} |
| < | $<$ | |
| \\= | $\text{\={a}}$ | `\text{\\={a}}` |
| > | $>$ | |
| \\> | $a\>\>{b}$ | `a\>\>{b}` |
| \[ | $[$ | |
| \] | $]$ | |
| { | ${a}$ | `{a}` |
| } | ${a}$ | `{a}` |
| \\{ | $\{$ | |
| \\} | $\}$ | |
| | | $\vert$ | |
| \\| | $\Vert$ | |
| ~ | $\text{no~no~no~breaks}$ | `\text{no~no~no~breaks}` |
| \\~ | $\text{\~{a}}$ | `\text{\\~{a}}` |
| \\\\ | $\begin{matrix} a & b\\ c & d\end{matrix}$ | `\begin{matrix}`
`a & b \\`
`c & d`
`\end{matrix}` |
| ^ | $x^i$ | `x^i` |
| \\^ | $\text{\^{a}}$ | `\text{\\^{a}}` |
## A
| Symbol/Function | Rendered | Source or Comment |
| :--------------- | :------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------- |
| \AA | $\text{\AA}$ | `\text{\AA}` |
| \aa | $\text{\aa}$ | `\text{\aa}` |
| \above | ${a \above{2pt} b+1}$ | `{a \above{2pt} b+1}` |
| \abovewithdelims | Not supported | |
| \acute | $\acute e$ | `\acute e` |
| \AE | $\text{\AE}$ | `\text{\AE}` |
| \ae | $\text{\ae}$ | `\text{\ae}` |
| \alef | $\alef$ | |
| \alefsym | $\alefsym$ | |
| \aleph | $\aleph$ | |
| {align} | Not supported | see `{aligned}` |
| {aligned} | $\begin{aligned}a&=b+c\\d+e&=f\end{aligned}$ | `\begin{aligned}`
`a&=b+c \\`
`d+e&=f`
`\end{aligned}` |
| {alignat} | Not supported | see `{alignedat}` |
| {alignedat} | $\begin{alignedat}{2}10&x+&3&y=2\\3&x+&13&y=4\end{alignedat}$ | `\begin{alignedat}{2}`
`10&x+ &3&y = 2 \\`
` 3&x+&13&y = 4`
`\end{alignedat}` |
| \allowbreak | | |
| \Alpha | $\Alpha$ | |
| \alpha | $\alpha$ | |
| \amalg | $\amalg$ | |
| \And | $\And$ | |
| \and | Not supported | [Deprecated](https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax) |
| \ang | Not supported | [Deprecated](https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax) |
| \angl | Not supported | |
| \angle | $\angle$ | |
| \approx | $\approx$ | |
| \approxeq | $\approxeq$ | |
| \arccos | $\arccos$ | |
| \arcctg | $\arcctg$ | |
| \arcsin | $\arcsin$ | |
| \arctan | $\arctan$ | |
| \arctg | $\arctg$ | |
| \arg | $\arg$ | |
| \argmax | $\argmax$ | |
| \argmin | $\argmin$ | |
| {array} | $\begin{array}{cc}a&b\\c&d\end{array}$ | `\begin{array}{cc}`
`a & b \\`
`c & d`
`\end{array}` |
| \array | Not supported | see `{array}` |
| \arraystretch | $\def\arraystretch{1.5}\begin{array}{cc}a&b\\c&d\end{array}$ | `\def\arraystretch{1.5}`
`\begin{array}{cc}`
`a & b \\`
`c & d`
`\end{array}` |
| \Arrowvert | Not supported | |
| \arrowvert | Not supported | |
| \ast | $\ast$ | |
| \asymp | $\asymp$ | |
| \atop | ${a \atop b}$ | `{a \atop b}` |
| \atopwithdelims | Not supported | |
## B
| Symbol/Function | Rendered | Source or Comment |
| :------------------ | :-------------------------------------------------- | :------------------------------------------------------------------------------------------------ | ------ |
| \backepsilon | $\backepsilon$ | |
| \backprime | $\backprime$ | |
| \backsim | $\backsim$ | |
| \backsimeq | $\backsimeq$ | |
| \backslash | $\backslash$ | |
| \bar | $\bar{y}$ | `\bar{y}` |
| \barwedge | $\barwedge$ | |
| \Bbb | $\Bbb{ABC}$ | `\Bbb{ABC}`
KaTeX supports A-Z & k |
| \Bbbk | $\Bbbk$ | |
| \bbox | Not supported | |
| \bcancel | $\bcancel{5}$ | `\bcancel{5}` |
| \because | $\because$ | |
| \begin | $\begin{matrix} a & b\\ c & d\end{matrix}$ | `\begin{matrix}`
`a & b \\`
`c & d`
`\end{matrix}` |
| \begingroup | $\begingroup a}$ | `\begingroup a}` |
| \Beta | $\Beta$ | |
| \beta | $\beta$ | |
| \beth | $\beth$ | |
| \between | $\between$ | |
| \bf | $\bf AaBb12$ | `\bf AaBb12` |
| \bfseries | Not supported | |
| \big | $\big(\big)$ | `\big(\big)` |
| \Big | $\Big(\Big)$ | `\Big(\Big)` |
| \bigcap | $\bigcap$ | |
| \bigcirc | $\bigcirc$ | |
| \bigcup | $\bigcup$ | |
| \bigg | $\bigg(\bigg)$ | `\bigg(\bigg)` |
| \Bigg | $\Bigg(\Bigg)$ | `\Bigg(\Bigg)` |
| \biggl | $\biggl($ | `\biggl(` |
| \Biggl | $\Biggl($ | `\Biggl(` |
| \biggm | $\biggm\vert$ | `\biggm\vert` |
| \Biggm | $\Biggm\vert$ | `\Biggm\vert` |
| \biggr | $\biggr)$ | `\biggr)` |
| \Biggr | $\Biggr)$ | `\Biggr)` |
| \bigl | $\bigl($ | `\bigl(` |
| \Bigl | $\Bigl($ | `\Bigl(` |
| \bigm | $\bigm\vert$ | `\bigm\vert` |
| \Bigm | $\Bigm\vert$ | `\Bigm\vert` |
| \bigodot | $\bigodot$ | |
| \bigominus | Not supported | [Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222) |
| \bigoplus | $\bigoplus$ | |
| \bigoslash | Not supported | [Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222) |
| \bigotimes | $\bigotimes$ | |
| \bigr | $\bigr)$ | `\bigr)` |
| \Bigr | $\Bigr)$ | `\Bigr)` |
| \bigsqcap | Not supported | [Issue #1222](https://github.com/KaTeX/KaTeX/issues/1222) |
| \bigsqcup | $\bigsqcup$ | |
| \bigstar | $\bigstar$ | |
| \bigtriangledown | $\bigtriangledown$ | |
| \bigtriangleup | $\bigtriangleup$ | |
| \biguplus | $\biguplus$ | |
| \bigvee | $\bigvee$ | |
| \bigwedge | $\bigwedge$ | |
| \binom | $\binom n k$ | `\binom n k` |
| \blacklozenge | $\blacklozenge$ | |
| \blacksquare | $\blacksquare$ | |
| \blacktriangle | $\blacktriangle$ | |
| \blacktriangledown | $\blacktriangledown$ | |
| \blacktriangleleft | $\blacktriangleleft$ | |
| \blacktriangleright | $\blacktriangleright$ | |
| \bm | $\bm{AaBb}$ | `\bm{AaBb}` |
| {Bmatrix} | $\begin{Bmatrix}a&b\\c&d\end{Bmatrix}$ | `\begin{Bmatrix}`
`a & b \\`
`c & d`
`\end{Bmatrix}` |
| {bmatrix} | $\begin{bmatrix}a&b\\c&d\end{bmatrix}$ | `\begin{bmatrix}`
`a & b \\`
`c & d`
`\end{bmatrix}` |
| \bmod | $a \bmod b$ | `a \bmod b` |
| \bold | $\bold{AaBb123}$ | `\bold{AaBb123}` |
| \boldsymbol | $\boldsymbol{AaBb}$ | `\boldsymbol{AaBb}` |
| \bot | $\bot$ | |
| \bowtie | $\bowtie$ | |
| \Box | $\Box$ | |
| \boxdot | $\boxdot$ | |
| \boxed | $\boxed{ab}$ | `\boxed{ab}` |
| \boxminus | $\boxminus$ | |
| \boxplus | $\boxplus$ | |
| \boxtimes | $\boxtimes$ | |
| \Bra | $\left\langle\psi\right\|$ | `\Bra{\psi}` |
| \bra | $\mathinner{\langle{\psi}\|}$ | `\bra{\psi}` |
| \braket | $\mathinner{\langle{\phi\|\psi}\rangle}$ | `\braket{\phi | \psi}` |
| \brace | ${n\brace k}$ | `{n\brace k}` |
| \bracevert | Not supported | |
| \brack | ${n\brack k}$ | `{n\brack k}` |
| \breve | $\breve{eu}$ | `\breve{eu}` |
| \buildrel | Not supported | |
| \bull | $\bull$ | |
| \bullet | $\bullet$ | |
| \Bumpeq | $\Bumpeq$ | |
| \bumpeq | $\bumpeq$ | |
## C
| Symbol/Function | Rendered | Source or Comment |
| :---------------- | :--------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| \C | Not supported | [Deprecated](https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax) |
| \cal | $\cal AaBb123$ | `\cal AaBb123` |
| \cancel | $\cancel{5}$ | `\cancel{5}` |
| \cancelto | Not supported | |
| \Cap | $\Cap$ | |
| \cap | $\cap$ | |
| {cases} | $\begin{cases}a&\text{if }b\\c&\text{if }d\end{cases}$ | `\begin{cases}`
`a &\text{if } b \\`
`c &\text{if } d`
`\end{cases}` |
| \cases | Not supported | see `{cases}` |
| {CD} | Not supported | |
| \cdot | $\cdot$ | |
| \cdotp | $\cdotp$ | |
| \cdots | $\cdots$ | |
| \ce | ${\mathrm{C}{\vphantom{X}}_{\smash[t]{6}}\mathrm{H}{\vphantom{X}}_{\smash[t]{5}}{-}\mathrm{CHO}}$
$\ce{C6H5-CHO}$ | `{\mathrm{C}{\vphantom{X}}_{\smash[t]{6}}\mathrm{H}{\vphantom{X}}_{\smash[t]{5}}{-}\mathrm{CHO}}`
or `\ce{C6H5-CHO}` Requires an [extension](https://github.com/KaTeX/KaTeX/tree/master/contrib/mhchem/) |
| \cee | Not supported | Deprecated by mhchem |
| \centerdot | $a\centerdot b$ | `a\centerdot b` |
| \cf | Not supported | Deprecated by mhchem; |
| use `\ce` instead |
| \cfrac | $\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1}}}$ | `\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1}}}` |
| \check | $\check{oe}$ | `\check{oe}` |
| \ch | $\ch$ | |
| \checkmark | $\checkmark$ | |
| \Chi | $\Chi$ | |
| \chi | $\chi$ | |
| \choose | ${n+1 \choose k+2}$ | `{n+1 \choose k+2}` |
| \circ | $\circ$ | |
| \circeq | $\circeq$ | |
| \circlearrowleft | $\circlearrowleft$ | |
| \circlearrowright | $\circlearrowright$ | |
| \circledast | $\circledast$ | |
| \circledcirc | $\circledcirc$ | |
| \circleddash | $\circleddash$ | |
| \circledR | $\circledR$ | |
| \circledS | $\circledS$ | |
| \class | Not supported | A PR is pending. |
| \cline | Not supported | [Issue #269](https://github.com/KaTeX/KaTeX/issues/269) |
| \clubs | $\clubs$ | |
| \clubsuit | $\clubsuit$ | |
| \cnums | $\cnums$ | |
| \colon | $\colon$ | |
| \Colonapprox | $\Colonapprox$ | |
| \colonapprox | $\colonapprox$ | |
| \Coloneq | $\Coloneq$ | |
| \coloneq | $\coloneq$ | |
| \Coloneqq | $\Coloneqq$ | |
| \coloneqq | $\coloneqq$ | |
| \Colonsim | $\Colonsim$ | |
| \colonsim | $\colonsim$ | |
| \color | $\color{#0000FF} AaBb123$ | `\color{#0000FF} AaBb123` |
| \colorbox | $\colorbox{red}{Black on red}$ | `\colorbox{red}{Black on red}` |
| \complement | $\complement$ | |
| \Complex | $\Complex$ | |
| \cong | $\cong$ | |
| \Coppa | Not supported | |
| \coppa | Not supported | |
| \coprod | $\coprod$ | |
| \copyright | $\copyright$ | |
| \cos | $\cos$ | |
| \cosec | $\cosec$ | |
| \cosh | $\cosh$ | |
| \cot | $\cot$ | |
| \cotg | $\cotg$ | |
| \coth | $\coth$ | |
| \cr | $\begin{matrix} a & b\cr c & d \end{matrix}$ | `\begin{matrix}`
`a & b \cr`
`c & d`
`\end{matrix}` |
| \csc | $\csc$ | |
| \cssId | Not supported | A PR is pending. |
| \ctg | $\ctg$ | |
| \cth | $\cth$ | |
| \Cup | $\Cup$ | |
| \cup | $\cup$ | |
| \curlyeqprec | $\curlyeqprec$ | |
| \curlyeqsucc | $\curlyeqsucc$ | |
| \curlyvee | $\curlyvee$ | |
| \curlywedge | $\curlywedge$ | |
| \curvearrowleft | $\curvearrowleft$ | |
| \curvearrowright | $\curvearrowright$ | |
## D
| Symbol/Function | Rendered | Source or Comment |
| :------------------- | :--------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------- |
| \dag | $\dag$ | |
| \Dagger | $\Dagger$ | |
| \dagger | $\dagger$ | |
| \daleth | $\daleth$ | |
| \Darr | $\Darr$ | |
| \dArr | $\dArr$ | |
| \darr | $\darr$ | |
| {darray} | $\begin{darray}{cc}a&b\\c&d\end{darray}$ | `\begin{darray}{cc}`
`a & b \\`
`c & d`
`\end{darray}` |
| \dashleftarrow | $\dashleftarrow$ | |
| \dashrightarrow | $\dashrightarrow$ | |
| \dashv | $\dashv$ | |
| \dbinom | $\dbinom n k$ | `\dbinom n k` |
| \dblcolon | $\dblcolon$ | |
| {dcases} | $\begin{dcases}a&\text{if }b\\c&\text{if }d\end{dcases}$ | `\begin{dcases}`
`a &\text{if } b \\`
`c &\text{if } d`
`\end{dcases}` |
| \ddag | $\ddag$ | |
| \ddagger | $\ddagger$ | |
| \ddddot | Not supported | |
| \dddot | Not supported | |
| \ddot | $\ddot x$ | `\ddot x` |
| \ddots | $\ddots$ | |
| \DeclareMathOperator | Not supported | |
| \def | $\def\foo{x^2} \foo + \foo$ | `\def\foo{x^2} \foo + \foo` |
| \definecolor | Not supported | [Issue #750](https://github.com/KaTeX/KaTeX/issues/750) |
| \deg | $\deg$ | |
| \degree | $\degree$ | |
| \delta | $\delta$ | |
| \Delta | $\Delta$ | |
| \det | $\det$ | |
| \Digamma | Not supported | |
| \digamma | $\digamma$ | |
| \dfrac | $\dfrac{a-1}{b-1}$ | `\dfrac{a-1}{b-1}` |
| \diagdown | $\diagdown$ | |
| \diagup | $\diagup$ | |
| \Diamond | $\Diamond$ | |
| \diamond | $\diamond$ | |
| \diamonds | $\diamonds$ | |
| \diamondsuit | $\diamondsuit$ | |
| \dim | $\dim$ | |
| \displaylines | Not supported | |
| \displaystyle | $\displaystyle\sum_0^n$ | `\displaystyle\sum_0^n` |
| \div | $\div$ | |
| \divideontimes | $\divideontimes$ | |
| \dot | $\dot x$ | `\dot x` |
| \Doteq | $\Doteq$ | |
| \doteq | $\doteq$ | |
| \doteqdot | $\doteqdot$ | |
| \dotplus | $\dotplus$ | |
| \dots | $x_1 + \dots + x_n$ | `x_1 + \dots + x_n` |
| \dotsb | $x_1 +\dotsb + x_n$ | `x_1 +\dotsb + x_n` |
| \dotsc | $x,\dotsc,y$ | `x,\dotsc,y` |
| \dotsi | $$\int_{A_1}\int_{A_2}\dotsi$$ | `\int_{A_1}\int_{A_2}\dotsi` |
| \dotsm | $x_1 x_2 \dotsm x_n$ | `$x_1 x_2 \dotsm x_n` |
| \dotso | $\dotso$ | |
| \doublebarwedge | $\doublebarwedge$ | |
| \doublecap | $\doublecap$ | |
| \doublecup | $\doublecup$ | |
| \Downarrow | $\Downarrow$ | |
| \downarrow | $\downarrow$ | |
| \downdownarrows | $\downdownarrows$ | |
| \downharpoonleft | $\downharpoonleft$ | |
| \downharpoonright | $\downharpoonright$ | |
| {drcases} | $\begin{drcases}a&\text{if }b\\c&\text{if }d\end{drcases}$ | `\begin{drcases}`
`a &\text{if } b \\`
`c &\text{if } d`
`\end{drcases}` |
## E
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :---------------------------------------------------------------------------------------------- |
| \edef | $\def\foo{a}\edef\bar{\foo}\def\foo{}\bar$ | `\def\foo{a}\edef\bar{\foo}\def\foo{}\bar` |
| \ell | $\ell$ | |
| \else | Not supported | [Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003) |
| \em | Not supported | |
| \emph | Not supported | |
| \empty | $\empty$ | |
| \emptyset | $\emptyset$ | |
| \enclose | Not supported | Non standard |
| \end | $\begin{matrix} a & b\\ c & d\end{matrix}$ | `\begin{matrix}`
`a & b \\`
`c & d`
`\end{matrix}` |
| \endgroup | ${a\endgroup$ | `{a\endgroup` |
| \enspace | $a\enspace b$ | `a\enspace b` |
| \Epsilon | $\Epsilon$ | |
| \epsilon | $\epsilon$ | |
| \eqalign | Not supported | |
| \eqalignno | Not supported | |
| \eqcirc | $\eqcirc$ | |
| \Eqcolon | $\Eqcolon$ | |
| \eqcolon | $\eqcolon$ | |
| {equation} | Not supported | [Issue #445](https://github.com/KaTeX/KaTeX/issues/445) |
| {eqnarray} | Not supported | |
| \Eqqcolon | $\Eqqcolon$ | |
| \eqqcolon | $\eqqcolon$ | |
| \eqref | Not supported | [Issue #350](https://github.com/KaTeX/KaTeX/issues/350) |
| \eqsim | $\eqsim$ | |
| \eqslantgtr | $\eqslantgtr$ | |
| \eqslantless | $\eqslantless$ | |
| \equiv | $\equiv$ | |
| \Eta | $\Eta$ | |
| \eta | $\eta$ | |
| \eth | $\eth$ | |
| \euro | Not supported | |
| \exist | $\exist$ | |
| \exists | $\exists$ | |
| \exp | $\exp$ | |
| \expandafter | | |
## F
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :-------------------------------------------------------- |
| \fallingdotseq | $\fallingdotseq$ | |
| \fbox | $\fbox{Hi there!}$ | `\fbox{Hi there!}` |
| \fcolorbox | $\fcolorbox{red}{aqua}{A}$ | `\fcolorbox{red}{aqua}{A}` |
| \fi | Not supported | [Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003) |
| \Finv | $\Finv$ | |
| \flat | $\flat$ | |
| \footnotesize | $\footnotesize footnotesize$ | `\footnotesize footnotesize` |
| \forall | $\forall$ | |
| \frac | $\frac a b$ | `\frac a b` |
| \frak | $\frak{AaBb}$ | `\frak{AaBb}` |
| \frown | $\frown$ | |
| \futurelet | | |
## G
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :------------------------------------------------------------------------------------------------- |
| \Game | $\Game$ | |
| \Gamma | $\Gamma$ | |
| \gamma | $\gamma$ | |
| {gather} | Not supported | see `{gathered}` |
| {gathered} | $\begin{gathered}a=b\\e=b+c\end{gathered}$ | `\begin{gathered}`
`a=b \\ `
`e=b+c`
`\end{gathered}` |
| \gcd | $\gcd$ | |
| \gdef | $\gdef\bar#1{#1^2} \bar{y} + \bar{y}$ | `\gdef\bar#1{#1^2} \bar{y} + \bar{y}` |
| \ge | $\ge$ | |
| \geneuro | Not supported | |
| \geneuronarrow | Not supported | |
| \geneurowide | Not supported | |
| \genfrac | $\genfrac ( ] {2pt}{0}a{a+1}$ | `\genfrac ( ] {2pt}{0}a{a+1}` |
| \geq | $\geq$ | |
| \geqq | $\geqq$ | |
| \geqslant | $\geqslant$ | |
| \gets | $\gets$ | |
| \gg | $\gg$ | |
| \ggg | $\ggg$ | |
| \gggtr | $\gggtr$ | |
| \gimel | $\gimel$ | |
| \global | $\global\def\add#1#2{#1+#2} \add 2 3$ | `\global\def\add#1#2{#1+#2} \add 2 3` |
| \gnapprox | $\gnapprox$ | |
| \gneq | $\gneq$ | |
| \gneqq | $\gneqq$ | |
| \gnsim | $\gnsim$ | |
| \grave | $\grave{eu}$ | `\grave{eu}` |
| \gt | $a \gt b$ | `a \gt b` |
| \gtrdot | $\gtrdot$ | |
| \gtrapprox | $\gtrapprox$ | |
| \gtreqless | $\gtreqless$ | |
| \gtreqqless | $\gtreqqless$ | |
| \gtrless | $\gtrless$ | |
| \gtrsim | $\gtrsim$ | |
| \gvertneqq | $\gvertneqq$ | |
## H
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------- |
| \H | $\text{\H{a}}$ | `\text{\H{a}}` |
| \Harr | $\Harr$ | |
| \hArr | $\hArr$ | |
| \harr | $\harr$ | |
| \hat | $\hat{\theta}$ | `\hat{\theta}` |
| \hbar | $\hbar$ | |
| \hbox | Not supported | |
| \hdashline | $\begin{matrix}a&b\\ \hdashline c &d\end{matrix}$ | `\begin{matrix}`
`a & b \\`
`\hdashline`
`c & d`
`\end{matrix}` |
| \hearts | $\hearts$ | |
| \heartsuit | $\heartsuit$ | |
| \hfil | Not supported | |
| \hfill | Not supported | Issues [#164](https://github.com/KaTeX/KaTeX/issues/164) & [#269](https://github.com/KaTeX/KaTeX/issues/269) |
| \hline | $\begin{matrix}a&b\\ \hline c &d\end{matrix}$ | `\begin{matrix}`
`a & b \\ \hline`
`c & d`
`\end{matrix}` |
| \hom | $\hom$ | |
| \hookleftarrow | $\hookleftarrow$ | |
| \hookrightarrow | $\hookrightarrow$ | |
| \hphantom | $a\hphantom{bc}d$ | `a\hphantom{bc}d` |
| \href | $\href{https://katex.org/}{\KaTeX}$ | `\href{https://katex.org/}{\KaTeX}` Requires `trust` |
| \hskip | $w\hskip1em i\hskip2em d$ | `w\hskip1em i\hskip2em d` |
| \hslash | $\hslash$ | |
| \hspace | $s\hspace7ex k$ | `s\hspace7ex k` |
| \htmlClass | $\htmlClass{foo}{x}$ | `\htmlClass{foo}{x}` Must enable `trust` and disable `strict` |
| \htmlData | $\htmlData{foo=a, bar=b}{x}$ | `\htmlData{foo=a, bar=b}{x}` Must enable `trust` and disable `strict` |
| \htmlId | $\htmlId{bar}{x}$ | `\htmlId{bar}{x}` Must enable `trust` and disable `strict` |
| \htmlStyle | $\htmlStyle{color: red;}{x}$ | `\htmlStyle{color: red;}{x}` Must enable `trust` and disable `strict` |
| \huge | $\huge huge$ | `\huge huge` |
| \Huge | $\Huge Huge$ | `\Huge Huge` |
## I
| Symbol/Function | Rendered | Source or Comment |
| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \i | $\text{\i}$ | `\text{\i}` |
| \idotsint | Not supported | |
| \iddots | Not supported | [Issue #1223](https://github.com/KaTeX/KaTeX/issues/1223) |
| \if | Not supported | [Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003) |
| \iff | $A\iff B$ | `A\iff B` |
| \ifmode | Not supported | [Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003) |
| \ifx | Not supported | [Issue #1003](https://github.com/KaTeX/KaTeX/issues/1003) |
| \iiiint | Not supported | |
| \iiint | $\iiint$ | |
| \iint | $\iint$ | |
| \Im | $\Im$ | |
| \image | $\image$ | |
| \imath | $\imath$ | |
| \impliedby | $P\impliedby Q$ | `P\impliedby Q` |
| \implies | $P\implies Q$ | `P\implies Q` |
| \in | $\in$ | |
| \includegraphics | $\includegraphics[height=0.8em, totalheight=0.9em, width=0.9em, alt=KA logo]{https://cdn.kastatic.org/images/apple-touch-icon-57x57-precomposed.new.png}$ | `\includegraphics[height=0.8em, totalheight=0.9em, width=0.9em, alt=KA logo]{https://cdn.kastatic.org/images/apple-touch-icon-57x57-precomposed.new.png}` Requires `trust` |
| \inf | $\inf$ | |
| \infin | $\infin$ | |
| \infty | $\infty$ | |
| \injlim | Not supported | |
| \int | $\int$ | |
| \intercal | $\intercal$ | |
| \intop | $\intop$ | |
| \Iota | $\Iota$ | |
| \iota | $\iota$ | |
| \isin | $\isin$ | |
| \it | ${\it AaBb}$ | `{\it AaBb}` |
| \itshape | Not supported | |
## JK
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :---------------- |
| \j | $\text{\j}$ | `\text{\j}` |
| \jmath | $\jmath$ | |
| \Join | $\Join$ | |
| \Kappa | $\Kappa$ | |
| \kappa | $\kappa$ | |
| \KaTeX | $\KaTeX$ | |
| \ker | $\ker$ | |
| \kern | $I\kern-2.5pt R$ | `I\kern-2.5pt R` |
| \Ket | $\left\|\psi\right\rangle$ | `\Ket{\psi}` |
| \ket | $\mathinner{\|{\psi}\rangle}$ | `\ket{\psi}` |
| \Koppa | Not supported | |
| \koppa | Not supported | |
## L
| Symbol/Function | Rendered | Source or Comment |
| :------------------- | :-------------------------------------------------- | :------------------------------- |
| \L | Not supported | |
| \l | Not supported | |
| \Lambda | $\Lambda$ | |
| \lambda | $\lambda$ | |
| \label | Not supported | |
| \land | $\land$ | |
| \lang | $\lang A\rangle$ | `\lang A\rangle` |
| \langle | $\langle A\rangle$ | `\langle A\rangle` |
| \Larr | $\Larr$ | |
| \lArr | $\lArr$ | |
| \larr | $\larr$ | |
| \large | $\large large$ | `\large large` |
| \Large | $\Large Large$ | `\Large Large` |
| \LARGE | $\LARGE LARGE$ | `\LARGE LARGE` |
| \LaTeX | $\LaTeX$ | |
| \lBrace | $\lBrace$ | |
| \lbrace | $\lbrace$ | |
| \lbrack | $\lbrack$ | |
| \lceil | $\lceil$ | |
| \ldotp | $\ldotp$ | |
| \ldots | $\ldots$ | |
| \le | $\le$ | |
| \leadsto | $\leadsto$ | |
| \left | $\left\lbrace \dfrac ab \right.$ | `\left\lbrace \dfrac ab \right.` |
| \leftarrow | $\leftarrow$ | |
| \Leftarrow | $\Leftarrow$ | |
| \LeftArrow | Not supported | Non standard |
| \leftarrowtail | Not supported | |
| \leftharpoondown | $\leftharpoondown$ | |
| \leftharpoonup | $\leftharpoonup$ | |
| \leftleftarrows | $\leftleftarrows$ | |
| \Leftrightarrow | $\Leftrightarrow$ | |
| \leftrightarrow | $\leftrightarrow$ | |
| \leftrightarrows | $\leftrightarrows$ | |
| \leftrightharpoons | $\leftrightharpoons$ | |
| \leftrightsquigarrow | $\leftrightsquigarrow$ | |
| \leftroot | Not supported | |
| \leftthreetimes | $\leftthreetimes$ | |
| \leq | $\leq$ | |
| \leqalignno | Not supported | |
| \leqq | $\leqq$ | |
| \leqslant | $\leqslant$ | |
| \lessapprox | $\lessapprox$ | |
| \lessdot | $\lessdot$ | |
| \lesseqgtr | $\lesseqgtr$ | |
| \lesseqqgtr | $\lesseqqgtr$ | |
| \lessgtr | $\lessgtr$ | |
| \lesssim | $\lesssim$ | |
| \let | | |
| \lfloor | $\lfloor$ | |
| \lg | $\lg$ | |
| \lgroup | $\lgroup$ | |
| \lhd | $\lhd$ | |
| \lim | $\lim$ | |
| \liminf | $\liminf$ | |
| \limits | $\lim\limits_x$ | `\lim\limits_x` |
| \limsup | $\limsup$ | |
| \ll | $\ll$ | |
| \llap | ${=}\llap{/\,}$ | `{=}\llap{/\,}` |
| \llbracket | $\llbracket$ | |
| \llcorner | $\llcorner$ | |
| \Lleftarrow | $\Lleftarrow$ | |
| \lll | $\lll$ | |
| \llless | $\llless$ | |
| \lmoustache | $\lmoustache$ | |
| \ln | $\ln$ | |
| \lnapprox | $\lnapprox$ | |
| \lneq | $\lneq$ | |
| \lneqq | $\lneqq$ | |
| \lnot | $\lnot$ | |
| \lnsim | $\lnsim$ | |
| \log | $\log$ | |
| \long | | |
| \Longleftarrow | $\Longleftarrow$ | |
| \longleftarrow | $\longleftarrow$ | |
| \Longleftrightarrow | $\Longleftrightarrow$ | |
| \longleftrightarrow | $\longleftrightarrow$ | |
| \longmapsto | $\longmapsto$ | |
| \Longrightarrow | $\Longrightarrow$ | |
| \longrightarrow | $\longrightarrow$ | |
| \looparrowleft | $\looparrowleft$ | |
| \looparrowright | $\looparrowright$ | |
| \lor | $\lor$ | |
| \lower | Not supported | |
| \lozenge | $\lozenge$ | |
| \lparen | $\lparen$ | |
| \Lrarr | $\Lrarr$ | |
| \lrArr | $\lrArr$ | |
| \lrarr | $\lrarr$ | |
| \lrcorner | $\lrcorner$ | |
| \lq | $\lq$ | |
| \Lsh | $\Lsh$ | |
| \lt | $\lt$ | |
| \ltimes | $\ltimes$ | |
| \lVert | $\lVert$ | |
| \lvert | $\lvert$ | |
| \lvertneqq | $\lvertneqq$ | |
## M
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :---------------------------------------------------------------------------------------------- |
| \maltese | $\maltese$ | |
| \mapsto | $\mapsto$ | |
| \mathbb | $\mathbb{AB}$ | `\mathbb{AB}`
KaTeX supports A-Z k |
| \mathbf | $\mathbf{AaBb123}$ | `\mathbf{AaBb123}` |
| \mathbin | $a\mathbin{!}b$ | `a\mathbin{!}b` |
| \mathcal | $\mathcal{AaBb123}$ | `\mathcal{AaBb123}` |
| \mathchoice | $a\mathchoice{\,}{\,\,}{\,\,\,}{\,\,\,\,}b$ | `a\mathchoice{\,}{\,\,}{\,\,\,}{\,\,\,\,}b` |
| \mathclap | $\displaystyle\sum_{\mathclap{1\le i\le n}} x_{i}$ | `\sum_{\mathclap{1\le i\le n}} x_{i}` |
| \mathclose | $a + (b\mathclose\gt + c$ | `a + (b\mathclose\gt + c` |
| \mathellipsis | $\mathellipsis$ | |
| \mathfrak | $\mathfrak{AaBb}$ | `\mathfrak{AaBb}`
KaTeX supports A-Za-z |
| \mathinner | $ab\mathinner{\text{inside}}cd$ | `ab\mathinner{\text{inside}}cd` |
| \mathit | $\mathit{AaBb}$ | `\mathit{AaBb}`
KaTeX supports A-Za-z |
| \mathllap | ${=}\mathllap{/\,}$ | `{=}\mathllap{/\,}` |
| \mathnormal | $\mathnormal{AaBb}$ | `\mathnormal{AaBb}`
KaTeX supports A-Za-z |
| \mathop | $\mathop{\star}_a^b$ | `\mathop{\star}_a^b` |
| \mathopen | $a + \mathopen\lt b) + c$ | `a + \mathopen\lt b) + c` |
| \mathord | $1\mathord{,}234{,}567$ | `1\mathord{,}234{,}567` |
| \mathpunct | $A\mathpunct{-}B$ | `A\mathpunct{-}B` |
| \mathrel | $a \mathrel{\#} b$ | `a \mathrel{\#} b` |
| \mathrlap | $\mathrlap{\,/}{=}$ | `\mathrlap{\,/}{=}` |
| \mathring | $\mathring{a}$ | `\mathring{a}` |
| \mathrm | $\mathrm{AaBb123}$ | `\mathrm{AaBb123}` |
| \mathscr | $\mathscr{AB}$ | `\mathscr{AaBb123}`
KaTeX supports A-Z |
| \mathsf | $\mathsf{AaBb123}$ | `\mathsf{AaBb123}` |
| \mathsterling | $\mathsterling$ | |
| \mathstrut | Not supported | |
| \mathtip | Not supported | |
| \mathtt | $\mathtt{AaBb123}$ | `\mathtt{AaBb123}` |
| \matrix | Not supported | See `{matrix}` |
| {matrix} | $\begin{matrix}a&b\\c&d\end{matrix}$ | `\begin{matrix}`
`a & b \\`
`c & d`
`\end{matrix}` |
| \max | $\max$ | |
| \mbox | Not supported | |
| \md | Not supported | |
| \mdseries | Not supported | |
| \measuredangle | $\measuredangle$ | |
| \medspace | $a\medspace b$ | `a\medspace b` |
| \mho | $\mho$ | |
| \mid | $\{x∈ℝ\mid x>0\}$ | `\{x∈ℝ\mid x>0\}` |
| \middle | $P\left(A\middle\vert B\right)$ | `P\left(A\middle\vert B\right)` |
| \min | $\min$ | |
| \mit | Not supported | See `\mathit` |
| \mkern | $a\mkern18mu b$ | `a\mkern18mu b` |
| \mmlToken | Not supported | |
| \mod | $3\equiv 5 \mod 2$ | `3\equiv 5 \mod 2` |
| \models | $\models$ | |
| \moveleft | Not supported | |
| \moveright | Not supported | |
| \mp | $\mp$ | |
| \mskip | $a\mskip{10mu}b$ | `a\mskip{10mu}b` |
| \mspace | Not supported | |
| \Mu | $\Mu$ | |
| \mu | $\mu$ | |
| \multicolumn | Not supported | [Issue #269](https://github.com/KaTeX/KaTeX/issues/269) |
| {multiline} | Not supported | |
| \multimap | $\multimap$ | |
## N
| Symbol/Function | Rendered | Source or Comment |
| :---------------- | :-------------------------------------------------- | :---------------------------------------------------- |
| \N | $\N$ | |
| \nabla | $\nabla$ | |
| \natnums | $\natnums$ | |
| \natural | $\natural$ | |
| \negmedspace | $a\negmedspace b$ | `a\negmedspace b` |
| \ncong | $\ncong$ | |
| \ne | $\ne$ | |
| \nearrow | $\nearrow$ | |
| \neg | $\neg$ | |
| \negthickspace | $a\negthickspace b$ | `a\negthickspace b` |
| \negthinspace | $a\negthinspace b$ | `a\negthinspace b` |
| \neq | $\neq$ | |
| \newcommand | $\newcommand\chk{\checkmark} \chk$ | `\newcommand\chk{\checkmark} \chk` |
| \newenvironment | Not supported | [Issue #37](https://github.com/KaTeX/KaTeX/issues/37) |
| \Newextarrow | Not supported | |
| \newline | $a\newline b$ | `a\newline b` |
| \nexists | $\nexists$ | |
| \ngeq | $\ngeq$ | |
| \ngeqq | $\ngeqq$ | |
| \ngeqslant | $\ngeqslant$ | |
| \ngtr | $\ngtr$ | |
| \ni | $\ni$ | |
| \nleftarrow | $\nleftarrow$ | |
| \nLeftarrow | $\nLeftarrow$ | |
| \nLeftrightarrow | $\nLeftrightarrow$ | |
| \nleftrightarrow | $\nleftrightarrow$ | |
| \nleq | $\nleq$ | |
| \nleqq | $\nleqq$ | |
| \nleqslant | $\nleqslant$ | |
| \nless | $\nless$ | |
| \nmid | $\nmid$ | |
| \nobreak | | |
| \nobreakspace | $a\nobreakspace b$ | `a\nobreakspace b` |
| \noexpand | | |
| \nolimits | $\lim\nolimits_x$ | `\lim\nolimits_x` |
| \normalfont | Not supported | |
| \normalsize | $\normalsize normalsize$ | `\normalsize normalsize` |
| \not | $\not =$ | `\not =` |
| \notag | Not supported | |
| \notin | $\notin$ | |
| \notni | $\notni$ | |
| \nparallel | $\nparallel$ | |
| \nprec | $\nprec$ | |
| \npreceq | $\npreceq$ | |
| \nRightarrow | $\nRightarrow$ | |
| \nrightarrow | $\nrightarrow$ | |
| \nshortmid | $\nshortmid$ | |
| \nshortparallel | $\nshortparallel$ | |
| \nsim | $\nsim$ | |
| \nsubseteq | $\nsubseteq$ | |
| \nsubseteqq | $\nsubseteqq$ | |
| \nsucc | $\nsucc$ | |
| \nsucceq | $\nsucceq$ | |
| \nsupseteq | $\nsupseteq$ | |
| \nsupseteqq | $\nsupseteqq$ | |
| \ntriangleleft | $\ntriangleleft$ | |
| \ntrianglelefteq | $\ntrianglelefteq$ | |
| \ntriangleright | $\ntriangleright$ | |
| \ntrianglerighteq | $\ntrianglerighteq$ | |
| \Nu | $\Nu$ | |
| \nu | $\nu$ | |
| \nVDash | $\nVDash$ | |
| \nVdash | $\nVdash$ | |
| \nvDash | $\nvDash$ | |
| \nvdash | $\nvdash$ | |
| \nwarrow | $\nwarrow$ | |
## O
| Symbol/Function | Rendered | Source or Comment |
| :------------------ | :-------------------------------------------------- | :----------------------------------- |
| \O | $\text{\O}$ | `\text{\O}` |
| \o | $\text{\o}$ | `\text{\o}` |
| \odot | $\odot$ | |
| \OE | $\text{\OE}$ | `\text{\OE}` |
| \oe | $\text{\oe}$ | `\text{\oe}` |
| \officialeuro | Not supported | |
| \oiiint | $\oiiint$ | |
| \oiint | $\oiint$ | |
| \oint | $\oint$ | |
| \oldstyle | Not supported | |
| \omega | $\omega$ | |
| \Omega | $\Omega$ | |
| \Omicron | $\Omicron$ | |
| \omicron | $\omicron$ | |
| \ominus | $\ominus$ | |
| \operatorname | $\operatorname{asin} x$ | \operatorname{asin} x |
| \operatorname\* | $\operatorname{asin}\limits_y x$ | `\operatorname{asin}\limits_y x` |
| \oplus | $\oplus$ | |
| \or | Not supported | |
| \oslash | $\oslash$ | |
| \otimes | $\otimes$ | |
| \over | ${a+1 \over b+2}+c$ | `{a+1 \over b+2}+c` |
| \overbrace | $\overbrace{x+⋯+x}^{n\text{ times}}$ | `\overbrace{x+⋯+x}^{n\text{ times}}` |
| \overbracket | Not supported | |
| \overgroup | $\overgroup{AB}$ | `\overgroup{AB}` |
| \overleftarrow | $\overleftarrow{AB}$ | `\overleftarrow{AB}` |
| \overleftharpoon | $\overleftharpoon{AB}$ | `\overleftharpoon{AB}` |
| \overleftrightarrow | $\overleftrightarrow{AB}$ | `\overleftrightarrow{AB}` |
| \overline | $\overline{\text{a long argument}}$ | `\overline{\text{a long argument}}` |
| \overlinesegment | $\overlinesegment{AB}$ | `\overlinesegment{AB}` |
| \overparen | Not supported | See `\overgroup` |
| \Overrightarrow | $\Overrightarrow{AB}$ | `\Overrightarrow{AB}` |
| \overrightarrow | $\overrightarrow{AB}$ | `\overrightarrow{AB}` |
| \overrightharpoon | $\overrightharpoon{ac}$ | `\overrightharpoon{ac}` |
| \overset | $\overset{!}{=}$ | `\overset{!}{=}` |
| \overwithdelims | Not supported | |
| \owns | $\owns$ | |
## P
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------- |
| \P | $\text{\P}$ | `\text{\P}` |
| \pagecolor | Not supported | [Deprecated](https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax) |
| \parallel | $\parallel$ | |
| \part | Not supported | [Deprecated](https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax) |
| \partial | $\partial$ | |
| \perp | $\perp$ | |
| \phantom | $\Gamma^{\phantom{i}j}_{i\phantom{j}k}$ | `\Gamma^{\phantom{i}j}_{i\phantom{j}k}` |
| \phase | Not supported | |
| \Phi | $\Phi$ | |
| \phi | $\phi$ | |
| \Pi | $\Pi$ | |
| \pi | $\pi$ | |
| {picture} | Not supported | |
| \pitchfork | $\pitchfork$ | |
| \plim | $\plim$ | |
| \plusmn | $\plusmn$ | |
| \pm | $\pm$ | |
| \pmatrix | Not supported | See `{pmatrix}` |
| {pmatrix} | $\begin{pmatrix}a&b\\c&d\end{pmatrix}$ | `\begin{pmatrix}`
`a & b \\`
`c & d`
`\end{pmatrix}` |
| \pmb | $\pmb{\mu}$ | `\pmb{\mu}` |
| \pmod | $x\pmod a$ | `x\pmod a` |
| \pod | $x \pod a$ | `x \pod a` |
| \pounds | $\pounds$ | |
| \Pr | $\Pr$ | |
| \prec | $\prec$ | |
| \precapprox | $\precapprox$ | |
| \preccurlyeq | $\preccurlyeq$ | |
| \preceq | $\preceq$ | |
| \precnapprox | $\precnapprox$ | |
| \precneqq | $\precneqq$ | |
| \precnsim | $\precnsim$ | |
| \precsim | $\precsim$ | |
| \prime | $\prime$ | |
| \prod | $\prod$ | |
| \projlim | Not supported | |
| \propto | $\propto$ | |
| \providecommand | $\providecommand\greet{\text{Hello}} \greet$ | `\providecommand\greet{\text{Hello}} \greet` |
| \psi | $\psi$ | |
| \Psi | $\Psi$ | |
| \pu | ${123~\mathchoice{\textstyle\frac{\mathrm{kJ}}{\mathrm{mol}}}{\frac{\mathrm{kJ}}{\mathrm{mol}}}{\frac{\mathrm{kJ}}{\mathrm{mol}}}{\frac{\mathrm{kJ}}{\mathrm{mol}}}}$ | `\pu{123 kJ//mol}` Requires an [extension](https://github.com/KaTeX/KaTeX/tree/master/contrib/mhchem/) |
## QR
| Symbol/Function | Rendered | Source or Comment |
| :----------------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------- |
| \Q | Not supported | See `\Bbb{Q}` |
| \qquad | $a\qquad\qquad{b}$ | `a\qquad\qquad{b}` |
| \quad | $a\quad\quad{b}$ | `a\quad\quad{b}` |
| \R | $\R$ | |
| \r | $\text{\r{a}}$ | `\text{\r{a}}` |
| \raise | Not supported | see `\raisebox` |
| \raisebox | $h\raisebox{2pt}{ighe}r$ | `h\raisebox{2pt}{ighe}r` |
| \rang | $\langle A\rang$ | `\langle A\rang` |
| \rangle | $\langle A\rangle$ | `\langle A\rangle` |
| \Rarr | $\Rarr$ | |
| \rArr | $\rArr$ | |
| \rarr | $\rarr$ | |
| \rBrace | $\rBrace$ | |
| \rbrace | $\rbrace$ | |
| \rbrack | $\rbrack$ | |
| {rcases} | $\begin{rcases}a&\text{if }b\\c&\text{if }d\end{rcases}$ | `\begin{rcases}`
`a &\text{if } b \\`
`c &\text{if } d`
`\end{rcases}` |
| \rceil | $\rceil$ | |
| \Re | $\Re$ | |
| \real | $\real$ | |
| \Reals | $\Reals$ | |
| \reals | $\reals$ | |
| \ref | Not supported | [Issue #350](https://github.com/KaTeX/KaTeX/issues/350) |
| \relax | | |
| \renewcommand | $\def\hail{Hi!}\renewcommand\hail{\text{Ahoy!}} \hail$ | `\def\hail{Hi!}`
`\renewcommand\hail{\text{Ahoy!}}`
`\hail` |
| \renewenvironment | Not supported | |
| \require | Not supported | |
| \restriction | $\restriction$ | |
| \rfloor | $\rfloor$ | |
| \rgroup | $\rgroup$ | |
| \rhd | $\rhd$ | |
| \Rho | $\Rho$ | |
| \rho | $\rho$ | |
| \right | $\left.\dfrac a b\right)$ | `\left.\dfrac a b\right)` |
| \Rightarrow | $\Rightarrow$ | |
| \rightarrow | $\rightarrow$ | |
| \rightarrowtail | $\rightarrowtail$ | |
| \rightharpoondown | $\rightharpoondown$ | |
| \rightharpoonup | $\rightharpoonup$ | |
| \rightleftarrows | $\rightleftarrows$ | |
| \rightleftharpoons | $\rightleftharpoons$ | |
| \rightrightarrows | $\rightrightarrows$ | |
| \rightsquigarrow | $\rightsquigarrow$ | |
| \rightthreetimes | $\rightthreetimes$ | |
| \risingdotseq | $\risingdotseq$ | |
| \rlap | $\rlap{\,/}{=}$ | `\rlap{\,/}{=}` |
| \rm | $\rm AaBb12$ | `\rm AaBb12` |
| \rmoustache | $\rmoustache$ | |
| \root | Not supported | |
| \rotatebox | Not supported | [Issue #681](https://github.com/KaTeX/KaTeX/issues/681) |
| \rparen | $\rparen$ | |
| \rq | $\rq$ | |
| \rrbracket | $\rrbracket$ | |
| \Rrightarrow | $\Rrightarrow$ | |
| \Rsh | $\Rsh$ | |
| \rtimes | $\rtimes$ | |
| \Rule | Not supported | see `\rule` |
| \rule | $x\rule[6pt]{2ex}{1ex}x$ | `x\rule[6pt]{2ex}{1ex}x` |
| \rVert | $\rVert$ | |
| \rvert | $\rvert$ | |
## S
| Symbol/Function | Rendered | Source or Comment |
| :----------------- | :----------------------------------------------------- | :-------------------------------------------------------------------------------------------------------- |
| \S | $\text{\S}$ | `\text{\S}` |
| \Sampi | Not supported | |
| \sampi | Not supported | |
| \sc | Not supported | [Issue #471](https://github.com/KaTeX/KaTeX/issues/471) |
| \scalebox | Not supported | |
| \scr | Not supported | See `\mathscr` |
| \scriptscriptstyle | $\scriptscriptstyle \frac cd$ | `\scriptscriptstyle \frac cd` |
| \scriptsize | $\scriptsize scriptsize$ | `\scriptsize scriptsize` |
| \scriptstyle | $\frac ab + {\scriptstyle \frac cd}$ | `\frac ab + {\scriptstyle \frac cd}` |
| \sdot | $\sdot$ | |
| \searrow | $\searrow$ | |
| \sec | $\sec$ | |
| \sect | $\text{\sect}$ | `\text{\sect}` |
| \setlength | Not supported | [Issue #687](https://github.com/KaTeX/KaTeX/issues/687) |
| \setminus | $\setminus$ | |
| \sf | $\sf AaBb123$ | `\sf AaBb123` |
| \sharp | $\sharp$ | |
| \shortmid | $\shortmid$ | |
| \shortparallel | $\shortparallel$ | |
| \shoveleft | Not supported | |
| \shoveright | Not supported | |
| \sideset | Not supported | |
| \Sigma | $\Sigma$ | |
| \sigma | $\sigma$ | |
| \sim | $\sim$ | |
| \simeq | $\simeq$ | |
| \sin | $\sin$ | |
| \sinh | $\sinh$ | |
| \sixptsize | $\sixptsize sixptsize$ | `\sixptsize sixptsize` |
| \sh | $\sh$ | |
| \skew | Not supported | |
| \skip | Not supported | |
| \sl | Not supported | |
| \small | $\small small$ | `\small small` |
| \smallfrown | $\smallfrown$ | |
| \smallint | $\smallint$ | |
| {smallmatrix} | $\begin{smallmatrix} a & b \\ c & d \end{smallmatrix}$ | `\begin{smallmatrix}`
`a & b \\`
`c & d`
`\end{smallmatrix}` |
| \smallsetminus | $\smallsetminus$ | |
| \smallsmile | $\smallsmile$ | |
| \smash | $\left(x^{\smash{2}}\right)$ | `\left(x^{\smash{2}}\right)` |
| \smile | $\smile$ | |
| \smiley | Not supported | |
| \sout | $\sout{abc}$ | `\sout{abc}` |
| \Space | Not supported | see `\space` |
| \space | $a\space b$ | `a\space b` |
| \spades | $\spades$ | |
| \spadesuit | $\spadesuit$ | |
| \sphericalangle | $\sphericalangle$ | |
| {split} | Not supported | [Issue #1345](https://github.com/KaTeX/KaTeX/issues/1345) |
| \sqcap | $\sqcap$ | |
| \sqcup | $\sqcup$ | |
| \square | $\square$ | |
| \sqrt | $\sqrt[3]{x}$ | `\sqrt[3]{x}` |
| \sqsubset | $\sqsubset$ | |
| \sqsubseteq | $\sqsubseteq$ | |
| \sqsupset | $\sqsupset$ | |
| \sqsupseteq | $\sqsupseteq$ | |
| \ss | $\text{\ss}$ | `\text{\ss}` |
| \stackrel | $\stackrel{!}{=}$ | `\stackrel{!}{=}` |
| \star | $\star$ | |
| \Stigma | Not supported | |
| \stigma | Not supported | |
| \strut | Not supported | |
| \style | Not supported | Non standard |
| \sub | $\sub$ | |
| {subarray} | Not supported | |
| \sube | $\sube$ | |
| \Subset | $\Subset$ | |
| \subset | $\subset$ | |
| \subseteq | $\subseteq$ | |
| \subseteqq | $\subseteqq$ | |
| \subsetneq | $\subsetneq$ | |
| \subsetneqq | $\subsetneqq$ | |
| \substack | $$\sum_{\substack{0Not supported | [Issue #471](https://github.com/KaTeX/KaTeX/issues/471) |
| \textsf | $\textsf{AaBb123}$ | `\textsf{AaBb123}` |
| \textsl | Not supported | |
| \textsterling | $\text{\textsterling}$ | `\text{\textsterling}` |
| \textstyle | $\textstyle\sum_0^n$ | `\textstyle\sum_0^n` |
| \texttip | Not supported | |
| \texttt | $\texttt{AaBb123}$ | `\texttt{AaBb123}` |
| \textunderscore | $\text{\textunderscore}$ | `\text{\textunderscore}` |
| \textup | $\textup{AaBb123}$ | `\textup{AaBb123}` |
| \textvisiblespace | Not supported | |
| \tfrac | $\tfrac ab$ | `\tfrac ab` |
| \tg | $\tg$ | |
| \th | $\th$ | |
| \therefore | $\therefore$ | |
| \Theta | $\Theta$ | |
| \theta | $\theta$ | |
| \thetasym | $\thetasym$ | |
| \thickapprox | $\thickapprox$ | |
| \thicksim | $\thicksim$ | |
| \thickspace | $a\thickspace b$ | `a\thickspace b` |
| \thinspace | $a\thinspace b$ | `a\thinspace b` |
| \tilde | $\tilde M$ | `\tilde M` |
| \times | $\times$ | |
| \Tiny | Not supported | see `\tiny` |
| \tiny | $\tiny tiny$ | `\tiny tiny` |
| \to | $\to$ | |
| \toggle | Not supported | |
| \top | $\top$ | |
| \triangle | $\triangle$ | |
| \triangledown | $\triangledown$ | |
| \triangleleft | $\triangleleft$ | |
| \trianglelefteq | $\trianglelefteq$ | |
| \triangleq | $\triangleq$ | |
| \triangleright | $\triangleright$ | |
| \trianglerighteq | $\trianglerighteq$ | |
| \tt | ${\tt AaBb123}$ | `{\tt AaBb123}` |
| \twoheadleftarrow | $\twoheadleftarrow$ | |
| \twoheadrightarrow | $\twoheadrightarrow$ | |
## U
| Symbol/Function | Rendered | Source or Comment |
| :------------------- | :-------------------------------------------------- | :------------------------------------------ |
| \u | $\text{\u{a}}$ | `\text{\u{a}}` |
| \Uarr | $\Uarr$ | |
| \uArr | $\uArr$ | |
| \uarr | $\uarr$ | |
| \ulcorner | $\ulcorner$ | |
| \underbrace | $\underbrace{x+⋯+x}_{n\text{ times}}$ | `\underbrace{x+⋯+x}_{n\text{ times}}` |
| \underbracket | Not supported | |
| \undergroup | $\undergroup{AB}$ | `\undergroup{AB}` |
| \underleftarrow | $\underleftarrow{AB}$ | `\underleftarrow{AB}` |
| \underleftrightarrow | $\underleftrightarrow{AB}$ | `\underleftrightarrow{AB}` |
| \underrightarrow | $\underrightarrow{AB}$ | `\underrightarrow{AB}` |
| \underline | $\underline{\text{a long argument}}$ | `\underline{\text{a long argument}}` |
| \underlinesegment | $\underlinesegment{AB}$ | `\underlinesegment{AB}` |
| \underparen | Not supported | See `\undergroup` |
| \underrightarrow | $\underrightarrow{AB}$ | `\underrightarrow{AB}` |
| \underset | $\underset{!}{=}$ | `\underset{!}{=}` |
| \unicode | Not supported | |
| \unlhd | $\unlhd$ | |
| \unrhd | $\unrhd$ | |
| \up | Not supported | |
| \Uparrow | $\Uparrow$ | |
| \uparrow | $\uparrow$ | |
| \Updownarrow | $\Updownarrow$ | |
| \updownarrow | $\updownarrow$ | |
| \upharpoonleft | $\upharpoonleft$ | |
| \upharpoonright | $\upharpoonright$ | |
| \uplus | $\uplus$ | |
| \uproot | Not supported | |
| \upshape | Not supported | |
| \Upsilon | $\Upsilon$ | |
| \upsilon | $\upsilon$ | |
| \upuparrows | $\upuparrows$ | |
| \urcorner | $\urcorner$ | |
| \url | $\footnotesize\url{https://katex.org/}$ | `\url{https://katex.org/}` Requires `trust` |
| \utilde | $\utilde{AB}$ | `\utilde{AB}` |
## V
| Symbol/Function | Rendered | Source or Comment |
| :---------------- | :-------------------------------------------------- | :------------------------------------------------------------------------------------------------ |
| \v | $\text{\v{a}}$ | `\text{\v{a}}` |
| \varcoppa | Not supported | |
| \varDelta | $\varDelta$ | |
| \varepsilon | $\varepsilon$ | |
| \varGamma | $\varGamma$ | |
| \varinjlim | Not supported | |
| \varkappa | $\varkappa$ | |
| \varLambda | $\varLambda$ | |
| \varliminf | Not supported | |
| \varlimsup | Not supported | |
| \varnothing | $\varnothing$ | |
| \varOmega | $\varOmega$ | |
| \varPhi | $\varPhi$ | |
| \varphi | $\varphi$ | |
| \varPi | $\varPi$ | |
| \varpi | $\varpi$ | |
| \varprojlim | Not supported | |
| \varpropto | $\varpropto$ | |
| \varPsi | $\varPsi$ | |
| \varPsi | $\varPsi$ | |
| \varrho | $\varrho$ | |
| \varSigma | $\varSigma$ | |
| \varsigma | $\varsigma$ | |
| \varstigma | Not supported | |
| \varsubsetneq | $\varsubsetneq$ | |
| \varsubsetneqq | $\varsubsetneqq$ | |
| \varsupsetneq | $\varsupsetneq$ | |
| \varsupsetneqq | $\varsupsetneqq$ | |
| \varTheta | $\varTheta$ | |
| \vartheta | $\vartheta$ | |
| \vartriangle | $\vartriangle$ | |
| \vartriangleleft | $\vartriangleleft$ | |
| \vartriangleright | $\vartriangleright$ | |
| \varUpsilon | $\varUpsilon$ | |
| \varXi | $\varXi$ | |
| \vcentcolon | $\vcentcolon$ | |
| \vcenter | Not supported | |
| \Vdash | $\Vdash$ | |
| \vDash | $\vDash$ | |
| \vdash | $\vdash$ | |
| \vdots | $\vdots$ | |
| \vec | $\vec{F}$ | `\vec{F}` |
| \vee | $\vee$ | |
| \veebar | $\veebar$ | |
| \verb | $\verb!\frac a b!$ | `\verb!\frac a b!` |
| \Vert | $\Vert$ | |
| \vert | $\vert$ | |
| \vfil | Not supported | |
| \vfill | Not supported | |
| \vline | Not supported | [Issue #269](https://github.com/KaTeX/KaTeX/issues/269) |
| {Vmatrix} | $\begin{Vmatrix}a&b\\c&d\end{Vmatrix}$ | `\begin{Vmatrix}`
`a & b \\`
`c & d`
`\end{Vmatrix}` |
| {vmatrix} | $\begin{vmatrix}a&b\\c&d\end{vmatrix}$ | `\begin{vmatrix}`
`a & b \\`
`c & d`
`\end{vmatrix}` |
| \vphantom | $\overline{\vphantom{M}a}$ | `\overline{\vphantom{M}a}` |
| \Vvdash | $\Vvdash$ | |
## W
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :-------------------------------------------------- | :------------------------------------------------------ |
| \wedge | $\wedge$ | |
| \weierp | $\weierp$ | |
| \widecheck | $\widecheck{AB}$ | `\widecheck{AB}` |
| \widehat | $\widehat{AB}$ | `\widehat{AB}` |
| \wideparen | Not supported | [Issue #560](https://github.com/KaTeX/KaTeX/issues/560) |
| \widetilde | $\widetilde{AB}$ | `\widetilde{AB}` |
| \wp | $\wp$ | |
| \wr | $\wr$ | |
## X
| Symbol/Function | Rendered | Source or Comment |
| :------------------ | :----------------------------------------- | :----------------------------------------- |
| \xcancel | $\xcancel{ABC}$ | `\xcancel{ABC}` |
| \xdef | $\def\foo{a}\xdef\bar{\foo}\def\foo{}\bar$ | `\def\foo{a}\xdef\bar{\foo}\def\foo{}\bar` |
| \Xi | $\Xi$ | |
| \xi | $\xi$ | |
| \xhookleftarrow | $\xhookleftarrow{abc}$ | `\xhookleftarrow{abc}` |
| \xhookrightarrow | $\xhookrightarrow{abc}$ | `\xhookrightarrow{abc}` |
| \xLeftarrow | $\xLeftarrow{abc}$ | `\xLeftarrow{abc}` |
| \xleftarrow | $\xleftarrow{abc}$ | `\xleftarrow{abc}` |
| \xleftharpoondown | $\xleftharpoondown{abc}$ | `\xleftharpoondown{abc}` |
| \xleftharpoonup | $\xleftharpoonup{abc}$ | `\xleftharpoonup{abc}` |
| \xLeftrightarrow | $\xLeftrightarrow{abc}$ | `\xLeftrightarrow{abc}` |
| \xleftrightarrow | $\xleftrightarrow{abc}$ | `\xleftrightarrow{abc}` |
| \xleftrightharpoons | $\xleftrightharpoons{abc}$ | `\xleftrightharpoons{abc}` |
| \xlongequal | $\xlongequal{abc}$ | `\xlongequal{abc}` |
| \xmapsto | $\xmapsto{abc}$ | `\xmapsto{abc}` |
| \xRightarrow | $\xRightarrow{abc}$ | `\xRightarrow{abc}` |
| \xrightarrow | $\xrightarrow{abc}$ | `\xrightarrow{abc}` |
| \xrightharpoondown | $\xrightharpoondown{abc}$ | `\xrightharpoondown{abc}` |
| \xrightharpoonup | $\xrightharpoonup{abc}$ | `\xrightharpoonup{abc}` |
| \xrightleftharpoons | $\xrightleftharpoons{abc}$ | `\xrightleftharpoons{abc}` |
| \xtofrom | $\xtofrom{abc}$ | `\xtofrom{abc}` |
| \xtwoheadleftarrow | $\xtwoheadleftarrow{abc}$ | `\xtwoheadleftarrow{abc}` |
| \xtwoheadrightarrow | $\xtwoheadrightarrow{abc}$ | `\xtwoheadrightarrow{abc}` |
## YZ
| Symbol/Function | Rendered | Source or Comment |
| :-------------- | :------- | :---------------- |
| \yen | $\yen$ | |
| \Z | $\Z$ | |
| \Zeta | $\Zeta$ | |
| \zeta | $\zeta$ | |