diff --git a/UltiSnips/tex.snippets b/UltiSnips/tex.snippets index a3f3ccb..fd5372c 100644 --- a/UltiSnips/tex.snippets +++ b/UltiSnips/tex.snippets @@ -4,7 +4,7 @@ extends texmath # LATEX SNIPPETS # ########################################################################### -snippet r "\ref{}" w +snippet r "\\ref{}" w \ref{$1} endsnippet @@ -122,4 +122,12 @@ ${0} % subparagraph $2 (end) endsnippet +############### +# Utilities # +############### + +snippet pac "Package" b +\usepackage[${1:options}]{${2:package}}$0 +endsnippet + # vim:ft=snippets: