@@ -39,6 +39,25 @@ snippet img
\end{figure}
endsnippet
+# Subimages
+snippet subimg
+\begin{figure}
+ \centering
+ \begin{subfigure}{0.49\linewidth}
+ \includegraphics[width=1\linewidth]{${1}}
+ \caption{${3}}
+ \label{fig:${5}-1}
+ \end{subfigure}
+ \includegraphics[width=1\linewidth]{${2}}
+ \caption{${4}}
+ \label{fig:${5}-2}
+ \label{fig:${5}}
+\end{figure}
+endsnippet
+
# Environment
snippet be
\begin{${1:env}}