dotfiles/lemma.yasnippet

12 lines
320 B
Plaintext
Raw Normal View History

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