# -*- mode: snippet -*- # key: sub # contributor: Translated from TextMate Snippet # name: Sub Section # -- \subsection{${1:subsection name}} % (fold) \label{sub:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}} `yas/selected-text`$0 % subsection $2 (end)