diff --git a/UltiSnips/tex.snippets b/UltiSnips/tex.snippets index dd3c88b..1328119 100644 --- a/UltiSnips/tex.snippets +++ b/UltiSnips/tex.snippets @@ -205,3 +205,21 @@ $2 \end{frame} } endsnippet + +snippet subfigures +\begin{figure} + \begin{subfigure}{\linewidth} + \centering + \includegraphics[width=\linewidth]{$1} + \caption{$2} + \end{subfigure} + \begin{subfigure}{\linewidth} + \centering + \includegraphics[width=\linewidth]{$3} + \caption{$4} + \end{subfigure} + \caption{$5} + \label{fig:$6} +\end{figure} + +endsnippet