summaryrefslogtreecommitdiff
path: root/nvim/mySnippets/tex.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/mySnippets/tex.snippets')
-rw-r--r--nvim/mySnippets/tex.snippets10
1 files changed, 9 insertions, 1 deletions
diff --git a/nvim/mySnippets/tex.snippets b/nvim/mySnippets/tex.snippets
index fb061f0..883a37d 100644
--- a/nvim/mySnippets/tex.snippets
+++ b/nvim/mySnippets/tex.snippets
@@ -46,16 +46,24 @@ snippet ip "Inner product" i
\ip{$1}{$2}$0
endsnippet
+snippet ipw "Inner product" i
+\wip{$1}{$2}{$3}$0
+endsnippet
+
snippet norm "Norm" i
\norm{$1}$0
endsnippet
+snippet normw "Weighted norm" i
+\wnorm{$1}{${2:\gamma}}
+endsnippet
+
snippet test "Test functions" i
\test{${1:\real^n}}$0
endsnippet
snippet lp "Flat Lp space" i
-\lp{${1:2}}{${2:\real^n}}$0
+\flp{${1:2}}{${2:\real^n}}$0
endsnippet
snippet lpw "Weighted Lp space" i