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

14 lines
325 B

5 years ago
# -*- mode: snippet -*-
# name: subfigure
# key: sfig2
# --
\begin{figure}[H]
\centering
\begin{subfigure}{${1:0.45}\textwidth}
\includegraphics[width=${2:1}\textwidth]{${3:path}}
\end{subfigure}
\begin{subfigure}{$1\textwidth}
\includegraphics[width=$2\textwidth]{${4:path}}
\end{subfigure}
\end{figure}
$0