summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/mySnippets/tex.snippets16
1 files changed, 16 insertions, 0 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index 000f288..ac0fd05 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -69,3 +69,19 @@ endsnippet
snippet cont "Continuous function" i
\cont{$1}{$2}$0
endsnippet
+
+snippet mean "Expectation" i
+\expect $0
+endsnippet
+
+snippet dot "Dot product" i
+\dotx
+endsnippet
+
+snippet abs "Absolute value" i
+\abs{ $1 }$0
+endsnippet
+
+snippet sum "Sum" i
+\sum_{${1:i=1}}^{${2:n}}
+endsnippet