Math Mode Triggers

TriggerReplacementDescriptionExample
mk$$0$Inline math$x^2$
dm$$\n$0\n$$Display math block$$x^2$$
beg\begin{$0}\n$1\n\end{$0}Begin/end environment\begin{align}...\end{align}

Greek Letters

TriggerReplacementExample
@a\alpha
@b\beta
@g\gamma
@G\Gamma
@d\delta
@D\Delta
@e\epsilon
:e\varepsilon
@z\zeta
@t\theta
@T\Theta
:t\vartheta
@i\iota
@k\kappa
@l\lambda
@L\Lambda
@s\sigma
@S\Sigma
@u\upsilon
@U\Upsilon
@o\omega
@O\Omega
ome\omega
Ome\Omega

Text in Math Mode

TriggerReplacementDescriptionExample
text\text{$0}$1Text environment\text{hello}
"\text{$0}$1Quick textSame as above

Basic Operations

TriggerReplacementDescriptionExample
sr^{2}Squarex sr
cb^{3}Cubex cb
rd^{$0}$1Powerx rd
__{$0}$1Subscriptx_
sts_\text{$0}Text subscriptx sts
sq\sqrt{ $0 }$1Square rootsq
//\frac{$0}{$1}$2Fraction//
eee^{ $0 }$1Exponentialee
invs^{-1}InverseA invs
conj^{*}Conjugatez conj

Auto Subscripts

TriggerReplacementDescriptionExample
x2x_{2}Letter + digit
x_12x_{12}Letter + two digits
xnnx_{n}x sub n
xiix_{i}x sub i
xjjx_{j}x sub j
xp1x_{n+1}x sub n+1
ynny_{n}y sub n
yiiy_{i}y sub i
yjjy_{j}y sub j

Font Styles

TriggerReplacementDescriptionExample
bf\mathbf{$0}Boldbf x
rm\mathrm{$0}$1Romanrm Re
Re\mathrm{Re}Real part
Im\mathrm{Im}Imaginary part

Accents and Decorations

TriggerReplacementDescriptionExample
xhat\hat{x}Hat (letter)
hat\hat{$0}$1Hat (general)
xbar\bar{x}Bar (letter)
bar\bar{$0}$1Bar (general)
xdot\dot{x}Dot (letter)
dot\dot{$0}$1Dot (general)
xddot\ddot{x}Double dot (letter)
ddot\ddot{$0}$1Double dot (general)
xtilde\tilde{x}Tilde (letter)
tilde\tilde{$0}$1Tilde (general)
xund\underline{x}Underline (letter)
und\underline{$0}$1Underline (general)
xvec\vec{x}Vector (letter)
vec\vec{$0}$1Vector (general)
x,. or x.,\mathbf{x}Bold shortcut

Symbols and Infinity

TriggerReplacementDescriptionExample
ooo\inftyInfinity
...\dotsEllipsis
cdot\cdotCenter dot
xx\timesTimes
**\cdotDot product

Sums, Products, Limits

TriggerReplacementDescriptionExample
sum\sumSummation
\sum (in math)\sum_{i=1}^{N}Sum with limits
prod\prodProduct
\prod (in math)\prod_{i=1}^{N}Product with limits
lim\lim_{ n \to \infty }Limit

Relations and Logic

TriggerReplacementDescriptionExample
in\inElement of
inn\inElement of
notin\not\inNot element of
sub=\subseteqSubset or equal
sup=\supseteqSuperset or equal
eset\emptysetEmpty set
set\{ $0 \}$1Set brackets
+-\pmPlus-minus
-+\mpMinus-plus
!=\neqNot equal
>=\geqGreater or equal
<=\leqLess or equal
>>\ggMuch greater
<<\llMuch less
simm\simSimilar
sim=\simeqSimilar or equal
===\equivEquivalent
prop\proptoProportional
para\parallelParallel

Arrows

TriggerReplacementDescriptionExample
->\toRight arrow
<->\leftrightarrowLeft-right arrow
!>\mapstoMaps to
=>\impliesImplies
=<\impliedbyImplied by

Set Operations

TriggerReplacementDescriptionExample
and\capIntersection
orr\cupUnion
\\\\setminusSet difference

Common Sets

TriggerReplacementDescriptionExample
NN\mathbb{N}Natural numbers
ZZ\mathbb{Z}Integers
RR\mathbb{R}Real numbers
CC\mathbb{C}Complex numbers
LL\mathcal{L}Lagrangian
HH\mathcal{H}Hilbert space

Derivatives and Integrals

TriggerReplacementDescriptionExample
par (tab)\frac{ \partial y }{ \partial x }Partial derivative
paxy (tab)\frac{ \partial x }{ \partial y }Partial (auto)
ddt\frac{d}{dt}Time derivative
int\intIntegral
\int (in math)\int f \, dxIntegral with differential
dint\int_{0}^{1} f \, dxDefinite integral
oint\ointContour integral
iint\iintDouble integral
iiint\iiintTriple integral
oinf\int_{0}^{\infty} f \, dx0 to infinity
infi\int_{-\infty}^{\infty} f \, dx-inf to inf

Trigonometry

TriggerReplacementDescriptionExample
sin\sinSine
cos\cosCosine
tan\tanTangent
arcsin\arcsinArcsine
arccos\arccosArccosine
arctan\arctanArctangent
csc\cscCosecant
sec\secSecant
cot\cotCotangent
sinh\sinhHyperbolic sine
cosh\coshHyperbolic cosine
tanh\tanhHyperbolic tangent
coth\cothHyperbolic cotangent

Functions

TriggerReplacementDescriptionExample
exp\expExponential
log\logLogarithm
ln\lnNatural log
det\detDeterminant
trace\mathrm{Tr}Trace

Visual Operations (for selected text)

Have to select first and then press.

TriggerReplacementDescriptionExample
U\underbrace{ ... }_{ }Underbrace
O\overbrace{ ... }^{ }Overbrace
B\underset{ }{ ... }Underset
C\cancel{ ... }Cancel
K\cancelto{ }{ ... }Cancel to
S\sqrt{ ... }Square root

Matrix Environments

TriggerReplacementDescriptionExample
pmat\begin{pmatrix}...\end{pmatrix}Parenthesis matrix
bmat\begin{bmatrix}...\end{bmatrix}Bracket matrix
Bmat\begin{Bmatrix}...\end{Bmatrix}Brace matrix
vmat\begin{vmatrix}...\end{vmatrix}Vertical bar matrix
Vmat\begin{Vmatrix}...\end{Vmatrix}Double bar matrix
matrix\begin{matrix}...\end{matrix}Plain matrix
cases\begin{cases}...\end{cases}Cases environment
align\begin{align}...\end{align}Align environmentMulti-line equations
array\begin{array}...\end{array}Array environmentCustom arrays

Brackets and Delimiters

TriggerReplacementDescriptionExample
(($0)$1Parentheses
[[$0]$1Square brackets
{{$0}$1Curly braces(needs escaping)
lr(\left( $0 \right)Auto-sized parens
lr[\left[ $0 \right]Auto-sized brackets
lr{\left\{ $0 \right\}Auto-sized braces
lra\left< $0 \right>Auto-sized angles
avg\langle $0 \rangleAngle brackets
norm\lvert $0 \rvertNorm
Norm\lVert $0 \rVertDouble norm
ceil\lceil $0 \rceilCeiling
floor\lfloor $0 \rfloorFloor
mod|$0|Absolute value$

Physics

TriggerReplacementDescriptionExample
nabl / del\nablaNabla/Del
kbtk_{B}TBoltzmann constant × T
msunM_{\odot}Solar mass

Quantum Mechanics

TriggerReplacementDescriptionExample
dag^{\dagger}Dagger (Hermitian)
o+\oplusDirect sum
ox\otimesTensor product
bra\bra{$0}Bra$\langle\psi
ket\ket{$0}Ket$
brk\braket{ $0 | $1 }Braket$\langle\phi
outer\ket{\psi} \bra{\psi}Outer product$

Chemistry

TriggerReplacementDescriptionExample
pu\pu{ $0 }Physical units
cee\ce{ $0 }Chemical equation
he4{}^{4}_{2}HeHelium-4
he3{}^{3}_{2}HeHelium-3
iso{}^{4}_{2}HeIsotope notation

Special Functions

TriggerReplacementDescriptionResult
taylTaylor expansion templateFull Taylor series
iden33×3 identity matrixAuto-generates

This cheatsheet covers all your shortcuts! The most commonly used ones are probably the Greek letters, basic operations (fractions, powers, subscripts), and the matrix environments.