dotfiles/.emacs.d/snippets/latex-mode/subfigure

14 lines
257 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- 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}