update vimrc
[dotfiles.git] / .vim / mysnippets / tex.snippets
index 9750a35..292727a 100644 (file)
@@ -1,5 +1,5 @@
 # Enviros
-snippet \begin "enviroment" bA
+snippet beg "enviroment" w
 \begin{$1}
        $0
 \end{$1}
@@ -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
@@ -29,6 +39,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
@@ -54,6 +76,12 @@ snippet prod "Product" w
 \prod\limits_{$1}^{$2}$3
 endsnippet
 
+
+snippet defint "Definite Integral" w
+\int_{$1}^{$2} $0
+endsnippet
+
+
 # MATH MODES
 priority 10
 snippet im "inline math" w
@@ -95,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
@@ -133,10 +169,90 @@ 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
+
+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 tab "Tabular" w
+\begin{center}
+\begin{tabular}{$1}
+\hline
+$0
+\hline
+
+\hline
+\end{tabular}
+\end{center}
+endsnippet
+
+snippet mtab "Math Tabular" w
+\begin{align*}
+\begin{array}{$1}
+\hline
+$0
+\hline
+
+\hline
+\end{array}
+\end{align*}
+endsnippet
 
 snippet eea "Extended Euclidian Algorithm" w
 \begin{center}