changeset 30:7dfc911400a3

Add snippets for frames (Beamer)
author zegervdv <zegervdv@me.com>
date Tue, 01 Apr 2014 20:50:06 +0200
parents 599325301323
children faf7781dae42
files vim/snippets/tex.snip
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vim/snippets/tex.snip	Tue Apr 01 20:46:24 2014 +0200
+++ b/vim/snippets/tex.snip	Tue Apr 01 20:50:06 2014 +0200
@@ -12,3 +12,16 @@
 abbr        SI
 alias       \SI si
   $\SI{${1:value}}{${2:unit}}$
+
+snippet     frame
+abbr        frame
+options     head
+  \begin{frame}
+    \frametitle{${1:title}}
+    ${2:content}
+  \end{frame}
+
+snippet     toc
+abbr        table of contents
+options     head
+  \tableofcontents[currentsection]