Skip to content

Commit bdefc3d

Browse files
Zeta611lpil
authored andcommitted
🐛 Re-added some UltiSnips TeX math snippets
Re-added UltiSnips snippets in `UltiSnips/texmath.snippets` that have different snippet names with the ones in `snippets/tex.snippets`. Also added tabstops. Fixes honza#1083 and honza#1084
1 parent 8c66615 commit bdefc3d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

UltiSnips/texmath.snippets

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
priority -50
22

3+
##############
4+
# MATH STUFF #
5+
##############
6+
7+
snippet eqnn "Equation without a number" b
8+
\begin{equation*}
9+
${0:${VISUAL}}
10+
\end{equation*}
11+
endsnippet
12+
13+
snippet al "Align" b
14+
\begin{align}
15+
${0:${VISUAL}}
16+
\end{align}
17+
endsnippet
18+
19+
snippet alnn "Align without a number" b
20+
\begin{align*}
21+
${0:${VISUAL}}
22+
\end{align*}
23+
endsnippet
24+
25+
snippet eqa "Equation array" b
26+
\begin{eqnarray}
27+
${1:${VISUAL}} & ${2:${VISUAL}} & ${0:${VISUAL}}
28+
\end{eqnarray}
29+
endsnippet
30+
31+
snippet eqann "Equation array without a number" b
32+
\begin{eqnarray*}
33+
${1:${VISUAL}} & ${2:${VISUAL}} & ${0:${VISUAL}}
34+
\end{eqnarray*}
35+
endsnippet
36+
37+
#################
38+
# PHYSICS STUFF #
39+
#################
40+
341
snippet dv "Derivative" w
442
\dv[${1:${VISUAL}}]{${2}}{${3}}
543
endsnippet

0 commit comments

Comments
 (0)