Mercurial > dotfiles.old
diff vim/snippets/tex.snip @ 30:7dfc911400a3
Add snippets for frames (Beamer)
author | zegervdv <zegervdv@me.com> |
---|---|
date | Tue, 01 Apr 2014 20:50:06 +0200 |
parents | 36a9b3a28861 |
children | 6b18003ca702 |
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]