neosnippets: Add tex.snip
authorStefan Huber <shuber@sthu.org>
Fri, 1 Mar 2019 20:28:41 +0000 (21:28 +0100)
committerStefan Huber <shuber@sthu.org>
Fri, 1 Mar 2019 20:28:41 +0000 (21:28 +0100)
neosnippets/tex.snip [new file with mode: 0644]

diff --git a/neosnippets/tex.snip b/neosnippets/tex.snip
new file mode 100644 (file)
index 0000000..404f372
--- /dev/null
@@ -0,0 +1,11 @@
+snippet definition
+alias   \begin{definition} \definition
+       \begin{definition}
+               ${1:TARGET}
+       \end{definition}
+
+snippet only
+alias   \only
+       \only<${1:NUM:}>{
+               ${2:TARGET}
+       }