User:PhilBoswell/Formula temp

From Meta, a Wikimedia project coordination wiki

Functions, symbols, special characters[edit]

For producing special characters without math tags, see Help:Special characters.

Comparison:

  • &alpha; gives α, <math>\alpha</math> gives ("&" and ";" vs. "\", in this case the same code word "alpha"
  • &radic;2 gives √2, <math>\sqrt{2}</math> gives (the same difference as above, but also another code word, "radic" vs. "sqrt"; in TeX braces)
  • &radic;(1-e&sup2;) gives √(1-e²), <math>\sqrt{1-e^2}</math> gives (parentheses vs. braces, "''e''" vs. "e", "&sup2;" 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

Sets[edit]

(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

Logic[edit]

Syntax How it looks rendered
p \land \wedge \; \bigwedge \; \bar{q} \to p\lor \vee \; \bigvee \; \lnot \; \neg q \; \setminus \; \smallsetminus

Root[edit]

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

Arrows[edit]

Harpoons may not work for some wikis

Syntax How it looks rendered
\leftarrow \; \gets \; \rightarrow \; \to \; \leftrightarrow

\longleftarrow \; \longrightarrow
\mapsto \; \longmapsto \; \hookrightarrow \; \hookleftarrow
\nearrow \; \searrow \; \swarrow \; \nwarrow
\uparrow \; \downarrow \; \updownarrow





\rightharpoonup \; \rightharpoondown \; \leftharpoonup \; \leftharpoondown \; \upharpoonleft \; \upharpoonright \; \downharpoonleft \; \downharpoonright
\Leftarrow \; \Rightarrow \; \Leftrightarrow

\Longleftarrow \; \Longrightarrow \; \Longleftrightarrow (or \iff)
\Uparrow \; \Downarrow \; \Updownarrow



Special[edit]

Syntax How it looks rendered
\eth \; \S \; \P \; \% \; \dagger \; \ddagger \; \star \; * \; \ldots

\smile \frown \wr \oplus \bigoplus \otimes \bigotimes
\times \cdot \circ \bullet \bigodot \triangleleft \triangleright \infty \bot \top \vdash \vDash \Vdash \models \lVert \rVert
\imath \; \hbar \; \ell \; \mho \; \Finv \; \Re \; \Im \; \wp \; \complement \quad \diamondsuit \; \heartsuit \; \clubsuit \; \spadesuit \; \Game \quad \flat \; \natural \; \sharp




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}