summaryrefslogtreecommitdiff
path: root/vim/mySnippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/mySnippets')
-rw-r--r--vim/mySnippets/tex.snippets20
1 files changed, 14 insertions, 6 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index dd60bb1..ef275a0 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -1,11 +1,19 @@
-snippet sumi "Sum over index set" i
-\sum_{${1:i} \in ${2:I}} $0
+snippet test "Test functions" i
+\test{${1:\real^n}} $0
endsnippet
-snippet ip "Inner product" i
-\left \langle $1, $2 \right \rangle $0
+snippet lp "Flat Lp space" i
+\lp{${1:2}}{${2:\real^n}} $0
endsnippet
-snippet real "Real numbers" i
-\mathbb R
+snippet lpw "Weighted Lp space" i
+\wlp{${1:2}}{${2:\real^n}}{${3: \rho}} $0
+endsnippet
+
+snippet sob "Flat Sobolev space" i
+\sobolev{${1:s}}{${2:\real^n}} $0
+endsnippet
+
+snippet sobw "Weighted Sobolev space" i
+\wsobolev{${1:s}}{${2:\real^n}}{${3:\rho}} $0
endsnippet