Possible Duplicate:
How to use images in a table?
I'm looking for a solution for automatic alignment of figures within my tex-file. I would like to keep it as simple as possible. I have the following idea but don't know how to implement it. Has anyone a suggestion?
\begin{tabular}{ll}
%\hline
\begin{figure} \includegraphics{pic.eps} \end{figure} & \begin{figure} \includegraphics{pic.eps} \end{figure} \\
\begin{figure} \includegraphics{pic.eps} \end{figure} & \begin{figure} \includegraphics{pic.eps} \end{figure} \\
\begin{figure} \includegraphics{pic.eps} \end{figure} & \\
%\hline
\end{tabular}
Of course it would even be much more better, if I'd just type in the following and LaTeX will generate a two column table which will break automatically.
\begin{tabular}{ll}
\includegraphics{pic.eps}
\includegraphics{pic.eps}
\includegraphics{pic.eps}
\includegraphics{pic.eps}
\includegraphics{pic.eps}
\end{tabular}
Here is how I would like it to be in the end

\includegraphicsin a figure environment. In this instance you don't want images to float. You'll probably have to do the table manually though. – qubyte Feb 14 '12 at 12:41tabularenvironment if you change\begin{tabular}{ll}to\begin{tabular}{@{}ll@{}}. – Feb 14 '12 at 13:10