3

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?

migrated from tex.meta.stackexchange.com Mar 11 '13 at 22:12

This question came from our discussion, support, and feature requests site for users of TeX, LaTeX, ConTeXt, and related typesetting systems.

3

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:

enter image description here

\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.

0

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}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.