1
0
Fork 0
mirror of synced 2024-11-10 11:18:58 -05:00
ultimate-vim/sources_non_forked/vim-snippets/UltiSnips/texmath.snippets
2018-12-17 12:28:27 +01:00

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: