vim: Update config files and scripts
[shutils.git] / dotfiles / vim / .vim / snippets / tex.snippets
index 2f1f66cc46796640aa4214e8eb31603a1c6554a7..4c4de3f0465f6fe137d359dfa044e78cb80161c7 100644 (file)
@@ -1,10 +1,15 @@
 # Figure
 snippet fig
        \begin{figure}[${4:tbh}]
+               \centering
                \includegraphics{${1:figs/}}
-               \caption{${2}}
-               \label{${3:fig:}}
+               \caption{${2}\label{${3:fig:}}}
        \end{figure}
+# block
+snippet block
+       \begin{block}{${1}}
+               ${2}
+       \end{block}
 # Frame
 snippet frame
        \begin{frame}