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