summaryrefslogtreecommitdiff
path: root/vim/mySnippets/tex.snippets
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-26 18:42:09 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-03-26 18:42:09 +0000
commit72de482ee4fa06bc096f70be5b2a12e10451068f (patch)
tree8984e24144d48995eead56f61d4e94500c032f64 /vim/mySnippets/tex.snippets
parent9c6f1f8f3f5b5e0a68bfd493df245aed1736faef (diff)
Added new snippets
Diffstat (limited to 'vim/mySnippets/tex.snippets')
-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