Skip to content

Instantly share code, notes, and snippets.

@damascenodiego
Last active February 3, 2016 17:54
Show Gist options
  • Save damascenodiego/e9802fd5b90f632b8a34 to your computer and use it in GitHub Desktop.
Save damascenodiego/e9802fd5b90f632b8a34 to your computer and use it in GitHub Desktop.
multifigure example
\usepackage{subcaption}
%...
\begin{figure}[htb]
\caption{Examples of Figures}
\label{fig:test}
\begin{subfigure}{.5\linewidth}
\centering
\includegraphics[width=.6\textwidth]{figures/fig_a.png}
\caption{Figure A}
\label{fig:a}
\end{subfigure}%
\begin{subfigure}{.5\linewidth}
\centering
\includegraphics[width=.6\textwidth]{figures/fig_b.png}
\caption{Figure B}
\label{fig:b}
\end{subfigure}
\end{figure}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment