-
-
Save joaopcnogueira/f01b980fb2d03aa4f05037aa18ef7f39 to your computer and use it in GitHub Desktop.
Sub-figures using subfloat in LaTeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Package for subfloat | |
\usepackage{subfig} | |
% Figure with two sub-figures | |
\begin{figure} | |
\centering | |
\subfloat[caption of the figure goes here] | |
{ | |
\includegraphics[scale=.5]{fig-1.pdf} | |
\label{fig:foo-1} | |
} | |
\subfloat[caption of the figure goes here] | |
{ | |
\includegraphics[scale=.5]{fig-2.pdf} | |
\label{fig:foo-2} | |
} | |
\caption{ Two foo figures. } | |
\label{fig:foo} | |
\end{figure} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment