my-emacs-d/elpa/yasnippet-20161022.646/snippets/latex-mode/subfigure
2016-10-24 08:30:06 +02:00

14 lines
257 B
Plaintext

# -*- mode: snippet -*-
# name: subfigure
# key: subfig
# --
\begin{figure}[ht]
\centering
\subfigure[$1]
{\label{fig:${2:label}}
\includegraphics[width=.${3:5}\textwidth]{${4:path}}}
\caption{${5:caption}}
\label{fig:${6:label}}
\end{figure}