summaryrefslogtreecommitdiff
path: root/.vim/mySnippets/tex.snippets
blob: 9c748455750ad80ddcdc34ec4ec20e7f8a6dc9fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
snippet real "Field of real numbers" i
\real
endsnippet

snippet grad "Gradient" i
\grad
endsnippet

snippet div "Divergence" i
\dive
endsnippet

snippet new "New command" b
\newcommand{$1}[$2]{$3}$0
endsnippet

snippet op "Operator style" i
\op
endsnippet

snippet pard "Partial derivative" i
\pardl{$1}{$2}$0
endsnippet

snippet pardd "Double partial derivative" i
\parddl{$1}{$2}$0
endsnippet

snippet herm "Hermite polynomials" i
\hermite
endsnippet

snippet red "Red text" i
\red{$1}$0
endsnippet

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

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 "Lp spaces" w
\lp{${1:exponent}}{${2:domain}}${3/^.+$/[/}${3:weight}${3/^.+$/]/}$0
endsnippet

snippet  sob "Sobolev spaces" w
\sobolev{${1:exponent}}{${2:domain}}${3/^.+$/[/}${3:weight}${3/^.+$/]/}$0
endsnippet

snippet cont "Continuous function" w
\cont{$1}{$2}$0
endsnippet

snippet mean "Expectation" w
\expect $0
endsnippet

snippet dot "Dot product" w
\dotx
endsnippet

snippet abs "Absolute value" w
\abs{ $1 }$0
endsnippet

snippet sum "Sum" w
\sum_{${1:i=1}}^{${2:n}}
endsnippet

snippet smooth "Smooth function" w
\smooth{${1:\real^n}} $0
endsnippet

snippet ref "Clever reference" w
\cref{$1}$0
endsnippet

snippet frame "My frame snippet" b
\begin{frame}
	\frametitle{$1}
	$0
\end{frame}
endsnippet

snippet gauss "Gaussian density" w
\gaussian{${1:\mu}}{${2:\Sigma}}$0
endsnippet