#PGDWN add chapter -1 # skip to previous chapter
#Shift+PGUP seek 600
#Shift+PGDWN seek -600
-[ multiply speed 1/1.1 # scale playback speed
-] multiply speed 1.1
+[ add speed -0.1 # scale playback speed
+] add speed 0.1
{ multiply speed 0.5
} multiply speed 2.0
#BS set speed 1.0 # reset speed to normal
\end{$1}
endsnippet
-
snippet enum "enumerate" w
\begin{enumerate}[$1]
$0
\end{enumerate}
endsnippet
-
snippet align "align" w
\begin{align*}
$0
\end{align*}
endsnippet
-
snippet center "center" w
\begin{center}
$0
\end{center}
endsnippet
+snippet proof "proof" w
+\begin{proof}
+ $0
+\end{proof}
+endsnippet
+
# FRACTIONS
snippet // "frac" iA
\\frac{$1}{$2}$0
\lim\limits_{$1 \to $2}$3
endsnippet
-
snippet inflim "limit to infinity" w
\lim\limits_{n \to \infty}
endsnippet
$$1$$0
endsnippet
-
snippet bm "block math" w
\[
$1
\]$0
endsnippet
-
-# SETS
+# mathbb
snippet set "Set" w
\\{ $0 \\}
endsnippet
+snippet field "Field" w
+\mathbb{F}
+endsnippet
+
+snippet complex "Set of Complex" w
+\mathbb{C}
+endsnippet
snippet reals "Set of Reals" w
\mathbb{R}
endsnippet
+snippet rationals "Set of Rational" w
+\mathbb{Q}
+endsnippet
snippet integers "Set of Integers" w
\mathbb{Z}
endsnippet
-
snippet naturals "Set of Naturals" w
\mathbb{N}
endsnippet
-snippet complex "Set of Complex" w
-\mathbb{C}
-endsnippet
# OTHERS
snippet implies "Implies" w
\Rightarrow
endsnippet
-
snippet mod "Mod" w
{\ (\textrm{mod}\ $1)}
endsnippet
-
snippet floor "Floor" w
\lfloor $1 \rfloor
endsnippet
-
snippet cubert "Cube root" w
\sqrt[\leftroot{-2}\uproot{2}3]{$1}
endsnippet
-
snippet nroot "Root" w
\sqrt[\leftroot{-2}\uproot{2}$1]{$2}
endsnippet
-
snippet ceil "Ceiling" w
\lceil $1 \rceil
endsnippet
\end{center}
endsnippet
-
snippet lemma "Lemma" w
\textbf{Lemma $1}
}
endsnippet
+
+snippet piecewise "Piecewise" w
+\[
+ \begin{cases}
+ $0
+ \end{cases}
+\]
+endsnippet
+
+snippet graph "Graph" w
+\begin{tikzpicture}
+\begin{axis}[
+ ticks=none,
+ axis lines = middle,
+ axis line style={->},
+ ymin=-5, ymax=5,
+ xmin=-5, xmax=5,
+ xlabel={$x$},
+ ylabel={$y$},
+ axis equal image
+]
+
+\end{axis}
+\end{tikzpicture}
+endsnippet
case $1 in
-f|--full) scrot "$screen_name" && notify-send "Fullscreen screenshot taken - $screen_name" -i "";;
- -w|--win) scrot -u "$screen_name" && notify-send "Windowed screenshot taken - $screen_name" -i "";;
+ -b|--box) scrot -s "$screen_name" && notify-send "Windowed screenshot taken - $screen_name" -i "";;
esac