my-emacs-d/elpa/yasnippet-20161022.646/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}