# HG changeset patch # User zegervdv # Date 1396378206 -7200 # Node ID 7dfc911400a36f8a08551ed7334919e784058620 # Parent 5993253013232b56abd62346fb7c56fd75a70b2d Add snippets for frames (Beamer) diff -r 599325301323 -r 7dfc911400a3 vim/snippets/tex.snip --- 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]