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.snippets12
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index 64f665b..1ff2e03 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -33,3 +33,15 @@ 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
+\ip{$1}{$2} $0
+endsnippet
+
+snippet norm "Norm" i
+\norm{$1} $0
+endsnippet