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
d563262
..
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
@@
-120,7
+130,11
@@
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
@@
-216,6
+230,30
@@
snippet nullity "Nullity" w
\text{Nullity}($0)
endsnippet
\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}
\begin{tabular}{|c|c|c|c|}
snippet eea "Extended Euclidian Algorithm" w
\begin{center}
\begin{tabular}{|c|c|c|c|}
@@
-265,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