From c21dde32c14395ae0c4d06faddd943432723511b Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 26 Mar 2015 10:05:17 +0000 Subject: Updating dotfiles --- vim/mySnippets/tex.snippets | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'vim/mySnippets') diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets index 9c2153e..ff3fc0a 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 +\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,12 +38,16 @@ 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 +\ip{$1}{$2}$0 endsnippet snippet norm "Norm" i -\norm{$1} $0 +\norm{$1}$0 endsnippet snippet test "Test functions" i @@ -55,7 +59,7 @@ snippet lp "Flat Lp space" i 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 @@ -66,10 +70,10 @@ snippet sobw "Weighted Sobolev space" i \wsobolev{${1:s}}{${2:\real^n}}{${3:\rho}} $0 endsnippet -snippet new "New command" b -\newcommand{$1}[$2]{$3} -endsnippet - snippet smooth "Smooth function" i \smooth{${1:\real^n}} $0 endsnippet + +snippet cont "Continuous function" i +\cont{$1}{$2} $0 +endsnippet -- cgit v1.2.3