Graphics, Figures & Tables ⇒ Multiple figures
Multiple figures
Does anybody know how to have several figures side by side with separated captions? (something like this http://en.wikibooks.org/wiki/LaTeX/Floa ... #Subfloats)
The solution in the wikibook is not working for me because if I use the package subfig a lot of references stop working.
Using a figure float with a table inside is not good either because I need separated caption (at least I don't know how to put separated captions inside a table).
Anybody knows a work around?
Thanks in advance
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Multiple figures
It turns out that the resulting layout is much worse with the table

Is there no equivalent of the subfig package?
Multiple figures
I don't know nothing about a table... where did you get the idea of a table from? You can use the subcaption package as the following example suggests:kotoko wrote:You mean with the solution of a figure float with a table inside?
It turns out that the resulting layout is much worse with the table ...
Code: Select all
\documentclass[12pt]{article}
\usepackage{caption}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{.3\linewidth}
\centering
\rule{3cm}{3cm}
\caption{First subfigure}\label{fig:suba}
\end{subfigure}%
\begin{subfigure}[b]{.3\linewidth}
\centering
\rule{3cm}{3cm}
\caption{Second subfigure}\label{fig:subb}
\end{subfigure}
\begin{subfigure}[b]{.3\linewidth}
\centering
\rule{3cm}{3cm}
\caption{Third subfigure}\label{fig:subc}
\end{subfigure}
\caption{A figure with three subfigures}\label{fig:test figure}
\end{figure}
\end{document}