LaTeX cheat sheet

Posted by API Caller on August 18, 2020

LaTeX Math Symbols

Math Mode Accents

1
2
3
4
5
6
7
8
9
10
11
12
13
\acute{a}
\bar{a}
\breve{a}
\check{a}
\ddot{a}
\dot{a}
\grave{a}
\hat{a}
\mathring{a}
\tilde{a}
\vec{a}
\widehat{AAA}
\widetilde{AAA}
format show description
\acute{a} \(\acute{a}\)  
\bar{a} \(\bar{a}\)  
\breve{a} \(\breve{a}\)  
\check{a} \(\check{a}\)  
\ddot{a} \(\ddot{a}\)  
\dot{a} \(\dot{a}\)  
\grave{a} \(\grave{a}\)  
\hat{a} \(\hat{a}\)  
\mathring{a} \(\mathring{a}\)  
\tilde{a} \(\tilde{a}\)  
\vec{a} \(\vec{a}\)  
\widehat{AAA} \(\widehat{AAA}\)  
\widetilde{AAA} \(\widetilde{AAA}\)  

Greek Letters

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
\alpha
\beta
\gamma
\delta
\epsilon
\varepsilon
\zeta
\eta
\Gamma
\Delta
\Theta
\theta
\vartheta
\iota
\kappa
\lambda
\mu
\nu
\xi
\Lambda
\Xi
\Pi
o
\pi
\varpi
\rho
\varrho
\sigma
\varsigma
\tau
\Sigma
\Upsilon
\Phi
\upsilon
\phi
\varphi
\chi
\psi
\omega
\Psi
\Omega
format show description
\alpha \(\alpha\)  
\beta \(\beta\)  
\gamma \(\gamma\)  
\delta \(\delta\)  
\epsilon \(\epsilon\)  
\varepsilon \(\varepsilon\)  
\zeta \(\zeta\)  
\eta \(\eta\)  
\Gamma \(\Gamma\)  
\Delta \(\Delta\)  
\Theta \(\Theta\)  
\theta \(\theta\)  
\vartheta \(\vartheta\)  
\iota \(\iota\)  
\kappa \(\kappa\)  
\lambda \(\lambda\)  
\mu \(\mu\)  
\nu \(\nu\)  
\xi \(\xi\)  
\Lambda \(\Lambda\)  
\Xi \(\Xi\)  
\Pi \(\Pi\)  
o \(o\)  
\pi \(\pi\)  
\varpi \(\varpi\)  
\rho \(\rho\)  
\varrho \(\varrho\)  
\sigma \(\sigma\)  
\varsigma \(\varsigma\)  
\tau \(\tau\)  
\Sigma \(\Sigma\)  
\Upsilon \(\Upsilon\)  
\Phi \(\Phi\)  
\upsilon \(\upsilon\)  
\phi \(\phi\)  
\varphi \(\varphi\)  
\chi \(\chi\)  
\psi \(\psi\)  
\omega \(\omega\)  
\Psi \(\Psi\)  
\Omega \(\Omega\)  

Binary Relations

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<
>
=
\leq
\le
\geq
\ge
\equiv
\ll
\gg
\doteq
\prec
\succ
\sim
\preceq
\succeq
\simeq
\subset
\supset
\approx
\subseteq
\supseteq
\cong
\sqsubset
\sqsupset
\Join
\sqsubseteq
\sqsupseteq
\bowtie
\in
\ni
\owns
\propto
\vdash
\dashv
\models
\mid
\parallel
\perp
\smile
\frown
\asymp
:
\notin
\neq
\ne
format show description
< \(<\)  
> \(>\)  
= \(=\)  
\leq \(\leq\)  
\le \(\le\)  
\geq \(\geq\)  
\ge \(\ge\)  
\equiv \(\equiv\)  
\ll \(\ll\)  
\gg \(\gg\)  
\doteq \(\doteq\)  
\prec \(\prec\)  
\succ \(\succ\)  
\sim \(\sim\)  
\preceq \(\preceq\)  
\succeq \(\succeq\)  
\simeq \(\simeq\)  
\subset \(\subset\)  
\supset \(\supset\)  
\approx \(\approx\)  
\subseteq \(\subseteq\)  
\supseteq \(\supseteq\)  
\cong \(\cong\)  
\sqsubset \(\sqsubset\)  
\sqsupset \(\sqsupset\)  
\Join \(\Join\)  
\sqsubseteq \(\sqsubseteq\)  
\sqsupseteq \(\sqsupseteq\)  
\bowtie \(\bowtie\)  
\in \(\in\)  
\ni \(\ni\)  
\owns \(\owns\)  
\propto \(\propto\)  
\vdash \(\vdash\)  
\dashv \(\dashv\)  
\models \(\models\)  
\mid \(\mid\)  
\parallel \(\parallel\)  
\perp \(\perp\)  
\smile \(\smile\)  
\frown \(\frown\)  
\asymp \(\asymp\)  
: \(:\)  
\notin \(\notin\)  
\neq \(\neq\)  
\ne \(\ne\)  

Binary Operators

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
+
-
\pm
\mp
\triangleleft
\cdot
\div
\triangleright
\times
\setminus
\star
\cup
\cap
\ast
\sqcup
\sqcap
\circ
\vee
\lor
\wedge
\land
\bullet
\oplus
\ominus
\diamond
\odot
\oslash
\uplus
\otimes
\bigcirc
\amalg
\bigtriangleup
\bigtriangledown
\dagger
\lhd
\rhd
\ddagger
\unlhd
\unrhd
\wr
format show description
+ \(+\)  
- \(-\)  
\pm \(\pm\)  
\mp \(\mp\)  
\triangleleft \(\triangleleft\)  
\cdot \(\cdot\)  
\div \(\div\)  
\triangleright \(\triangleright\)  
\times \(\times\)  
\setminus \(\setminus\)  
\star \(\star\)  
\cup \(\cup\)  
\cap \(\cap\)  
\ast \(\ast\)  
\sqcup \(\sqcup\)  
\sqcap \(\sqcap\)  
\circ \(\circ\)  
\vee \(\vee\)  
\lor \(\lor\)  
\wedge \(\wedge\)  
\land \(\land\)  
\bullet \(\bullet\)  
\oplus \(\oplus\)  
\ominus \(\ominus\)  
\diamond \(\diamond\)  
\odot \(\odot\)  
\oslash \(\oslash\)  
\uplus \(\uplus\)  
\otimes \(\otimes\)  
\bigcirc \(\bigcirc\)  
\amalg \(\amalg\)  
\bigtriangleup \(\bigtriangleup\)  
\bigtriangledown \(\bigtriangledown\)  
\dagger \(\dagger\)  
\lhd \(\lhd\)  
\rhd \(\rhd\)  
\ddagger \(\ddagger\)  
\unlhd \(\unlhd\)  
\unrhd \(\unrhd\)  
\wr \(\wr\)  

BIG Operators

1
2
3
4
5
6
7
8
9
10
11
12
13
14
\sum
\bigcup
\bigvee
\prod
\bigcap
\bigwedge
\coprod
\bigsqcup
\biguplus
\int
\oint
\bigodot
\bigoplus
\bigotimes
format show description
\sum \(\sum\)  
\bigcup \(\bigcup\)  
\bigvee \(\bigvee\)  
\prod \(\prod\)  
\bigcap \(\bigcap\)  
\bigwedge \(\bigwedge\)  
\coprod \(\coprod\)  
\bigsqcup \(\bigsqcup\)  
\biguplus \(\biguplus\)  
\int \(\int\)  
\oint \(\oint\)  
\bigodot \(\bigodot\)  
\bigoplus \(\bigoplus\)  
\bigotimes \(\bigotimes\)  

Arrows

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\leftarrow
\gets
\longleftarrow
\rightarrow
\to
\longrightarrow
\leftrightarrow
\longleftrightarrow
\Leftarrow
\Longleftarrow
\Rightarrow
\Longrightarrow
\Leftrightarrow
\Longleftrightarrow
\mapsto
\longmapsto
\hookleftarrow
\hookrightarrow
\leftharpoonup
\rightharpoonup
\leftharpoondown
\rightharpoondown
\rightleftharpoons
\iff
\uparrow
\downarrow
\updownarrow
\Uparrow
\Downarrow
\Updownarrow
\nearrow
\searrow
\swarrow
\nwarrow
\leadsto
format show description
\leftarrow \(\leftarrow\)  
\gets \(\gets\)  
\longleftarrow \(\longleftarrow\)  
\rightarrow \(\rightarrow\)  
\to \(\to\)  
\longrightarrow \(\longrightarrow\)  
\leftrightarrow \(\leftrightarrow\)  
\longleftrightarrow \(\longleftrightarrow\)  
\Leftarrow \(\Leftarrow\)  
\Longleftarrow \(\Longleftarrow\)  
\Rightarrow \(\Rightarrow\)  
\Longrightarrow \(\Longrightarrow\)  
\Leftrightarrow \(\Leftrightarrow\)  
\Longleftrightarrow \(\Longleftrightarrow\)  
\mapsto \(\mapsto\)  
\longmapsto \(\longmapsto\)  
\hookleftarrow \(\hookleftarrow\)  
\hookrightarrow \(\hookrightarrow\)  
\leftharpoonup \(\leftharpoonup\)  
\rightharpoonup \(\rightharpoonup\)  
\leftharpoondown \(\leftharpoondown\)  
\rightharpoondown \(\rightharpoondown\)  
\rightleftharpoons \(\rightleftharpoons\)  
\iff \(\iff\)  
\uparrow \(\uparrow\)  
\downarrow \(\downarrow\)  
\updownarrow \(\updownarrow\)  
\Uparrow \(\Uparrow\)  
\Downarrow \(\Downarrow\)  
\Updownarrow \(\Updownarrow\)  
\nearrow \(\nearrow\)  
\searrow \(\searrow\)  
\swarrow \(\swarrow\)  
\nwarrow \(\nwarrow\)  
\leadsto \(\leadsto\)  

Arrows as Accents

1
2
3
4
5
6
\overrightarrow{AB}
\underrightarrow{AB}
\overleftarrow{AB}
\underleftarrow{AB}
\overleftrightarrow{AB}
\underleftrightarrow{AB}
format show description
\overrightarrow{AB} \(\overrightarrow{AB}\)  
\underrightarrow{AB} \(\underrightarrow{AB}\)  
\overleftarrow{AB} \(\overleftarrow{AB}\)  
\underleftarrow{AB} \(\underleftarrow{AB}\)  
\overleftrightarrow{AB} \(\overleftrightarrow{AB}\)  
\underleftrightarrow{AB} \(\underleftrightarrow{AB}\)  

Delimiters

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(
)
\uparrow
\lbrack
[
\rbrack
]
\downarrow
\lbrace
\{
\rbrace
\}
\updownarrow
\langle
\rangle
\Uparrow
\vert
\Vert
\|
\Downarrow
/
\backslash
\Updownarrow
\lfloor
\rfloor
\rceil
\lceil
format show description
( \((\)  
) \()\)  
\uparrow \(\uparrow\)  
\lbrack \(\lbrack\)  
[ \([\)  
\rbrack \(\rbrack\)  
] \(]\)  
\downarrow \(\downarrow\)  
\lbrace \(\lbrace\)  
\{ \(\{\)  
\rbrace \(\rbrace\)  
\} \(\}\)  
\updownarrow \(\updownarrow\)  
\langle \(\langle\)  
\rangle \(\rangle\)  
\Uparrow \(\Uparrow\)  
\vert \(\vert\)  
\Vert \(\Vert\)  
\| \(|\)  
\Downarrow \(\Downarrow\)  
/ \(/\)  
\backslash \(\backslash\)  
\Updownarrow \(\Updownarrow\)  
\lfloor \(\lfloor\)  
\rfloor \(\rfloor\)  
\rceil \(\rceil\)  
\lceil \(\lceil\)  

Large Delimiters

1
2
3
4
5
6
7
\lgroup
\rgroup
\lmoustache
\arrowvert
\Arrowvert
\bracevert
\rmoustache
format show description
\lgroup \(\lgroup\)  
\rgroup \(\rgroup\)  
\lmoustache \(\lmoustache\)  
\arrowvert \(\arrowvert\)  
\Arrowvert \(\Arrowvert\)  
\bracevert \(\bracevert\)  
\rmoustache \(\rmoustache\)  

Miscellaneous Symbols

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
\dots
\cdots
\vdots
\ddots
\hbar
\imath
\jmath
\ell
\Re
\Im
\aleph
\wp
\forall
\exists
\mho
\partial
'
\prime
\emptyset
\infty
\nabla
\triangle
\Box
\Diamond
\bot
\top
\angle
\surd
\diamondsuit
\heartsuit
\clubsuit
\spadesuit
\neg
\lnot
\flat
\natural
\sharp
format show description
\dots \(\dots\)  
\cdots \(\cdots\)  
\vdots \(\vdots\)  
\ddots \(\ddots\)  
\hbar \(\hbar\)  
\imath \(\imath\)  
\jmath \(\jmath\)  
\ell \(\ell\)  
\Re \(\Re\)  
\Im \(\Im\)  
\aleph \(\aleph\)  
\wp \(\wp\)  
\forall \(\forall\)  
\exists \(\exists\)  
\mho \(\mho\)  
\partial \(\partial\)  
' \('\)  
\prime \(\prime\)  
\emptyset \(\emptyset\)  
\infty \(\infty\)  
\nabla \(\nabla\)  
\triangle \(\triangle\)  
\Box \(\Box\)  
\Diamond \(\Diamond\)  
\bot \(\bot\)  
\top \(\top\)  
\angle \(\angle\)  
\surd \(\surd\)  
\diamondsuit \(\diamondsuit\)  
\heartsuit \(\heartsuit\)  
\clubsuit \(\clubsuit\)  
\spadesuit \(\spadesuit\)  
\neg \(\neg\)  
\lnot \(\lnot\)  
\flat \(\flat\)  
\natural \(\natural\)  
\sharp \(\sharp\)  

Non-Mathematical Symbols

1
2
3
4
5
6
7
8
\dag
\ddag
\S
\P
\copyright
\pounds
\textregistered
\%
format show description
\dag    
\ddag    
\S \(\S\)  
\P    
\copyright    
\pounds    
\textregistered    
\% \(\%\)  

AMS Delimiters

1
2
3
4
5
6
7
8
\ulcorner
\urcorner
\llcorner
\lrcorner
\lvert
\rvert
\lVert
\rVert
format show description
\ulcorner \(\ulcorner\)  
\urcorner \(\urcorner\)  
\llcorner \(\llcorner\)  
\lrcorner \(\lrcorner\)  
\lvert \(\lvert\)  
\rvert \(\rvert\)  
\lVert \(\lVert\)  
\rVert \(\rVert\)  

AMS Greek and Hebrew

1
2
3
4
5
\digamma
\varkappa
\beth
\gimel
\daleth
format show description
\digamma \(\digamma\)  
\varkappa \(\varkappa\)  
\beth \(\beth\)  
\gimel \(\gimel\)  
\daleth \(\daleth\)  

Math Alphabets

1
2
3
4
5
6
7
\mathrm{ABCDEabcde1234}
\mathit{ABCDEabcde1234}
\mathnormal{ABCDEabcde1234}
\mathcal{ABCDEabcde1234}
\mathscr{ABCDE}
\mathfrak{ABCDEabcde1234}
\mathbb{ABCDEabcde1234}
format show description
\mathrm{ABCDEabcde1234} \(\mathrm{ABCDEabcde1234}\)  
\mathit{ABCDEabcde1234} \(\mathit{ABCDEabcde1234}\)  
\mathnormal{ABCDEabcde1234}    
\mathcal{ABCDEabcde1234} \(\mathcal{ABCDEabcde1234}\)  
\mathscr{ABCDE} \(\mathscr{ABCDE}\)  
\mathfrak{ABCDEabcde1234} \(\mathfrak{ABCDEabcde1234}\)  
\mathbb{ABCDEabcde1234} \(\mathbb{ABCDEabcde1234}\)  

AMS Binary Operators

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\dotplus
\centerdot
\ltimes
\rtimes
\divideontimes
\doublecup
\doublecap
\smallsetminus
\veebar
\barwedge
\doublebarwedge
\boxplus
\boxminus
\circleddash
\boxtimes
\boxdot
\circledcirc
\intercal
\circledast
\rightthreetimes
\curlyvee
\curlywedge
\leftthreetimes
format show description
\dotplus \(\dotplus\)  
\centerdot \(\centerdot\)  
\ltimes \(\ltimes\)  
\rtimes \(\rtimes\)  
\divideontimes \(\divideontimes\)  
\doublecup \(\doublecup\)  
\doublecap \(\doublecap\)  
\smallsetminus \(\smallsetminus\)  
\veebar \(\veebar\)  
\barwedge \(\barwedge\)  
\doublebarwedge \(\doublebarwedge\)  
\boxplus \(\boxplus\)  
\boxminus \(\boxminus\)  
\circleddash \(\circleddash\)  
\boxtimes \(\boxtimes\)  
\boxdot \(\boxdot\)  
\circledcirc \(\circledcirc\)  
\intercal \(\intercal\)  
\circledast \(\circledast\)  
\rightthreetimes \(\rightthreetimes\)  
\curlyvee \(\curlyvee\)  
\curlywedge \(\curlywedge\)  
\leftthreetimes \(\leftthreetimes\)  

AMS Binary Relations

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
\lessdot
\gtrdot
\doteqdot
\leqslant
\geqslant
\risingdotseq
\eqslantless
\eqslantgtr
\fallingdotseq
\leqq
\geqq
\eqcirc
\lll
\llless
\ggg
\circeq
\lesssim
\gtrsim
\triangleq
\lessapprox
\gtrapprox
\bumpeq
\lessgtr
\gtrless
\Bumpeq
\lesseqgtr
\gtreqless
\thicksim
\lesseqqgtr
\gtreqqless
\thickapprox
\preccurlyeq
\succcurlyeq
\approxeq
\curlyeqprec
\curlyeqsucc
\backsim
\precsim
\succsim
\backsimeq
\precapprox
\succapprox
\vDash
\subseteqq
\supseteqq
\Vdash
\shortparallel
\Supset
\Vvdash
\blacktriangleleft
\sqsupset
\backepsilon
\vartriangleright
\because
\varpropto
\blacktriangleright
\Subset
\between
\trianglerighteq
\smallfrown
\pitchfork
\vartriangleleft
\shortmid
\smallsmile
\trianglelefteq
\therefore
\sqsubset
format show description
\lessdot \(\lessdot\)  
\gtrdot \(\gtrdot\)  
\doteqdot \(\doteqdot\)  
\leqslant \(\leqslant\)  
\geqslant \(\geqslant\)  
\risingdotseq \(\risingdotseq\)  
\eqslantless \(\eqslantless\)  
\eqslantgtr \(\eqslantgtr\)  
\fallingdotseq \(\fallingdotseq\)  
\leqq \(\leqq\)  
\geqq \(\geqq\)  
\eqcirc \(\eqcirc\)  
\lll \(\lll\)  
\llless \(\llless\)  
\ggg \(\ggg\)  
\circeq \(\circeq\)  
\lesssim \(\lesssim\)  
\gtrsim \(\gtrsim\)  
\triangleq \(\triangleq\)  
\lessapprox \(\lessapprox\)  
\gtrapprox \(\gtrapprox\)  
\bumpeq \(\bumpeq\)  
\lessgtr \(\lessgtr\)  
\gtrless \(\gtrless\)  
\Bumpeq \(\Bumpeq\)  
\lesseqgtr \(\lesseqgtr\)  
\gtreqless \(\gtreqless\)  
\thicksim \(\thicksim\)  
\lesseqqgtr \(\lesseqqgtr\)  
\gtreqqless \(\gtreqqless\)  
\thickapprox \(\thickapprox\)  
\preccurlyeq \(\preccurlyeq\)  
\succcurlyeq \(\succcurlyeq\)  
\approxeq \(\approxeq\)  
\curlyeqprec \(\curlyeqprec\)  
\curlyeqsucc \(\curlyeqsucc\)  
\backsim \(\backsim\)  
\precsim \(\precsim\)  
\succsim \(\succsim\)  
\backsimeq \(\backsimeq\)  
\precapprox \(\precapprox\)  
\succapprox \(\succapprox\)  
\vDash \(\vDash\)  
\subseteqq \(\subseteqq\)  
\supseteqq \(\supseteqq\)  
\Vdash \(\Vdash\)  
\shortparallel \(\shortparallel\)  
\Supset \(\Supset\)  
\Vvdash \(\Vvdash\)  
\blacktriangleleft \(\blacktriangleleft\)  
\sqsupset \(\sqsupset\)  
\backepsilon \(\backepsilon\)  
\vartriangleright \(\vartriangleright\)  
\because \(\because\)  
\varpropto \(\varpropto\)  
\blacktriangleright \(\blacktriangleright\)  
\Subset \(\Subset\)  
\between \(\between\)  
\trianglerighteq \(\trianglerighteq\)  
\smallfrown \(\smallfrown\)  
\pitchfork \(\pitchfork\)  
\vartriangleleft \(\vartriangleleft\)  
\shortmid \(\shortmid\)  
\smallsmile \(\smallsmile\)  
\trianglelefteq \(\trianglelefteq\)  
\therefore \(\therefore\)  
\sqsubset \(\sqsubset\)