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
Miscellaneous Letters
| Code | Result | Notes |
|---|---|---|
| \aleph | \(\aleph\) | ℵ א — U+2135 ℵ |
| \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. |
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}| |\quad| |
|\(\mspace{18mu}\)| |\(\quad\)| |
|
| |\mspace{36mu}| |\qquad| |
|\(\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 |
|---|---|---|---|
| \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 |
