my-emacs-d/elpa/yasnippet-20160924.2001/snippets/latex-mode/figure

10 lines
194 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: figure
# key: fig
# --
\begin{figure}[ht]
\centering
\includegraphics[${1:options}]{figures/${2:path.pdf}}
\caption{\label{fig:${3:label}} $0}
\end{figure}