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