mirror of
https://github.com/amix/vimrc
synced 2024-12-14 14:12:33 +00:00
53 lines
892 B
Text
53 lines
892 B
Text
priority -50
|
|
|
|
##############
|
|
# MATH STUFF #
|
|
##############
|
|
|
|
snippet eqnn "Equation without a number" b
|
|
\begin{equation*}
|
|
${0:${VISUAL}}
|
|
\end{equation*}
|
|
endsnippet
|
|
|
|
snippet al "Align" b
|
|
\begin{align}
|
|
${0:${VISUAL}}
|
|
\end{align}
|
|
endsnippet
|
|
|
|
snippet alnn "Align without a number" b
|
|
\begin{align*}
|
|
${0:${VISUAL}}
|
|
\end{align*}
|
|
endsnippet
|
|
|
|
snippet eqa "Equation array" b
|
|
\begin{eqnarray}
|
|
${1:${VISUAL}} & ${2:${VISUAL}} & ${0:${VISUAL}}
|
|
\end{eqnarray}
|
|
endsnippet
|
|
|
|
snippet eqann "Equation array without a number" b
|
|
\begin{eqnarray*}
|
|
${1:${VISUAL}} & ${2:${VISUAL}} & ${0:${VISUAL}}
|
|
\end{eqnarray*}
|
|
endsnippet
|
|
|
|
#################
|
|
# PHYSICS STUFF #
|
|
#################
|
|
|
|
snippet dv "Derivative" w
|
|
\dv[${1:${VISUAL}}]{${2}}{${3}}
|
|
endsnippet
|
|
|
|
snippet pdv "Partial Derivative" w
|
|
\pdv[${1:${VISUAL}}]{${2}}{${3}}
|
|
endsnippet
|
|
|
|
snippet SI "SI-Unit" w
|
|
\SI{${1:${VISUAL}}}{${2}}
|
|
endsnippet
|
|
|
|
# vim:ft=snippets:
|