pinosaur
/
dotfiles.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new scripts
[dotfiles.git]
/
.vim
/
mysnippets
/
tex.snippets
diff --git
a/.vim/mysnippets/tex.snippets
b/.vim/mysnippets/tex.snippets
index
33cef93
..
040304f
100644
(file)
--- a/
.vim/mysnippets/tex.snippets
+++ b/
.vim/mysnippets/tex.snippets
@@
-7,10
+7,20
@@
endsnippet
snippet enum "enumerate" w
\begin{enumerate}[$1]
snippet enum "enumerate" w
\begin{enumerate}[$1]
- $0
+
\item
$0
\end{enumerate}
endsnippet
\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
snippet align "align" w
\begin{align*}
$0
@@
-113,10
+123,18
@@
snippet naturals "Set of Naturals" w
\mathbb{N}
endsnippet
\mathbb{N}
endsnippet
+snippet matrix "Set of Matricies" w
+\mathbb{M}_{$1}($2)$0
+endsnippet
+
# OTHERS
snippet implies "Implies" w
# OTHERS
snippet implies "Implies" w
-\Rightarrow
+\to
+endsnippet
+
+snippet iff "If and only if" w
+\leftrightarrow
endsnippet
snippet mod "Mod" w
endsnippet
snippet mod "Mod" w
@@
-179,10
+197,62
@@
snippet cis "Cis" w
\mathrm{cis}($1)
endsnippet
\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 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}
snippet eea "Extended Euclidian Algorithm" w
\begin{center}
@@
-233,3
+303,32
@@
snippet graph "Graph" w
\end{axis}
\end{tikzpicture}
endsnippet
\end{axis}
\end{tikzpicture}
endsnippet
+
+snippet ffig "Figure" w
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=1]{$1}
+ \caption{$2}
+\end{figure}
+endsnippet
+
+snippet ftab "Table" w
+\begin{table}[H]
+\centering
+\caption{$1}
+\begin{tabular}{$2}
+ \hline
+ $3
+ \hline
+ \hline
+\end{tabular}
+\end{table}
+endsnippet
+
+snippet b "bold" w
+\textbf{$1}$0
+endsnippet
+
+snippet i "italics" w
+\emph{$1}$0
+endsnippet