Mercurial > dotfiles.old
annotate 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 |
rev | line source |
---|---|
0 | 1 # Latex Snippets |
2 | |
3 snippet subfigure | |
4 abbr subfigure | |
5 options head | |
6 \begin{subfigure}{0.5\textwidth} | |
7 \centering | |
8 \includegraphics[width=\textwidth]{${1:image}} | |
9 \end{subfigure} | |
10 | |
11 snippet SI | |
12 abbr SI | |
13 alias \SI si | |
14 $\SI{${1:value}}{${2:unit}}$ | |
30 | 15 |
16 snippet frame | |
17 abbr frame | |
18 options head | |
19 \begin{frame} | |
20 \frametitle{${1:title}} | |
21 ${2:content} | |
22 \end{frame} | |
23 | |
24 snippet toc | |
25 abbr table of contents | |
26 options head | |
27 \tableofcontents[currentsection] |