I am doing a paper for an ACM conference and I want to add some graphics pictures. I want to add two pictures in a single column and four pictures in single row. How is it possible?
There should be nothing tricky about this. You could just string them next to one another in a figure
environment. Scaling to fit within the column is done using a fraction of \columnwidth
:
\documentclass[twocolumn]{article}
\usepackage{graphicx,lipsum}% http://ctan.org/pkg/{graphicx,lipsum}
\begin{document}
\section{A section}
\lipsum[1]
\begin{figure}
\centering%
\includegraphics[width=.45\linewidth]{example-image-a}\hfill%
\includegraphics[width=.45\linewidth]{example-image-b}%
\caption{A figure caption}
\end{figure}
\lipsum[2-3]
\begin{figure}
\centering%
\includegraphics[width=.23\linewidth]{example-image-a}\hfill%
\includegraphics[width=.23\linewidth]{example-image-b}\hfill%
\includegraphics[width=.23\linewidth]{example-image-c}\hfill%
\includegraphics[width=.23\linewidth]{example-image-a}\hfill%
\caption{A figure caption}
\end{figure}
\lipsum[4-5]
\end{document}
If you wish to have the (sub)figures numbered, then a little more work is required. If you wish to have the images span multiple columns, then you could use multicol
which, again, would require a little more work.
For 2 pictures in a column: Have the images aligned in the same place and scale them. For several pictures in a row: Just scale the pictures small enough so they fit on one line
When importing do something like
\includegraphics[scale = 0.5]{my_pic.eps}
figure*
(with asterisk) environment to allow it to spawn the two columns (for the four in a row figure). – JLDiaz Mar 12 '13 at 0:30