@@ -14,163 +14,163 @@ snippet dmo
14
14
15
15
# DOCUMENT
16
16
# \begin{}...\end{}
17
- snippet begin
17
+ snippet begin
18
18
\b egin{${1: env } }
19
- ${0}
19
+ ${0}
20
20
\e nd{$1 }
21
21
# Tabular
22
- snippet tab
22
+ snippet tab
23
23
\b egin{${1: tabular } }{${2: c } }
24
- ${0}
24
+ ${0}
25
25
\e nd{$1 }
26
- snippet thm
26
+ snippet thm
27
27
\b egin[${1: author } ]{${2: thm } }
28
- ${0}
28
+ ${0}
29
29
\e nd{$2 }
30
- snippet center
30
+ snippet center
31
31
\b egin{center}
32
- ${0}
32
+ ${0}
33
33
\e nd{center}
34
34
# Align(ed)
35
- snippet ali
35
+ snippet ali
36
36
\b egin{align${1: ed } }
37
37
\l abel{eq:${2} }
38
- ${0}
38
+ ${0}
39
39
\e nd{align$1 }
40
40
# Gather(ed)
41
- snippet gat
41
+ snippet gat
42
42
\b egin{gather${1: ed } }
43
- ${0}
43
+ ${0}
44
44
\e nd{gather$1 }
45
45
# Equation
46
- snippet eq
46
+ snippet eq
47
47
\b egin{equation}
48
48
\l abel{eq:${2} }
49
- ${0}
49
+ ${0}
50
50
\e nd{equation}
51
51
# Equation
52
- snippet eq*
52
+ snippet eq*
53
53
\b egin{equation*}
54
- ${0}
54
+ ${0}
55
55
\e nd{equation*}
56
56
# Unnumbered Equation
57
- snippet \
58
- \[
57
+ snippet \
58
+ \[
59
59
${0}
60
- \]
60
+ \]
61
61
# Equation array
62
- snippet eqnarray
63
- \begin{eqnarray}
62
+ snippet eqnarray
63
+ \b egin{eqnarray}
64
64
${0}
65
- \end{eqnarray}
65
+ \e nd{eqnarray}
66
66
# Label
67
- snippet lab
68
- \label{${1:eq:}${2:fig:}${3:tab:}${0}}
67
+ snippet lab
68
+ \l abel{${1: eq: }${2: fig: }${3: tab: } ${0} }
69
69
# Enumerate
70
- snippet enum
71
- \begin{enumerate}
70
+ snippet enum
71
+ \b egin{enumerate}
72
72
\i tem ${0}
73
- \end{enumerate}
73
+ \e nd{enumerate}
74
74
# Itemize
75
- snippet itemize
76
- \begin{itemize}
75
+ snippet itemize
76
+ \b egin{itemize}
77
77
\i tem ${0}
78
- \end{itemize}
79
- snippet item
80
- \item ${1}
78
+ \e nd{itemize}
79
+ snippet item
80
+ \i tem ${1}
81
81
# Description
82
- snippet desc
83
- \begin{description}
82
+ snippet desc
83
+ \b egin{description}
84
84
\i tem[${1} ] ${0}
85
- \end{description}
85
+ \e nd{description}
86
86
# Endless new item
87
- snippet ]i
88
- \item ${1}
87
+ snippet ]i
88
+ \i tem ${1}
89
89
${0: ]i }
90
90
# Matrix
91
- snippet mat
92
- \begin{${1:p/b/v/V/B/small}matrix}
91
+ snippet mat
92
+ \b egin{${1: p/b/v/V/B/small } matrix}
93
93
${0}
94
- \end{$1matrix}
94
+ \e nd{$1 matrix}
95
95
# Cases
96
- snippet cas
97
- \begin{cases}
96
+ snippet cas
97
+ \b egin{cases}
98
98
${1: equation } , &\t ext{ if }${2: case } \\
99
- ${0}
100
- \end{cases}
99
+ ${0}
100
+ \e nd{cases}
101
101
# Split
102
- snippet spl
103
- \begin{split}
104
- ${0}
105
- \end{split}
102
+ snippet spl
103
+ \b egin{split}
104
+ ${0}
105
+ \e nd{split}
106
106
# Part
107
- snippet part
108
- \part{${1:part name}} % (fold)
107
+ snippet part
108
+ \p art{${1: part name } } % (fold)
109
109
\l abel{prt:${2: $1 } }
110
110
${0}
111
- % part $2 (end)
111
+ % part $2 (end)
112
112
# Chapter
113
- snippet cha
113
+ snippet cha
114
114
\c hapter{${1: chapter name } }
115
115
\l abel{cha:${2: $1 } }
116
116
${0}
117
117
# Section
118
- snippet sec
118
+ snippet sec
119
119
\s ection{${1: section name } }
120
120
\l abel{sec:${2: $1 } }
121
121
${0}
122
122
# Section without number
123
- snippet sec*
123
+ snippet sec*
124
124
\s ection*{${1: section name } }
125
125
\l abel{sec:${2: $1 } }
126
126
${0}
127
127
# Sub Section
128
- snippet sub
128
+ snippet sub
129
129
\s ubsection{${1: subsection name } }
130
130
\l abel{sub:${2: $1 } }
131
131
${0}
132
132
# Sub Section without number
133
- snippet sub*
133
+ snippet sub*
134
134
\s ubsection*{${1: subsection name } }
135
135
\l abel{sub:${2: $1 } }
136
136
${0}
137
137
# Sub Sub Section
138
- snippet subs
138
+ snippet subs
139
139
\s ubsubsection{${1: subsubsection name } }
140
140
\l abel{ssub:${2: $1 } }
141
141
${0}
142
142
# Sub Sub Section without number
143
- snippet subs*
143
+ snippet subs*
144
144
\s ubsubsection*{${1: subsubsection name } }
145
145
\l abel{ssub:${2: $1 } }
146
146
${0}
147
147
# Paragraph
148
- snippet par
148
+ snippet par
149
149
\p aragraph{${1: paragraph name } }
150
150
\l abel{par:${2: $1 } }
151
151
${0}
152
152
# Sub Paragraph
153
- snippet subp
153
+ snippet subp
154
154
\s ubparagraph{${1: subparagraph name } }
155
155
\l abel{subp:${2: $1 } }
156
156
${0}
157
- snippet ni
157
+ snippet ni
158
158
\n oindent
159
159
${0}
160
160
# References
161
- snippet itd
161
+ snippet itd
162
162
\i tem[${1: description } ] ${0: item }
163
- snippet figure
163
+ snippet figure
164
164
${1: Figure } ~\r ef{${2: fig: } }
165
- snippet table
165
+ snippet table
166
166
${1: Table } ~\r ef{${2: tab: } }
167
- snippet listing
167
+ snippet listing
168
168
${1: Listing } ~\r ef{${2: list } }
169
- snippet section
169
+ snippet section
170
170
${1: Section } ~\r ef{sec:${2} } ${0}
171
- snippet page
171
+ snippet page
172
172
${1: page } ~\p ageref{${2} } ${0}
173
- snippet index
173
+ snippet index
174
174
\i ndex{${1: index } } ${0}
175
175
# Citations
176
176
snippet citen
@@ -212,7 +212,7 @@ snippet ft
212
212
snippet fig
213
213
\b egin{figure}
214
214
\b egin{center}
215
- \i ncludegraphics[scale=${1} ]{Figures/${2} }
215
+ \i ncludegraphics[scale=${1} ]{Figures/${2} }
216
216
\e nd{center}
217
217
\c aption{${3} }
218
218
\l abel{fig:${4} }
0 commit comments