X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.vim%2Fmysnippets%2Ftex.snippets;h=a6f88267908ab74ace3203c2394a6146dfd282db;hp=33cef9307caf3ebe32192d976cc0a8aa55098920;hb=739ace9e490fa6e377e36a2c8b8cc7163797a2fe;hpb=faac9512ba959286621bcb1222ebcdc153ebe37c diff --git a/.vim/mysnippets/tex.snippets b/.vim/mysnippets/tex.snippets index 33cef93..a6f8826 100644 --- a/.vim/mysnippets/tex.snippets +++ b/.vim/mysnippets/tex.snippets @@ -7,10 +7,20 @@ endsnippet snippet enum "enumerate" w \begin{enumerate}[$1] - $0 + \item $0 \end{enumerate} endsnippet +snippet list "Itemized List" w +\begin{itemize} + \item $0 +\end{itemize} +endsnippet + +snippet def "Definition" w +\textbf{$1} - $2 +endsnippet + snippet align "align" w \begin{align*} $0 @@ -113,10 +123,18 @@ 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 -\Rightarrow +\to +endsnippet + +snippet iff "If and only if" w +\leftrightarrow endsnippet snippet mod "Mod" w @@ -179,10 +197,38 @@ snippet cis "Cis" w \mathrm{cis}($1) endsnippet +snippet ... "elpises" iA +\ldots +endsnippet + +snippet big) "Big paren" w +\left( $1 \right) $0 +endsnippet + +snippet big| "Big abs" w +\left| $1 \right| $0 +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}