[emacs] Add snippets for latex mode.
This commit is contained in:
7
.emacs.d/snippets/latex-mode/ref.yasnippet
Normal file
7
.emacs.d/snippets/latex-mode/ref.yasnippet
Normal file
@@ -0,0 +1,7 @@
|
||||
-*- 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
|
Reference in New Issue
Block a user