my-emacs-d/elpa/yasnippet-20160924.2001/snippets/latex-mode/subfigure
2016-10-20 10:27:10 +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}