From Meta, a Wikimedia project coordination wiki
Functions, symbols, special characters[edit]
For producing special characters without math tags, see Help:Special characters.
Comparison:
- α gives α, <math>\alpha</math> gives ("&" and ";" vs. "\", in this case the same code word "alpha"
- √2 gives √2, <math>\sqrt{2}</math> gives (the same difference as above, but also another code word, "radic" vs. "sqrt"; in TeX braces)
- √(1-e²) gives √(1-e²), <math>\sqrt{1-e^2}</math> gives (parentheses vs. braces, "''e''" vs. "e", "²" vs. "^2")
Accents/Diacritics[edit]
Syntax
|
How it looks rendered
|
\acute{a} |
|
\grave{a} |
|
\breve{a} |
|
\check{a} |
|
\tilde{a} |
|
Standard Functions[edit]
(good)
Syntax
|
How it looks rendered
|
\sin x + \ln y +\operatorname{sgn} z |
|
\sin a |
|
\cos b |
|
\tan c |
|
\cot d |
|
\sec e |
|
\csc f |
|
\sinh g |
|
\cosh h |
|
\tanh i |
|
\coth j |
|
\arcsin k |
|
\arccos l |
|
\arctan m |
|
\lim n |
|
\limsup o |
|
\liminf p |
|
\min q |
|
\max r |
|
\inf s |
|
\sup t |
|
\exp u |
|
\lg v |
|
\log w |
|
\ker x |
|
\deg x |
|
\gcd x |
|
\Pr x |
|
\det x |
|
\hom x |
|
\arg x |
|
\dim x |
|
(wrong)
Syntax
|
How it looks rendered
|
sin x + ln y + sgn z
|
|
Modular arithmetic[edit]
Syntax
|
How it looks rendered
|
s_k \equiv 0 \pmod{m}
|
|
a \bmod b
|
|
Derivatives[edit]
Syntax
|
How it looks rendered
|
\nabla
|
|
\partial x
|
|
dx
|
|
\dot x
|
|
\ddot y
|
|
(Square symbols may not work for some wikis)
Syntax
|
How it looks rendered
|
\forall |
|
\exists |
|
\empty |
|
\emptyset |
|
\varnothing |
|
\in |
|
\ni |
|
\not\in |
|
\notin |
|
\subset |
|
\subseteq |
|
\supset |
|
\supseteq |
|
\cap |
|
\bigcap |
|
\cup |
|
\bigcup |
|
\biguplus |
|
\sqsubset |
|
\sqsubseteq |
|
\sqsupset |
|
\sqsupseteq |
|
\sqcap |
|
\sqcup |
|
\bigsqcup |
|
Syntax
|
How it looks rendered
|
p \land \wedge \; \bigwedge \; \bar{q} \to p\lor \vee \; \bigvee \; \lnot \; \neg q \; \setminus \; \smallsetminus
|
|
Syntax
|
How it looks rendered
|
\sqrt{2}\approx 1.4
|
|
\sqrt[n]{x}
|
|
Relations[edit]
Syntax
|
How it looks rendered
|
\sim \; \approx \; \simeq \; \cong \; \le \; \ge \; \equiv \; \not\equiv \; \ne \; \propto \; \pm \; \mp
|
|
Geometric[edit]
Syntax
|
How it looks rendered
|
\; 45^\circ
|
|
Harpoons may not work for some wikis
Special[edit]
Mathcal[edit]
Lowercase \mathcal has some extras
Syntax
|
How it looks rendered
|
\mathcal {4} |
|
\mathcal {5} |
|
\mathcal {a} |
|
\mathcal {b} |
|
\mathcal {c} |
|
\mathcal {d} |
|
\mathcal {e} |
|
\mathcal {n} |
|
\mathcal {p} |
|
\mathcal {q} |
|
\mathcal {s} |
|
\mathcal {t} |
|
\mathcal {u} |
|
\mathcal {v} |
|
\mathcal {w} |
|
\mathcal {x} |
|