summaryrefslogtreecommitdiff
path: root/snippets/latex-mode/figure
blob: afa8cfb7ad8dc4ddf5e3862c22d2ccce5a95bf4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- mode: snippet -*-
# name: figure
# key: fig
# --
\begin{figure}
  \centering
  \includegraphics{figs/$1}
  \caption[$2]
  {
   \textbf{$2}
   $0
  }
  \label{fig:$3}
\end{figure}