Skip to content

Instantly share code, notes, and snippets.

@ckirsch ckirsch/Subcaptions
Created Mar 1, 2013

Embed
What would you like to do?
Multiple subfigures in LaTeX using the subcaption package.
...
\usepackage{subcaption}
...
\begin{figure}
\begin{center}
\begin{subfigure}[t]{0.48\textwidth}
\centering
\includegraphics[width=0.38\textwidth]{image-a}
\caption{Subfigure A caption}
\label{fig:image-a}
\end{subfigure}
\quad
\begin{subfigure}[t]{0.48\textwidth}
\centering
\includegraphics[width=0.38\textwidth]{image-b}
\caption{Subfigure B caption}
\label{fig:image-b}
\end{subfigure}
\end{center}
\caption{Figure caption}
\label{fig:all}
\end{figure}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.