new scripts
[dotfiles.git] / .vim / mysnippets / tex.snippets
index a6f8826..040304f 100644 (file)
@@ -230,6 +230,30 @@ 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}
 \begin{tabular}{|c|c|c|c|}
@@ -279,3 +303,32 @@ snippet graph "Graph" w
 \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