summaryrefslogtreecommitdiff
path: root/vim/mySnippets/tex.snippets
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-25 10:33:32 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-03-25 10:33:32 +0000
commit9c6f1f8f3f5b5e0a68bfd493df245aed1736faef (patch)
treec5828c89cfd8ffbffc99f3199c651bdb442f216d /vim/mySnippets/tex.snippets
parent94e1faac9f163c66b053e1194e41fdfd633d1a4e (diff)
Some changes
Diffstat (limited to 'vim/mySnippets/tex.snippets')
-rw-r--r--vim/mySnippets/tex.snippets28
1 files changed, 16 insertions, 12 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index b477512..000f288 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -11,7 +11,7 @@ snippet div "Divergence" i
endsnippet
snippet new "New command" b
-\newcommand{$1}[$2] {$3} $0
+\newcommand{$1}[$2]{$3}$0
endsnippet
snippet op "Operator style" i
@@ -19,11 +19,11 @@ snippet op "Operator style" i
endsnippet
snippet pard "Partial derivative" i
-\pard{$1}{$2} $0
+\pard{$1}{$2}$0
endsnippet
snippet pardd "Double partial derivative" i
-\pardd{$1}{$2} $0
+\pardd{$1}{$2}$0
endsnippet
snippet herm "Hermite polynomials" i
@@ -31,37 +31,41 @@ snippet herm "Hermite polynomials" i
endsnippet
snippet red "Red text" i
-\red{$1} $0
+\red{$1}$0
endsnippet
snippet sumi "Sum over index set" i
-\sum_{${1:i} \in ${2:I}} $0
+\sum_{${1:i} \in ${2:I}}$0
endsnippet
snippet ip "Inner product" i
-\ip{$1}{$2} $0
+\ip{$1}{$2}$0
endsnippet
snippet norm "Norm" i
-\norm{$1} $0
+\norm{$1}$0
endsnippet
snippet test "Test functions" i
-\test{${1:\real^n}} $0
+\test{${1:\real^n}}$0
endsnippet
snippet lp "Flat Lp space" i
-\lp{${1:2}}{${2:\real^n}} $0
+\lp{${1:2}}{${2:\real^n}}$0
endsnippet
snippet lpw "Weighted Lp space" i
-\wlp{${1:2}}{${2:\real^n}}{${3: \rho}} $0
+\wlp{${1:2}}{${2:\real^n}}{${3:\rho}}$0
endsnippet
snippet sob "Flat Sobolev space" i
-\sobolev{${1:s}}{${2:\real^n}} $0
+\sobolev{${1:s}}{${2:\real^n}}$0
endsnippet
snippet sobw "Weighted Sobolev space" i
-\wsobolev{${1:s}}{${2:\real^n}}{${3:\rho}} $0
+\wsobolev{${1:s}}{${2:\real^n}}{${3:\rho}}$0
+endsnippet
+
+snippet cont "Continuous function" i
+\cont{$1}{$2}$0
endsnippet