dotfiles/theorem.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

12 lines
328 B
Plaintext

# -*- mode: snippet -*-
# name: theorem
# key: thm
# binding: C-c y t
# condition: (or (= (current-column) 3) (= (current-column) 0))
# contributor: Rafael Villarroel (rvf0068@gmail.com)
# --
# <<$1>>
#+BEGIN_THEOREM
#+latex: \label{${1:"waiting"$(unless yas/modified-p (reftex-label "theorem" 'dont-insert))}}%
$0
#+END_THEOREM