:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
KaTeX:\bra{\phi} |
\bra{\phi} | KaTeX:\ket{\psi} |
\ket{\psi} | KaTeX:\braket{\phi|\psi} |
\braket{\phi|\psi} |
KaTeX:\Bra{\phi} |
\Bra{\phi} | KaTeX:\Ket{\psi} |
\Ket{\psi} | KaTeX:\Braket{ Ï | \frac{â^2}{â t^2} | Ï } |
\Braket{ Ï | \frac{â^2}{â t^2} | Ï } |
Supported Functions
special symbols
Logic and Set Theory
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
KaTeX:\forall |
\forall |
KaTeX:\complement |
\complement |
KaTeX:\therefore |
\therefore |
KaTeX:\emptyset |
\emptyset |
KaTeX:\exists |
\exists |
KaTeX:\subset |
\subset |
KaTeX:\because |
\because |
KaTeX:\empty |
\empty |
KaTeX:\exist |
\exist |
KaTeX:\supset |
\supset |
KaTeX:\mapsto |
\mapsto |
KaTeX:\varnothing |
\varnothing |
KaTeX:\nexists |
\nexists |
KaTeX:\mid |
\mid |
KaTeX:\to |
\to |
KaTeX:\implies |
\implies |
KaTeX:\in |
\in |
KaTeX:\land |
\land |
KaTeX:\gets |
\gets |
KaTeX:\impliedby |
\impliedby |
KaTeX:\isin |
\isin |
KaTeX:\lor |
\lor |
KaTeX:\leftrightarrow |
\leftrightarrow |
KaTeX:\iff |
\iff |
| KaTeX:\notin
| \notin
| KaTeX:\ni
| \ni
| KaTeX:\notni
| \notni
| KaTeX:\neg
KaTeX:\lnot
| \neg
or \lnot
|
:- | :- | :- | :- |
---|---|---|---|
KaTeX:\Set{ x | x<\frac 1 2 } |
\Set{ x | x<\frac 1 2 } | KaTeX:\set{x|x<5} |
standard function name
preview | method | preview | method | preview | method | preview | method |
---|---|---|---|---|---|---|---|
KaTeX:\arccos |
\arccos |
KaTeX:\arcsin |
\arcsin |
KaTeX:\arcsin |
\arcsin |
KaTeX:\arg |
\arg |
KaTeX:\cos |
\cos |
KaTeX:\cosh |
\cosh |
KaTeX:\cot |
\cot |
KaTeX:\coth |
\coth |
KaTeX:\csc |
\csc |
KaTeX:\deg |
\deg |
KaTeX:\det |
\det |
KaTeX:\dim |
\dim |
KaTeX:\exp |
\exp |
KaTeX:\gcd |
\gcd |
KaTeX:\hom |
\hom |
KaTeX:\inf |
\inf |
KaTeX:\ker |
\ker |
KaTeX:\lg |
\lg |
KaTeX:\lim |
\lim |
KaTeX:\liminf |
\liminf |
KaTeX:\limsup |
\limsup |
KaTeX:\ln |
\ln |
KaTeX:\log |
\log |
KaTeX:\max |
\max |
KaTeX:\min |
\min |
KaTeX:\Pr |
\Pr |
KaTeX:\sec |
\sec |
KaTeX:\sin |
\sin |
KaTeX:\sinh |
\sinh |
KaTeX:\sup |
\sup |
KaTeX:\tan |
\tan |
KaTeX:\tanh |
\tanh |
#Function names should be in roman font, not italics, for example:
:- | :- | :- | :- |
---|---|---|---|
Correct: | \tan(at-n\pi) |
KaTeX:\rightarrow |
KaTeX:\tan(at-n\pi) |
Incorrect: | tan(at-n\pi) |
katex:\rightarrow |
KaTeX:tan(at-n\pi) |
Variable Size Symbols
preview | method | preview | method | preview | method | preview | method | preview | method |
---|---|---|---|---|---|---|---|---|---|
KaTeX:\sum |
\sum |
KaTeX:\int |
\int |
KaTeX:\biguplus |
\biguplus |
KaTeX:\bigoplus |
\bigoplus |
KaTeX:\bigvee |
\bigvee |
KaTeX:\prod |
\prod |
KaTeX:\oint |
\oint |
KaTeX:\bigcap |
\bigcap |
KaTeX:\bigotimes |
\bigotimes |
KaTeX:\bigwedge |
\bigwedge |
KaTeX:\coprod |
\coprod |
KaTeX:\iint |
\iint |
KaTeX:\bigcup |
\bigcup |
KaTeX:\bigodot |
\bigodot |
KaTeX:\bigodot |
\bigodot |
Delimiters
preview | method | preview | method | preview | method | preview | method | preview | method |
---|---|---|---|---|---|---|---|---|---|
KaTeX:() |
() |
KaTeX:\lparen \rparen |
\lparen \rparen |
KaTeX:â â |
â â |
KaTeX:\lceil \rceil |
\lceil \rceil |
KaTeX:\uparrow |
\uparrow |
KaTeX:[] |
[] |
KaTeX:\lbrack \rbrack |
\lbrack \rbrack |
KaTeX:â â |
â â |
KaTeX:\lfloor \rfloor |
\lfloor \rfloor |
KaTeX:\downarrow |
\downarrow |
KaTeX:\{ \} |
{} |
KaTeX:\lbrace \rbrace |
\lbrace \rbrace |
KaTeX:â°â± |
â°â± |
KaTeX:\lmoustache \rmoustache |
\lmoustache \rmoustache |
KaTeX:\updownarrow |
\updownarrow |
KaTeX:⨠⩠|
â¨â© |
KaTeX:\langle \rangle |
\langle \rangle |
KaTeX:⮠⯠|
⮠⯠|
KaTeX:\lgroup \rgroup |
\lgroup \rgroup |
KaTeX:\Uparrow |
\Uparrow |
KaTeX:⣠|
| |
KaTeX:\vert |
\vert |
KaTeX:â â |
â â |
KaTeX:\ulcorner \urcorner |
\ulcorner \urcorner |
KaTeX:\Downarrow |
\Downarrow |
KaTeX:| (MD syntax conflict) |
| |
KaTeX:\Vert |
\Vert |
KaTeX:â â |
â â |
KaTeX:\llcorner \lrcorner |
\llcorner \lrcorner |
KaTeX:\Updownarrow |
\Updownarrow |
KaTeX:⣠⣠|
\lvert \rvert |
KaTeX:\lVert \rVert |
\lVert \rVert |
\left. |
\right. |
KaTeX:\backslash |
\backslash |
||
KaTeX:\lang KaTeX:\rang |
\lang \rang |
KaTeX:\lt \gt |
\lt \gt |
KaTeX:⦠⧠|
⦠⧠|
KaTeX:\llbracket \rrbracket |
\llbracket \rrbracket |
KaTeX:\lBrace \rBrace |
\lBrace \rBrace |
The pair of expressions \left KaTeX:s_1 and \right KaTeX:s_2 can be used to match the height of the separators KaTeX:s_1 and KaTeX:s_2 to the height of their content, e.g. : |
|||||||||
:- | :- | :- | :- | :- | :- | :- | :- | :- | :- |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
KaTeX:\left| |
KaTeX:expr |
KaTeX:\right| |
KaTeX:\left\{ |
KaTeX:expr |
KaTeX:\right\} |
KaTeX:\left\Vert |
KaTeX:expr |
KaTeX:\LaTeX math constructs
é¢è§ | æ¹æ³ | é¢è§ | æ¹æ³ | é¢è§ | æ¹æ³ |
---|---|---|---|---|---|
KaTeX:\frac{abc}{xyz} |
\frac{abc}{xyz} |
KaTeX:\overline{abc} |
\overline{abc} |
KaTeX:\overrightarrow{abc} |
\overrightarrow{abc} |
KaTeX:f' |
f' |
KaTeX:\underline{abc} |
\underline{abc} |
KaTeX:\overleftarrow{abc} |
\overleftarrow{abc} |
KaTeX:\sqrt{abc} |
\sqrt{abc} |
KaTeX:\widehat{abc} |
\widehat{abc} |
KaTeX:\overbrace{abc} |
\overbrace{abc} |
KaTeX:\sqrt[n]{abc} |
\sqrt[n]{abc} |
KaTeX:\widetilde{abc} |
\widetilde{abc} |
KaTeX:\underbrace{abc} |
\underbrace{abc} |
Overlap and Spacing
:- | :- | :- | :- |
---|---|---|---|
KaTeX:{=}\mathllap{/\,} {=}\mathllap{/,} |
KaTeX:\left(x^{\smash{2}}\right) |
\left(x^{\smash{2}}\right) | |
KaTeX:\mathrlap{\,/}{=} \mathrlap{,/}{=} |
KaTeX:\sqrt{\smash[b]{y}} |
\sqrt{\smash[b]{y}} | |
\sum_{\mathclap{1\le i\le j\le n}} x_{ij} |
\sum_{\mathclap{1\le i\le j\le n}} x_{ij}
Vertical layout
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
KaTeX:x_n |
x_n |
KaTeX:\stackrel{!}{=} |
\stackrel{!}{=} |
KaTeX:a \atop b |
a \atop b |
KaTeX:e^x |
e^x |
KaTeX:\overset{!}{=} |
\overset{!}{=} |
KaTeX:a\raisebox{0.25em}{$b$}c |
a\raisebox{0.25em}{$b$}c |
KaTeX:_u^o |
_u^o |
KaTeX:\underset{!}{=} |
\underset{!}{=} |
KaTeX:a+\left(\vcenter{\hbox{$\frac{\frac a b}c$}}\right) |
a+\left(\vcenter{\hbox{$\frac{\frac a b}c$}}\right) |
KaTeX:\sum_{\substack{0<i<m\\0<j<n}} |
\sum_{\substack{0<i<m\\0<j<n}} |
Annotation
:- | :- | :- | :- | :- |
---|---|---|---|---|
KaTeX:\cancel{5} |
\cancel{5} |
KaTeX:\overbrace{a+b+c}^{\text{note}} |
\overbrace{a+b+c}^{\text{note}} |
|
KaTeX:\bcancel{5} |
\bcancel{5} |
KaTeX:\underbrace{a+b+c}_{\text{note}} |
\underbrace{a+b+c}_{\text{note}} |
|
KaTeX:\xcancel{ABC} |
\xcancel{ABC} |
KaTeX:\not = |
\not = |
|
KaTeX:\sout{abc} |
\sout{abc} |
KaTeX:\boxed{\pi=\frac c d} |
\boxed{\pi=\frac c d} |
|
KaTeX:\$a_{\angl n} MD syntax conflict |
$a_{\angl n} |
KaTeX:a_\angln |
a_\angln |
|
KaTeX:\phase{-78^\circ} |
\phase{-78^\circ} |
|||
\tag{hi} x+y^{2x} |
\tag{hi} x+y^{2x}
\tag*{hi} x+y^{2x}
\tag*{hi} x+y^{2x}
Alphabets and Unicode
preview | method | preview | method | preview | method | preview | method |
---|---|---|---|---|---|---|---|
KaTeX:\Alpha |
\Alpha |
KaTeX:\Beta |
\Beta |
KaTeX:\Gamma |
\Gamma |
KaTeX:\Delta |
\Delta |
KaTeX:\Epsilon |
\Epsilon |
KaTeX:\Zeta |
\Zeta |
KaTeX:\Eta |
\Eta |
KaTeX:\Theta |
\Theta |
KaTeX:\Iota |
\Iota |
KaTeX:\Kappa |
\Kappa |
KaTeX:\Lambda |
\Lambda |
KaTeX:\Mu |
\Mu |
KaTeX:\Nu |
\Nu |
KaTeX:\Xi |
\Xi |
KaTeX:\Omicron |
\Omicron |
KaTeX:\Pi |
\Pi |
KaTeX:\Rho |
\Rho |
KaTeX:\Sigma |
\Sigma |
KaTeX:\Tau |
\Tau |
KaTeX:\Upsilon |
\Upsilon |
KaTeX:\Phi |
\Phi |
KaTeX:\Chi |
\Chi |
KaTeX:\Psi |
\Psi |
KaTeX:\Omega |
\Omega |
KaTeX:\varGamma |
\varGamma |
KaTeX:\varDelta |
\varDelta |
KaTeX:\varTheta |
\varTheta |
KaTeX:\varLambda |
\varLambda |
KaTeX:\varXi |
\varXi |
KaTeX:\varPi |
\varPi |
KaTeX:\varSigma |
\varSigma |
KaTeX:\varUpsilon |
\varUpsilon |
KaTeX:\varPhi |
\varPhi |
KaTeX:\varPsi |
\varPsi |
KaTeX:\varOmega |
\varOmega |
||
KaTeX:\alpha |
\alpha |
KaTeX:\beta |
\beta |
KaTeX:\gamma |
\gamma |
KaTeX:\delta |
\delta |
KaTeX:\epsilon |
\epsilon |
KaTeX:\zeta |
\zeta |
KaTeX:\eta |
\eta |
KaTeX:\theta |
\theta |
KaTeX:\iota |
\iota |
KaTeX:\kappa |
\kappa |
KaTeX:\lambda |
\lambda |
KaTeX:\mu |
\mu |
KaTeX:\nu |
\nu |
KaTeX:\xi |
\xi |
KaTeX:\omicron |
\omicron |
KaTeX:\pi |
\pi |
KaTeX:\rho |
\rho |
KaTeX:\sigma |
\sigma |
KaTeX:\tau |
\tau |
KaTeX:\upsilon |
\upsilon |
KaTeX:\phi |
\phi |
KaTeX:\chi |
\chi |
KaTeX:\psi |
\psi |
KaTeX:\omega |
\omega |
KaTeX:\varepsilon |
\varepsilon |
KaTeX:\varkappa |
\varkappa |
KaTeX:\vartheta |
\vartheta |
KaTeX:\thetasym |
\thetasym |
KaTeX:\varpi |
\varpi |
KaTeX:\varrho |
\varrho |
KaTeX:\varsigma |
\varsigma |
KaTeX:\varphi |
\varphi |
KaTeX:\digamma |
\digamma |
Greek and Hebrew letters
preview | method | preview | method | preview | method | preview | method | preview | method | preview | method |
---|---|---|---|---|---|---|---|---|---|---|---|
KaTeX:\alpha |
\alpha |
KaTeX:\kappa |
\kappa |
KaTeX:\psi |
\psi |
KaTeX:\digamma |
\digamma |
KaTeX:\Delta |
\Delta |
KaTeX:\Theta |
\Theta |
KaTeX:\beta |
\beta |
KaTeX:\lambda |
\lambda |
KaTeX:\rho |
\rho |
KaTeX:\varepsilon |
\varepsilon |
KaTeX:\Gamma |
\Gamma |
KaTeX:\Upsilon |
\Upsilon |
KaTeX:\chi |
\chi |
KaTeX:\mu |
\mu |
KaTeX:\sigma |
\sigma |
KaTeX:\varkappa |
\varkappa |
KaTeX:\Lambda |
\Lambda |
KaTeX:\Xi |
\Xi |
KaTeX:\delta |
\delta |
KaTeX:\nu |
\nu |
KaTeX:\tau |
\tau |
KaTeX:\varphi |
\varphi |
KaTeX:\Omega |
\Omega |
||
KaTeX:\epsilon |
\epsilon |
KaTeX:o |
o |
KaTeX:\theta |
\theta |
KaTeX:\varpi |
\varpi |
KaTeX:\Phi |
\Phi |
KaTeX:\aleph |
\aleph |
KaTeX:\eta |
\eta |
KaTeX:\omega |
\omega |
KaTeX:\upsilon |
\upsilon |
KaTeX:\varrho |
\varrho |
KaTeX:\Pi |
\Pi |
KaTeX:\beth |
\beth |
KaTeX:\gamma |
\gamma |
KaTeX:\phi |
\phi |
KaTeX:\xi |
\xi |
KaTeX:\varsigma |
\varsigma |
KaTeX:\Psi |
\Psi |
KaTeX:\daleth |
\daleth |
KaTeX:\iota |
\iota |
KaTeX:\pi |
\pi |
KaTeX:\zeta |
\zeta |
KaTeX:\vartheta |
\vartheta |
KaTeX:\Sigma |
\Sigma |
KaTeX:\gimel |
\gimel |
#Other letters
:- | :- | :- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|---|---|
KaTeX:\imath |
\imath |
KaTeX:\nabla |
\nabla |
KaTeX:\Im |
\Im |
KaTeX:\Reals |
\Reals |
KaTeX:\text{\OE} |
\text{\OE} |
KaTeX:\jmath |
\jmath |
KaTeX:\partial |
\partial |
KaTeX:\image |
\image |
KaTeX:\wp |
\wp |
KaTeX:\text{\o} |
\text{\o} |
KaTeX:\aleph |
\aleph |
KaTeX:\Game |
\Game |
KaTeX:\Bbbk |
\Bbbk |
KaTeX:\weierp |
\weierp |
KaTeX:\text{\O} |
\text{\O} |
KaTeX:\alef |
\alef |
KaTeX:\Finv |
\Finv |
KaTeX:\N |
\N |
KaTeX:\Z |
\Z |
KaTeX:\text{\ss} |
\text{\ss} |
KaTeX:\alefsym |
\alefsym |
KaTeX:\cnums |
\cnums |
KaTeX:\natnums |
\natnums |
KaTeX:\text{\aa} |
\text{\aa} |
KaTeX:\text{\i} |
\text{\i} |
KaTeX:\beth |
\beth |
KaTeX:\Complex |
\Complex |
KaTeX:\R |
\R |
KaTeX:\text{\AA} |
\text{\AA} |
KaTeX:\text{\j} |
\text{\j} |
KaTeX:\gimel |
\gimel |
KaTeX:\ell |
\ell |
KaTeX:\Re |
\Re |
KaTeX:\text{\ae} |
\text{\ae} |
||
KaTeX:\daleth |
\daleth |
KaTeX:\hbar |
\hbar |
KaTeX:\real |
\real |
KaTeX:\text{\AE} |
\text{\AE} |
||
KaTeX:\eth |
\eth |
KaTeX:\hslash |
\hslash |
KaTeX:\reals |
\reals |
KaTeX:\text{\oe} |
\text{\oe} |
Delimiter Sizing
:- | :- |
---|---|
KaTeX:\left(\LARGE{AB}\right) |
\left(\LARGE{AB}\right) |
| KaTeX:( \big( \Big( \bigg( \Bigg(
| ( \big( \Big( \bigg( \Bigg(
|
:- | :- | :- | :- | :- |
---|---|---|---|---|
\left |
\big |
\bigl |
\bigm |
\bigr |
\middle |
\Big |
\Bigl |
\Bigm |
\Bigr |
\right |
\bigg |
\biggl |
\biggm |
\biggr |
\ |
\Bigg |
\Biggl |
\Biggm |
\Biggr |
Emphasis in \text
:- | :- | :- |
---|---|---|
KaTeX:\'{a} \'{a} |
KaTeX:\~{a} \~{a} |
|
KaTeX:\.{a} \.{a} |
KaTeX:\H{a} \H{a} |
|
KaTeX:\\\ {a} `{a}| KaTeX:={a} ={a}` |
||
KaTeX:\"{a} \"{a} |
KaTeX:\v{a} \v{a} |
|
KaTeX:\^{a} \^{a} |
KaTeX:\u{a} \u{a} |
|
KaTeX:\r{a} \r{a} |
Accents
:- | :- | :- |
---|---|---|
KaTeX:a' a' |
KaTeX:\tilde{a} \tilde{a} |
KaTeX:\mathring{g} \mathring{g} |
KaTeX:a'' a'' |
KaTeX:\widetilde{ac} \widetilde{ac} |
KaTeX:\overgroup{AB} \overgroup{AB} |
KaTeX:a^{\prime} a^{\prime} |
KaTeX:\utilde{AB} \utilde{AB} |
KaTeX:\undergroup{AB} \undergroup{AB} |
KaTeX:\acute{a} \acute{a} |
KaTeX:\vec{F} \vec{F} |
KaTeX:\Overrightarrow{AB} \Overrightarrow{AB} |
KaTeX:\bar{y} \bar{y} |
KaTeX:\overleftarrow{AB} \overleftarrow{AB} |
KaTeX:\overrightarrow{AB} \overrightarrow{AB} |
KaTeX:\breve{a} \breve{a} |
KaTeX:\underleftarrow{AB} \underleftarrow{AB} |
KaTeX:\underrightarrow{AB} \underrightarrow{AB} |
KaTeX:\check{a} \check{a} |
KaTeX:\overleftharpoon{ac} \overleftharpoon{ac} |
KaTeX:\overrightharpoon{ac} \overrightharpoon{ac} |
KaTeX:\dot{a} \dot{a} |
KaTeX:\overleftrightarrow{AB} \overleftrightarrow{AB} |
KaTeX:\overbrace{AB} \overbrace{AB} |
KaTeX:\ddot{a} \ddot{a} |
KaTeX:\underleftrightarrow{AB} \underleftrightarrow{AB} |
KaTeX:\underbrace{AB} \underbrace{AB} |
KaTeX:\grave{a} \grave{a} |
KaTeX:\overline{AB} \overline{AB} |
KaTeX:\overlinesegment{AB} \overlinesegment{AB} |
KaTeX:\hat{\theta} \hat{\theta} |
KaTeX:\underline{AB} \underline{AB} |
KaTeX:\underlinesegment{AB} \underlinesegment{AB} |
KaTeX:\widehat{ac} \widehat{ac} |
KaTeX:\widecheck{ac} \widecheck{ac} |
KaTeX:\underbar{X} \underbar{X} |
Comments