view 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 source

# Latex Snippets

snippet     subfigure
abbr        subfigure
options     head
  \begin{subfigure}{0.5\textwidth}
    \centering
    \includegraphics[width=\textwidth]{${1:image}}
  \end{subfigure}

snippet     SI
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]