# MathJax-LaTeX

Contents

MathJax-LaTeX’s $$\LaTeX$$ in WordPress.

Upper-case numbers look like $$0123456789$$ or $$\mathrm{0123456789}$$ and lower-case numbers look like $$\mathcal{0123456789}$$. They’re made by using 0123456789, \mathrm{0123456789}, and \mathcal{0123456789}, respectively.

We can put a fraction $$\frac{200}{3456}$$ in the middle of this sentence by using \frac{200}{3456}.

$$\mathbb{U} = \lbrace \mathbb{R}, \mathbb{C} \rbrace$$ — The universal set is equal to real numbers and complex numbers.

## Symbols

### Miscellaneous Symbols

Code Result Notes
\bullet $$\bullet$$
\cdot $$\cdot$$
\lbrace \rbrace $$\lbrace \quad \rbrace$$
= $$=$$
\ne $$\ne$$
\approx $$\approx$$
\equiv $$\equiv$$
+ $$+$$
$$-$$
\pm $$\pm$$
\times $$\times$$
\div $$\div$$
< $$<$$
> $$>$$
\le $$\le$$
\ge $$\ge$$
\parallel $$\parallel$$
\lfloor \rfloor $$\lfloor \quad \rfloor$$
\lceil \rceil $$\lceil \quad \rceil$$
\langle\ \rangle $$\langle \quad \rangle$$
\sum $$\sum$$
\prod $$\prod$$
\emptyset $$\emptyset$$
\varnothing — Not defined by MathJax-LaTeX.
\int $$\int$$
\therefore ∴ — Not defined by MathJax-LaTeX.
\because ∵ — Not defined by MathJax-LaTeX.
\widehat{xxx} $$\widehat{xxx}$$
\overline{xxx} $$\overline{xxx}$$
\underline{xxx} $$\underline{xxx}$$
\overbrace{xxx} $$\overbrace{xxx}$$
\underbrace{xxx} $$\underbrace{xxx}$$
|\phantom{\int XXX}|
|\int XXX|
|$$\phantom{\int XXX}$$|
|$$\int XXX$$|
Space as high and wide as integral and three Xs.
|\hphantom{\int XXX}|
|\int XXX|
|$$\hphantom{\int XXX}$$|
|$$\int XXX$$|
Space as wide as integral and three Xs and 0 height.
|\vphantom{\int XXX}|
|\int XXX|
|$$\vphantom{\int XXX}$$| |$$\int XXX$$| Space as high as integral and three Xs and 0 width.
\infty $$\infty$$
\LaTeX $$\LaTeX$$
\spadesuit $$\spadesuit$$
\clubsuit $$\clubsuit$$
\heartsuit $$\heartsuit$$
\diamondsuit $$\diamondsuit$$

## Letters

### Greek Letters

Upper-Case Lower-Case Miscellaneous
\Alpha Α \alpha $$\alpha$$
\Beta Β \beta $$\beta$$
\Gamma $$\Gamma$$ \gamma $$\gamma$$ \Digamma
\digamma ϝ
\varGamma Γ
\vargamma
\Delta $$\Delta$$ \delta $$\delta$$
\Epsilon Ε \epsilon $$\epsilon$$ \varepsilon $$\varepsilon$$
\backepsilon
\Zeta Ζ \zeta $$\zeta$$
\Eta Η \eta $$\eta$$
\Theta $$\Theta$$ \theta $$\theta$$ \vartheta $$\vartheta$$
\Iota Ι \iota $$\iota$$
\Kappa Κ \kappa $$\kappa$$ \varkappa
\Lambda $$\Lambda$$ \lambda $$\lambda$$
\Mu Μ \mu $$\mu$$
\Nu Ν \nu $$\nu$$
\Xi $$\Xi$$ \xi $$\xi$$
\Omicron Ο \omicron $$\omicron$$
\Pi $$\Pi$$ \pi $$\pi$$ \varpi $$\varpi$$
\Rho Ρ \rho $$\rho$$ \varrho $$\varrho$$
\Sigma $$\Sigma$$ \sigma $$\sigma$$ \varsigma $$\varsigma$$
\Tau Τ \tau $$\tau$$
\Upsilon $$\Upsilon$$ \upsilon $$\upsilon$$
\Phi $$\Phi$$ \phi $$\phi$$ \varphi $$\varphi$$
\Chi Χ \chi $$\chi$$
\Psi $$\Psi$$ \psi $$\psi$$
\Omega $$\Omega$$ \omega $$\omega$$

### Miscellaneous Letters

Code Result Notes
\aleph $$\aleph$$ ℵ א — U+2135 &alefsym;
\Bbbk $$\mathbb{k}$$ — Not defined by MathJax-LaTeX.
\Bbb{k} $$\Bbb{k}$$ Used to draw blackboard-bold lowercase k.
\mathbb{k} $$\mathbb{k}$$ Used to draw blackboard-bold lowercase k.
\beth ב
\circledS Ⓢ — Not defined by MathJax-LaTeX.
\complement ∁ — Not defined by MathJax-LaTeX.
\daleth ד
\ell $$\ell$$
\eth ð — Not defined by MathJax-LaTeX.
\Finv Ⅎ — Not defined by MathJax-LaTeX.
\Game ⅁ — Not defined by MathJax-LaTeX.
\gimel ג
\hbar ℏ — Not defined by MathJax-LaTeX.
\hslash ℏ — Not defined by MathJax-LaTeX.
\Im $$\Im$$ Imaginary part of a complex number.
\mho ℧ — Not defined by MathJax-LaTeX.
\partial $$\partial$$
\Re $$\Re$$ Real part of a complex number.
\wp ℘ — Not defined by MathJax-LaTeX.

## Fonts

### Regular Letters

Code Result Notes
ABCDEFGHIJKLM
NOPQRSTUVWXYZ
$$ABCDEFGHIJKLM$$
$$NOPQRSTUVWXYZ$$
abcdefghijklm
nopqrstuvwxyz
$$abcdefghijklm$$
$$nopqrstuvwxyz$$
0 1 2 3 4 5 6 7 8 9 $$0 1 2 3 4 5 6 7 8 9$$

### Blackboard Bold

Code Result Notes
\mathbb{ABCDEFGHIJKLM}
\mathbb{NOPQRSTUVWXYZ}
\Bbb{ABCDEFGHIJKLM}
\Bbb{NOPQRSTUVWXYZ}
$$\mathbb{ABCDEFGHIJKLM}$$
$$\mathbb{NOPQRSTUVWXYZ}$$
$$\Bbb{ABCDEFGHIJKLM}$$
$$\Bbb{NOPQRSTUVWXYZ}$$
$$\mathbb{B}$$ = Boolean domain: {0, 1} or {false, true}
$$\mathbb{C}$$ = complex numbers
$$\mathbb{H}$$ = quaternions
$$\mathbb{N}$$ = natural numbers
$$\mathbb{N}_0$$ = natural numbers (with zero)
$$\mathbb{N}_1$$ = natural numbers (without zero)
$$\mathbb{O}$$ = octonians
$$\mathbb{Q}$$ = rational numbers
$$\mathbb{R}$$ = real numbers
$$\mathbb{R_{>0}}$$ = positive real numbers
$$\mathbb{R_{\ge 0}}$$ = non-negative real numbers
$$\mathbb{S}$$ = sedenions
$$\mathbb{U}$$ = universal set
$$\mathbb{Z}$$ = integer numbers
$$\mathbb{Z}_n$$ = integer numbers modulo $$n$$
\mathbb{abcdefghijklm}
\mathbb{nopqrstuvwxyz}
\Bbb{abcdefghijklm}
\Bbb{nopqrstuvwxyz}
$$\mathbb{abcdefghijklm}$$
$$\mathbb{nopqrstuvwxyz}$$
$$\Bbb{abcdefghijklm}$$
$$\Bbb{nopqrstuvwxyz}$$
$$\mathbb{k}$$ = ?
\mathbb{0123456789}
\Bbb{0123456789}
$$\mathbb{0123456789}$$
$$\Bbb{0123456789}$$

### Calligraphic Letters

Code Result Notes
\mathcal{ABCDEFGHIJKLM}
\mathcal{NOPQRSTUVWXYZ}
$$\mathcal{ABCDEFGHIJKLM}$$
$$\mathcal{NOPQRSTUVWXYZ}$$
\mathcal{abcdefghijklm}
\mathcal{nopqrstuvwxyz}
$$\mathcal{abcdefghijklm}$$
$$\mathcal{nopqrstuvwxyz}$$
\mathcal{0123456789} $$\mathcal{0123456789}$$

### Fraktur Letters

Code Result Notes
\mathfrak{ABCDEFGHIJKLM}
\mathfrak{NOPQRSTUVWXYZ}
$$\mathfrak{ABCDEFGHIJKLM}$$
$$\mathfrak{NOPQRSTUVWXYZ}$$
$$\mathfrak{I}$$ = Imaginary part of a complex number.
$$\mathfrak{R}$$ = Real part of a complex number.
\mathfrak{abcdefghijklm}
\mathfrak{nopqrstuvwxyz}
$$\mathfrak{abcdefghijklm}$$
$$\mathfrak{nopqrstuvwxyz}$$
\mathfrak{0123456789} $$\mathfrak{0123456789}$$

### Roman Letters

Code Result Notes
\mathrm{ABCDEFGHIJKLM}
\mathrm{NOPQRSTUVWXYZ}
$$\mathrm{ABCDEFGHIJKLM}$$
$$\mathrm{NOPQRSTUVWXYZ}$$
\mathrm{abcdefghijklm}
\mathrm{nopqrstuvwxyz}
$$\mathrm{abcdefghijklm}$$
$$\mathrm{nopqrstuvwxyz}$$
\mathrm{0123456789} $$\mathrm{0123456789}$$

## Text Styles

 \displaystyle{\frac{1}{2}} $$\displaystyle{\frac{1}{2}}$$ Size for equations in display mode. \textstyle{\frac{1}{2}} $$\textstyle{\frac{1}{2}}$$ Size for equations in text mode. \scriptstyle{x^2} $$\scriptstyle{x^2}$$ Size for first sub/superscripts. \scriptscriptstyle{x^{2^2}} $$\scriptscriptstyle{x^{2^2}}$$ Size for subsequent sub/superscripts. \displaystyle{x^{2^2}} $$\displaystyle{x^{2^2}}$$ {\tiny Some Text} $${\tiny Some Text}$$ {\scriptsize Some Text} $${\scriptsize Some Text}$$ {\footnotesize Some Text} Not defined by MathJax-LaTeX. {\small Some Text} $${\small Some Text}$$ {\normalsize Some Text} $${\normalsize Some Text}$$ {\large Some Text} $${\large Some Text}$$ {\Large Some Text} $${\Large Some Text}$$ {\LARGE Some Text} $${\LARGE Some Text}$$ {\huge Some Text} $${\huge Some Text}$$ {\Huge Some Text} $${\Huge Some Text}$$ \text{Some Text} $$\text{Some Text}$$ \textbf{Some Text} $$\textbf{Some Text}$$ \textit{Some Text} $$\textit{Some Text}$$

## Spaces

Code Result Notes
|\mspace{0mu}| |$$\mspace{0mu}$$|
|\mspace{1mu}| |$$\mspace{1mu}$$|
|\mspace{2mu}| |$$\mspace{2mu}$$|
|\mspace{3mu}| |$$\mspace{3mu}$$|
|\mspace{4mu}|
|\space|
|$$\mspace{4mu}$$|
|$$\space$$|
|\mspace{18mu}|
|$$\mspace{18mu}$$|
|$$\quad$$|
|\mspace{36mu}|
|$$\mspace{36mu}$$|
|$$\qquad$$|

## Arrows

Code Result Notes
\uparrow $$\uparrow$$
\downarrow $$\downarrow$$
\updownarrow $$\updownarrow$$
\Uparrow $$\Uparrow$$
\Downarrow $$\Downarrow$$
\Updownarrow $$\Updownarrow$$
\leftarrow $$\leftarrow$$
\rightarrow $$\rightarrow$$
\leftrightarrow $$\leftrightarrow$$
\Leftarrow $$\Leftarrow$$
\Rightarrow $$\Rightarrow$$
\Leftrightarrow $$\Leftrightarrow$$
\longleftarrow $$\longleftarrow$$
\longrightarrow $$\longrightarrow$$
\longleftrightarrow $$\longleftrightarrow$$
\Longleftarrow $$\Longleftarrow$$
\Longrightarrow $$\Longrightarrow$$
\Longleftrightarrow $$\Longleftrightarrow$$
\nwarrow $$\nwarrow$$
\nearrow $$\nearrow$$
\swarrow $$\swarrow$$
\searrow $$\searrow$$
\to $$\to$$
\mapsto $$\mapsto$$
\longmapsto $$\longmapsto$$
\hookleftarrow $$\hookleftarrow$$
\hookrightarrow $$\hookrightarrow$$
\leftharpoonup $$\leftharpoonup$$
\rightharpoonup $$\rightharpoonup$$
\leftharpoondown $$\leftharpoondown$$
\rightharpoondown $$\rightharpoondown$$
\rightleftharpoons $$\rightleftharpoons$$

## Formula Design

### Fractions

Code Results Notes
\frac{1}{2} $$\frac{1}{2}$$
\tfrac{1}{2} Size for equations in text mode.
\textstyle{\frac{1}{2}} $$\textstyle{\frac{1}{2}}$$ Size for equations in text mode.
\dfrac{1}{2} Size for equations in display mode.
\displaystyle{\frac{1}{2}} $$\displaystyle{\frac{1}{2}}$$ Size for equations in display mode.
x^{\frac{1}{2}} $$x^{\frac{1}{2}}$$
\displaystyle{x}^{\frac{1}{2}} $$\displaystyle{x}^{\frac{1}{2}}$$
{\Large x}^{\frac{1}{2}} $${\Large x}^{\frac{1}{2}}$$
{\Large x^{\frac{1}{2}}} $${\Large x^{\frac{1}{2}}}$$
\frac{2}{1+\frac{2}{1+\frac{2}{1}}} $$\frac{2}{1+\frac{2}{1+\frac{2}{1}}}$$
\cfrac{2}{1+\cfrac{2}{1+\cfrac{2}{1}}} Used to draw continued fractions.

### Sums and Products

Code Results Notes
\sum_{n=1}^{\infty} x^n $$\sum_{n=1}^{\infty} x^n$$
\displaystyle{\sum_{n=1}^{\infty} x^n} $$\displaystyle{\sum_{n=1}^{\infty} x^n}$$
\sum\limits_{n=1}^{\infty} x^n $$\sum\limits_{n=1}^{\infty} x^n$$
\prod_{n=1}^{\infty} x^n $$\prod_{n=1}^{\infty} x^n$$
\displaystyle{\prod_{n=1}^{\infty} x^n} $$\displaystyle{\prod_{n=1}^{\infty} x^n}$$
\prod\limits_{n=1}^{\infty} x^n $$\prod\limits_{n=1}^{\infty} x^n$$

### Miscellaneous

Code Results Notes
f(x)=(x+a)(x+b) $$f(x)=(x+a)(x+b)$$
e=mc^2 $$e=mc^2$$
f=c * z^{2\pi x} $$f=c * z^{2\pi x}$$
f=c * z^{2\pi x^3} $$f=c * z^{2\pi x^3}$$
2^{3^{4^{5^6}}} $$2^{3^{4^{5^6}}}$$
3^3 + 7^3 + 0^3 = 370 $$3^3 + 7^3 + 0^3 = 370$$
z = \overbrace{
\underbrace{x}_\text{real} + i
\underbrace{y}_\text{imaginary}
}^\text{complex number}
$$z = \overbrace{ \underbrace{x}_\text{real} + i \underbrace{y}_\text{imaginary} }^\text{complex number}$$
x_1^2 $$x_1^2$$
x^2_1 $$x^2_1$$
\ begin{align*}
f(x) &= (x+a)(x+b) \\
&= x^2 + (a+b)x + ab
\ end{align*}
\begin{align*} f(x) &= (x+a)(x+b) \\ &= x^2 + (a+b)x + ab \end{align*}
\ begin{align*}
f(x) &= a x^2+b x +c & g(x) &= d x^3 \\
f'(x) &= 2 a x +b & g'(x) &= 3 d x^2
\ end{align*}
\begin{align*} f(x) &= a x^2+b x +c & g(x) &= d x^3 \\ f'(x) &= 2 a x +b & g'(x) &= 3 d x^2 \end{align*}
\boxed{x^2+y^2 = z^2} $$\boxed{x^2+y^2 = z^2}$$
\lim_{a\to \infty} \tfrac{1}{a} $$\lim_{a\to \infty} \tfrac{1}{a}$$
\sideset{_a^b}{_c^d}\sum $$\sideset{_a^b}{_c^d}\sum$$
\buildrel \alpha\beta \over \longrightarrow
\overset{\alpha\beta}{\longrightarrow}
$$\buildrel \alpha\beta \over \longrightarrow$$
$$\overset{\alpha\beta}{\longrightarrow}$$
The result is of class REL (binary relation), so it has the spacing of a relation.
\buildrel \rm def \over {:=} $$\buildrel \rm def \over {:=}$$
\ begin{align*}
f(x)&=g(x)\\
&\overset{something}{=} h(x)
\ end{align*}
\begin{align*} f(x)&=g(x)\\ &\overset{something}{=} h(x) \end{align*}

## Unsupported by MathJax-LaTeX

Code Result Extension Notes
\xcancel $$\xcancel$$ cancel
\xleftarrow $$\xleftarrow[\text{below}]{\text{above}}$$ AMSmath
\xlongequal $$\xlongequal$$ extpfeil
\xmapsto $$\xmapsto$$ extpfeil
\xrightarrow $$\xrightarrow[\text{below}]{\text{above}}$$ AMSmath
\xtofrom $$\xtofrom$$ extpfeil
\xtwoheadleftarrow $$\xtwoheadleftarrow$$ extpfeil
\xtwoheadrightarrow $$\xtwoheadrightarrow$$ extpfeil
\yen $$\yen$$ AMSsymbols
\Z $$\Z$$ mediawiki-texvc

## References

Castel, Gilles. “Beautiful math on Quora”. Surge.sh.

Blackboard bold”. Wikipedia.org.

LaTeX Arrows”. Sascha-Frank.com.