LaTeX:Symbols
LaTeX |
About - Getting Started - Diagrams - Symbols - Downloads - Basics - Math - Examples - Pictures - Layout - Commands - Packages - Help |
This article will provide a short list of commonly used LaTeX symbols.
Contents
Finding Other Symbols
Here are some external resources for finding less commonly used symbols:
-
Detexify is an app which allows you to draw the symbol you'd like and shows you the
code for it!
-
MathJax (what allows us to use <math\text{\LaTeX}$on the web, (technically an AJAX library simulating it.)) maintains a [http://docs.mathjax.org/en/latest/tex.html#supported-latex-commands list of supported commands].
<br/><br/></li>
<li>
[http://mirrors.ctan.org/info/symbols/comprehensive/symbols-a4.pdf The Comprehensive LaTeX Symbol List].
<br/><br/></li>
</ul>
-------------------------------------------------------------------------------------------------------------
==Operators==
{| class="latextable"
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command
|-
|$ (Error compiling LaTeX. Unknown error_msg)\pm
\mp
\times
\div
\cdot
\ast
\star
\dagger
\ddagger
\amalg
\cap
\cup
\uplus
\sqcap
\sqcup
\vee
\wedge
\oplus
\ominus
\otimes
\circ
\bullet
\diamond
\lhd
\rhd
\unlhd
\unrhd
\oslash
\odot
\bigcirc
\triangleleft
\Diamond
\bigtriangleup
\bigtriangledown
\Box
\triangleright
\setminus
\wr
\sqrt{x}
x^{\circ}
\triangledown
\sqrt[n]{x}
a^x
a^{xyz}
a_x$||a_x |} ==Relations== {| class="latextable" !Symbol !! Command !!Symbol !! Command!!Symbol !! Command |- |$ (Error compiling LaTeX. Unknown error_msg)\le
\ge
\neq
\sim
\ll
\gg
\doteq
\simeq
\subset
\supset
\approx
\asymp
\subseteq
\supseteq
\cong
\smile
\sqsubset
\sqsupset
\equiv
\frown
\sqsubseteq
\sqsupseteq
\propto
\bowtie
\in
\ni
\prec
\succ
\vdash
\dashv
\preceq
\succeq
\models
\perp
\parallel
\mid
\bumpeq$||\bumpeq|| |} Negations of many of these relations can be formed by just putting \not before the symbol, or by slipping an n between the \ and the word. Here are a couple examples, plus many other negations; it works for many of the many others as well. {| class="latextable"} !Symbol!!Command!!Symbol!!Command!!Symbol!!Command |- |$ (Error compiling LaTeX. Unknown error_msg)\nmid
\nleq
\ngeq
\nsim
\ncong
\nparallel
\not<
\not>
\not=
\not\le
\not\ge
\not\sim
\not \approx
\not\cong
\not\equiv
\not\parallel
\nless
\ngtr
\lneq
\gneq
\lnsim
\lneqq
\gneqq$||\gneqq |} To use other relations not listed here, such as =, >, and <, in LaTeX, you must use the symbols on your keyboard, they are not available in$ (Error compiling LaTeX. Unknown error_msg)\LaTeX$. ==Greek Letters== {| class="latextable" |+ Lowercase Letters !Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command |- |$ (Error compiling LaTeX. Unknown error_msg)\alpha
\beta
\gamma
\delta
\epsilon
\varepsilon
\zeta
\eta
\theta
\vartheta
\iota
\kappa
\lambda
\mu
\nu
\xi
\pi
\varpi
\rho
\varrho
\sigma
\varsigma
\tau
\upsilon
\phi
\varphi
\chi
\psi
\omega$||\omega |} {| class="latextable" |+ Capital Letters !Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command |- |$ (Error compiling LaTeX. Unknown error_msg)\Gamma
\Delta
\Theta
\Lambda
\Xi
\Pi
\Sigma
\Upsilon
\Phi
\Psi
\Omega$||\Omega |} == Arrows == {| class="latextable" !Symbol !! Command!!Symbol !! Command |- |$ (Error compiling LaTeX. Unknown error_msg)\gets
\to
\leftarrow
\Leftarrow
\rightarrow
\Rightarrow
\leftrightarrow
\Leftrightarrow
\mapsto
\hookleftarrow
\leftharpoonup
\leftharpoondown
\rightleftharpoons
\longleftarrow
\Longleftarrow
\longrightarrow
\Longrightarrow
\longleftrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\rightharpoonup
\rightharpoondown
\leadsto
\uparrow
\Uparrow
\downarrow
\Downarrow
\updownarrow
\Updownarrow
\nearrow
\searrow
\swarrow
\nwarrow
\overrightarrow
\overleftarrow
\overleftrightarrow$||\overleftrightarrow|| || |} (For those of you who hate typing long strings of letters, \iff and \implies can be used in place of \Longleftrightarrow and \Longrightarrow respectively.) ==Dots== {| class="latextable" !Symbol!!Command!!Symbol!!Command!! |- |$ (Error compiling LaTeX. Unknown error_msg)\cdot
\vdots
\dots
\ddots
\cdots
\iddots$||\iddots|| |} ==Accents== {| class="latextable" !Symbol !! Command!!Symbol !! Command!!Symbol !! Command |- |$ (Error compiling LaTeX. Unknown error_msg)\hat{x}
\check{x}
\dot{x}
\breve{x}
\acute{x}
\ddot{x}
\grave{x}
\tilde{x}
\mathring{x}
\bar{x}
\vec{x}$||\vec{x} |} When applying accents to i and j, you can use \imath and \jmath to keep the dots from interfering with the accents: {| class="latextable" !Symbol !! Command!!Symbol !! Command |- |$ (Error compiling LaTeX. Unknown error_msg)\vec{\jmath}
\tilde{\imath}$||\tilde{\imath} |} \tilde and \hat have wide versions that allow you to accent an expression: {| class="latextable" !Symbol !! Command!!Symbol !! Command |- |$ (Error compiling LaTeX. Unknown error_msg)\widehat{7+x}
\widetilde{abc}$||\widetilde{abc} |} ==Others== {| class="latextable" !Symbol!!Command!!Symbol!!Command!!Symbol!!Command |- |$ (Error compiling LaTeX. Unknown error_msg)\infty
\triangle
\angle
\aleph
\hbar
\imath
\jmath
\ell
\wp
\Re
\Im
\mho
\prime
\emptyset
\nabla
\surd
\partial
\top
\bot
\vdash
\dashv
\forall
\exists
\neg
\flat
\natural
\sharp
\backslash
\Box
\Diamond
\clubsuit
\diamondsuit
\heartsuit
\Join
\blacksquare
\S
\P
\copyright
\pounds
\overarc{ABC}
\underarc{XYZ}
\bigstar
\in
\cup
\square
\smiley
\mathbb{R}
\checkmark
\cancer$||\cancer|| |} ==Command Symbols== Some symbols are used in commands so they need to be treated in a special way. {| class="latextable" !Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command |- |$ (Error compiling LaTeX. Unknown error_msg)\textdollar$||\textdollar or \$||$ (Error compiling LaTeX. Unknown error_msg)\&
\%
\#
\_
\{
\}
\backslash$||\backslash |} (Warning: Using $ for
will result in
. This is a bug as far as we know. Depending on the version of
this is not always a problem.)
European Language Symbols
Symbol Command Symbol Command Symbol Command Symbol Command {\oe} {\ae} {\o} {\OE} {\AE} {\AA} {\O} {\l} {\ss} !` {\L} {\SS} Bracketing Symbols
In mathematics, sometimes we need to enclose expressions in brackets or braces or parentheses. Some of these work just as you'd imagine in LaTeX; type ( and ) for parentheses, [ and ] for brackets, and | and | for absolute value. However, other symbols have special commands:
Symbol Command Symbol Command Symbol Command \{ \} \| \backslash \lfloor \rfloor \lceil \rceil \langle \rangle You might notice that if you use any of these to typeset an expression that is vertically large, like
- (\frac{a}{x} )^2
the parentheses don't come out the right size:
If we put \left and \right before the relevant parentheses, we get a prettier expression:
- \left(\frac{a}{x} \right)^2
gives
For systems of equations or piecewise functions, use the cases environment:
f(x) = \begin{cases} x^2 & x \ge 0 \\ x & x < 0 \end{cases}
which gives
In addition to the \left and \right commands, when doing floor or ceiling functions with fractions, using
\left\lceil\frac{x}{y}\right\rceil
and \left\lfloor\frac{x}{y}\right\rfloor
give both
And, if you type this\underbrace{a_0+a_1+a_2+\cdots+a_n}_{x}
Gives
Or
\overbrace{a_0+a_1+a_2+\cdots+a_n}^{x}
Gives
\left and \right can also be used to resize the following symbols:Symbol Command Symbol Command Symbol Command \uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow Multi-Size Symbols
Some symbols render differently in inline math mode and in display mode. Display mode occurs when you use \[...\] or $$...$$, or environments like \begin{equation}...\end{equation}, \begin{align}...\end{align}. Read more in the commands section of the guide about how symbols which take arguments above and below the symbols, such as a summation symbol, behave in the two modes.
In each of the following, the two images show the symbol in display mode, then in inline mode.
Symbol Command Symbol Command Symbol Command \sum \int \oint \prod \coprod \bigcap \bigcup \bigsqcup \bigvee \bigwedge \bigodot \bigotimes \bigoplus \biguplus See Also