diff options
Diffstat (limited to 'snippets/latex-mode')
-rw-r--r-- | snippets/latex-mode/figure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/snippets/latex-mode/figure b/snippets/latex-mode/figure new file mode 100644 index 0000000..afa8cfb --- /dev/null +++ b/snippets/latex-mode/figure @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: figure +# key: fig +# -- +\begin{figure} + \centering + \includegraphics{figs/$1} + \caption[$2] + { + \textbf{$2} + $0 + } + \label{fig:$3} +\end{figure} |