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

7 lines
207 B
Plaintext

-*- mode: snippet -*-
# contributor : Márcio M. Ribeiro <marcio.mr@gmail.com>
# key: ref
# group: references
# name : \ref
# --
\ref{${1:label$(unless yas/modified-p (reftex-reference nil 'dont-insert))}}$0