Skip to content

Commit

Permalink
Added label snippet and added labels to ali and eq
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Jung committed Mar 6, 2014
1 parent 8c1fadf commit 56324b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snippets/tex.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ snippet center
# Align(ed)
snippet ali
\begin{align${1:ed}}
\label{eq:${2}}
${0}
\end{align$1}
# Gather(ed)
Expand All @@ -44,6 +45,7 @@ snippet gat
# Equation
snippet eq
\begin{equation}
\label{eq:${2}}
${0}
\end{equation}
# Equation
Expand All @@ -61,6 +63,9 @@ snippet eqnarray
\begin{eqnarray}
${0}
\end{eqnarray}
# Label
snippet lab
\label{${1:eq:}${2:fig:}${3:tab:}${0}}
# Enumerate
snippet enum
\begin{enumerate}
Expand Down

0 comments on commit 56324b8

Please sign in to comment.