unix-conf/.emacs.d/snippets/latex-mode/eq.yasnippet
2019-08-19 15:13:14 +00:00

11 lines
289 B
Plaintext

# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: eq
# group: math
# name: \begin{equation} ... \end{equation}
# --
\begin{equation}
\label{${1:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0
\end{equation}