summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/mySnippets/tex.snippets34
1 files changed, 33 insertions, 1 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index 1741c9c..64f665b 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -1,3 +1,35 @@
+snippet real "Field of real numbers" i
+\real
+endsnippet
+
snippet grad "Gradient" i
-\nabla
+\grad
+endsnippet
+
+snippet div "Divergence" i
+\dive
+endsnippet
+
+snippet new "New command" b
+\newcommand{$1}[$2] {$3} $0
+endsnippet
+
+snippet op "Operator style" i
+\op
+endsnippet
+
+snippet pard "Partial derivative" i
+\pard{$1}{$2} $0
+endsnippet
+
+snippet pardd "Double partial derivative" i
+\pardd{$1}{$2} $0
+endsnippet
+
+snippet herm "Hermite polynomials" i
+\hermite
+endsnippet
+
+snippet red "Red text" i
+\red{$1} $0
endsnippet