summaryrefslogtreecommitdiff
path: root/vim/mySnippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/mySnippets')
-rw-r--r--vim/mySnippets/tex.snippets16
1 files changed, 14 insertions, 2 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index ac0fd05..0fba4e8 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -19,11 +19,11 @@ snippet op "Operator style" i
endsnippet
snippet pard "Partial derivative" i
-\pard{$1}{$2}$0
+\pardl{$1}{$2}$0
endsnippet
snippet pardd "Double partial derivative" i
-\pardd{$1}{$2}$0
+\parddl{$1}{$2}$0
endsnippet
snippet herm "Hermite polynomials" i
@@ -38,6 +38,10 @@ snippet sumi "Sum over index set" i
\sum_{${1:i} \in ${2:I}}$0
endsnippet
+snippet int "Integral" i
+\int_{$1}
+endsnippet
+
snippet ip "Inner product" i
\ip{$1}{$2}$0
endsnippet
@@ -85,3 +89,11 @@ endsnippet
snippet sum "Sum" i
\sum_{${1:i=1}}^{${2:n}}
endsnippet
+
+snippet smooth "Smooth function" i
+\smooth{${1:\real^n}} $0
+endsnippet
+
+snippet cont "Continuous function" i
+\cont{$1}{$2} $0
+endsnippet