Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 63 additions & 23 deletions tex.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ snippet iff "iff" Ai
endsnippet

snippet mk "Math" wA
$${1}$`!p
\(${1}\)`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
snip.rv = ' '
else:
Expand Down Expand Up @@ -389,10 +389,6 @@ snippet xmm "x" iA
x_{m}
endsnippet

snippet R0+ "R0+" iA
\\R_0^+
endsnippet

snippet plot "Plot" w
\begin{figure}[$1]
\centering
Expand Down Expand Up @@ -532,10 +528,6 @@ snippet inn "in " iA
\in
endsnippet

snippet NN "n" iA
\N
endsnippet

snippet Nn "cap" iA
\cap
endsnippet
Expand All @@ -552,22 +544,79 @@ snippet nnn "bigcap" iA
\bigcap_{${1:i \in ${2: I}}} $0
endsnippet

context "math()"
snippet OO "emptyset" iA
\emptyset
endsnippet

snippet OO "emptyset" iA
\O
\(\emptyset\)
endsnippet

context "math()"
snippet RR "real" iA
\mathbb{R}
endsnippet

snippet RR "real" iA
\R
\(\mathbb{R}\)
endsnippet

context "math()"
snippet R0+ "R0+" iA
\mathbb{R}_0^+
endsnippet

snippet R0+ "R0+" iA
\(\mathbb{R}_0^+\)
endsnippet

context "math()"
snippet QQ "Q" iA
\Q
\mathbb{Q}
endsnippet

snippet QQ "Q" iA
\(\mathbb{Q}\)
endsnippet

context "math()"
snippet ZZ "Z" iA
\Z
\mathbb{Z}
endsnippet

snippet ZZ "Z" iA
\(\mathbb{Z}\)
endsnippet

context "math()"
snippet NN "n" iA
\mathbb{N}
endsnippet

snippet NN "n" iA
\(\mathbb{N}\)
endsnippet

context "math()"
snippet HH "H" iA
\mathbb{H}
endsnippet

snippet HH "H" iA
\(\mathbb{H}\)
endsnippet

context "math()"
snippet DD "D" iA
\mathbb{D}
endsnippet

snippet DD "D" iA
\(\mathbb{D}\)
endsnippet


snippet <! "normal" iA
\triangleleft
endsnippet
Expand Down Expand Up @@ -634,16 +683,7 @@ snippet "([a-zA-Z])hat" "hat" riA
endsnippet

snippet letw "let omega" iA
Let $\Omega \subset \C$ be open.
endsnippet


snippet HH "H" iA
\mathbb{H}
endsnippet

snippet DD "D" iA
\mathbb{D}
Let \(\Omega \subset \C\) be open.
endsnippet

# vim:ft=snippets