Merge pull request #397 from lucc/bug/tex/newcommand

Tex: Escape a \.
This commit is contained in:
Holger Rapp 2014-07-04 17:17:27 +02:00
commit f76d9356a2

View File

@ -1,7 +1,7 @@
#PREAMBLE
#newcommand
snippet nc \newcommand
\newcommand{\${1:cmd}}[${2:opt}]{${3:realcmd}} ${0}
\newcommand{\\${1:cmd}}[${2:opt}]{${3:realcmd}} ${0}
#usepackage
snippet up \usepackage
\usepackage[${1:options}]{${2:package}} ${0}