Aug 21, 2011

Multiple images in a row in Latex: subfloat


Subfigure is deprecated. Use subfloat instead. Here is an example:

\begin{figure}
\centering
\subfloat[Set 4]{\label{set4}\includegraphics[width=0.15\textwidth]{First10MinSet4_00002.png}}
\hspace{0.1}
\subfloat[Set 5]{\label{set5}\includegraphics[width=0.15\textwidth]{First10MinSet5_00002.png}}
\hspace{0.1}
\subfloat[Set 6]{\label{set6}\includegraphics[width=0.15\textwidth]{First10MinSet6_00002.png}}
\hspace{0.1}
\subfloat[Set 7]{\label{set7}\includegraphics[width=0.15\textwidth]{First10MinSet7_00002.png}}
\hspace{0.1}
\subfloat[Set 8]{\label{set8}\includegraphics[width=0.15\textwidth]{First10MinSet8_00002.png}}
\caption{Combined label for the figures}
\label{fig:cells}
\end{figure}

P.S: Include the \subfig package. \usepackage{subfig}

Reference: Latex wikibooks

No comments:

Down with the Dictatorship!

    "Let them hate me, so that fear me" - Caligula 41AD