2009-08-29 17:59:02 +00:00

9 lines
259 B
Plaintext

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