mirror of
https://github.com/amix/vimrc
synced 2025-07-06 07:55:00 +08:00
gitignore sources_non_forked_cache
This commit is contained in:
53
sources_non_forked/vim-snippets/UltiSnips/texmath.snippets
Normal file
53
sources_non_forked/vim-snippets/UltiSnips/texmath.snippets
Normal file
@ -0,0 +1,53 @@
|
||||
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:
|
Reference in New Issue
Block a user