Skip to content

Commit 56324b8

Browse files
author
Felix Jung
committed
Added label snippet and added labels to ali and eq
1 parent 8c1fadf commit 56324b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: snippets/tex.snippets

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ snippet center
3434
# Align(ed)
3535
snippet ali
3636
\begin{align${1:ed}}
37+
\label{eq:${2}}
3738
${0}
3839
\end{align$1}
3940
# Gather(ed)
@@ -44,6 +45,7 @@ snippet gat
4445
# Equation
4546
snippet eq
4647
\begin{equation}
48+
\label{eq:${2}}
4749
${0}
4850
\end{equation}
4951
# Equation
@@ -61,6 +63,9 @@ snippet eqnarray
6163
\begin{eqnarray}
6264
${0}
6365
\end{eqnarray}
66+
# Label
67+
snippet lab
68+
\label{${1:eq:}${2:fig:}${3:tab:}${0}}
6469
# Enumerate
6570
snippet enum
6671
\begin{enumerate}

0 commit comments

Comments
 (0)