.emacs.d/snippets/latex-mode/eq.yasnippet

11 lines
289 B
Plaintext
Raw Permalink Normal View History

2020-01-13 14:14:54 +00:00
# -*- 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}