diff --git a/UltiSnips/tex.snippets b/UltiSnips/tex.snippets index 97ea8a8..db53307 100644 --- a/UltiSnips/tex.snippets +++ b/UltiSnips/tex.snippets @@ -74,7 +74,7 @@ ${0} endsnippet snippet sec "Section" b -\section{${1:section name}} +\section{${1:section name}} \label{sec:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/g}}} ${0}