summaryrefslogtreecommitdiffstats
path: root/etc/yasnippet/snippets/latex-mode/newcommand
blob: e9e03caa5294910e01e62cebe328d8fdadc91b5a (plain) (blame)
1
2
3
4
5
# -*- mode: snippet -*-
# name: newcommand
# key: cmd
# --
\newcommand{\\${1:name}}${2:[${3:0}]}{$0}