summaryrefslogtreecommitdiff
path: root/vim/mySnippets/tex.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/mySnippets/tex.snippets')
-rw-r--r--vim/mySnippets/tex.snippets42
1 files changed, 39 insertions, 3 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index dd60bb1..1ff2e03 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -1,11 +1,47 @@
+snippet real "Field of real numbers" i
+\real
+endsnippet
+
+snippet grad "Gradient" i
+\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
+
snippet sumi "Sum over index set" i
\sum_{${1:i} \in ${2:I}} $0
endsnippet
snippet ip "Inner product" i
-\left \langle $1, $2 \right \rangle $0
+\ip{$1}{$2} $0
endsnippet
-snippet real "Real numbers" i
-\mathbb R
+snippet norm "Norm" i
+\norm{$1} $0
endsnippet