Files
linux-config/UltiSnips/texmath.snippets
Kevin Mok 7adfcb7948 Added TeXmath snippets to help with PAR 2
- (in-)line equation
- square root
- therefore
- cdot
2018-02-05 00:10:00 -05:00

48 lines
652 B
Plaintext

snippet al "Align (math)" b
\begin{align*}
$0 \\\\
\end{align*}
endsnippet
snippet pwf "Piecewise function" b
\[
${1:name} = \left.
\begin{cases}
${2:equation}, & ${3:condition} \\\\
\end{cases}
\right\\}
\]
endsnippet
snippet int "Integral" i
\int_{${1:lower}}^{${2:upper}} \, \mathrm{d}${3:x}
endsnippet
snippet ie "I-L equation" i
$$1$ $2
endsnippet
snippet le "Lined equation" b
$$$1$$
endsnippet
snippet sqrt "Square root" i
\sqrt{$1}$2
endsnippet
snippet ex "cdot" i
\cdot
endsnippet
snippet et "I-L var T" i
$T$
endsnippet
snippet dlty "I-L Delta y" i
$\Delta y$
endsnippet
snippet thus "Therefore" b
$\therefore$
endsnippet