dotfiles/equation.yasnippet
Ivan Malison a3cd73bbea Squashed 'dotfiles/emacs.d/snippets/org-mode/' content from commit 63d0bbd
git-subtree-dir: dotfiles/emacs.d/snippets/org-mode
git-subtree-split: 63d0bbd9629b3a07a56c61dded5502484ee53d1a
2015-07-29 17:26:01 -07:00

13 lines
342 B
Plaintext

# -*- mode: snippet -*-
# name: equation
# key: eqn
# binding: C-c y e
# condition: (or (= (current-column) 3) (= (current-column) 0))
# contributor: Rafael Villarroel (rvf0068@gmail.com)
# --
# <<$1>>
\begin{equation}
\label{${1:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}%
$0
\end{equation}