X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.vim%2Fmysnippets%2Ftex.snippets;h=6d68b164fd6747b6ea01d04fc6ffdadad8c69505;hp=f19a2deee8590dcfff3124c813269c7e22d20f13;hb=d5357941de0effbbea612fde4f31b2c9a0bfc716;hpb=366f6e01929c651e868d008521bf56cc8d1414c2 diff --git a/.vim/mysnippets/tex.snippets b/.vim/mysnippets/tex.snippets index f19a2de..6d68b16 100644 --- a/.vim/mysnippets/tex.snippets +++ b/.vim/mysnippets/tex.snippets @@ -1,5 +1,5 @@ # Enviros -snippet \begin "enviroment" bA +snippet beg "enviroment" w \begin{$1} $0 \end{$1} @@ -29,6 +29,18 @@ snippet proof "proof" w \end{proof} endsnippet +snippet ibeg "inline enviroment" w +\begin{$1} $2 \end{$1} $0 +endsnippet + +snippet ibmat "inline bmatrix" w +\begin{bmatrix} $1 \end{bmatrix} $0 +endsnippet + +snippet ibsmat "inline small bmatrix" w +\begin{bsmallmatrix} $1 \end{bsmallmatrix} $0 +endsnippet + # FRACTIONS snippet // "frac" iA \\frac{$1}{$2}$0 @@ -101,6 +113,10 @@ snippet naturals "Set of Naturals" w \mathbb{N} endsnippet +snippet matrix "Set of Matricies" w +\mathbb{M}_{$1}($2)$0 +endsnippet + # OTHERS snippet implies "Implies" w @@ -139,14 +155,58 @@ snippet tan "Tan" w \tan($1) endsnippet +snippet asin "Arcsin" w +\sin^{-1}($1) +endsnippet + +snippet acos "Arccos" w +\cos^{-1}($1) +endsnippet + +snippet atan "Arctan" w +\tan^{-1}($1) +endsnippet + +snippet sins "Sin Squared" w +\sin^{2}($1) +endsnippet + +snippet coss "Cos Squared" w +\cos^{2}($1) +endsnippet + +snippet tans "Tan Squared" w +\tan^{2}($1) +endsnippet + snippet cis "Cis" w \mathrm{cis}($1) endsnippet +snippet ... "elpises" iA +\ldots +endsnippet + +# text snippet span "Span" w \text{span}($0) endsnippet +snippet col "Col" w +\text{Col}($0) +endsnippet + +snippet row "Row" w +\text{Row}($0) +endsnippet + +snippet rank "Rank" w +\text{Rank}($0) +endsnippet + +snippet nullity "Nullity" w +\text{Nullity}($0) +endsnippet snippet eea "Extended Euclidian Algorithm" w \begin{center}