[Tex/LaTex] How to arrange multiple figures in rows of 3 in a two-column document

floatstwo-column

I have 8 figures, which need to included in a two-column style paper. The figures should be added at the top of the corresponding page, three figures in each row (figure alignment is not as the two-column style).

i.e.:

fig1:   fig2:    fig3:

fig4:   fig5:    fig6:

Each figure should not start with (a)(b)…… likewise.

Can anybody tell how to do this in LaTeX?

Best Answer

You can use subcaption to produce sub-elements inside a float:

enter image description here

\documentclass[twocolumn]{article}
\usepackage{lipsum,graphicx,subcaption}

\captionsetup[subfigure]{labelformat=simple,labelsep=colon}
\renewcommand{\thesubfigure}{fig\arabic{subfigure}}

\begin{document}

\begin{figure*}[t]
  \centering
  \subcaptionbox{Fig1}[.3\linewidth][c]{%
    \includegraphics[width=.2\linewidth]{example-image-a}}\quad
  \subcaptionbox{Fig2}[.3\linewidth][c]{%
    \includegraphics[width=.2\linewidth]{example-image-b}}\quad
  \subcaptionbox{Fig3}[.3\linewidth][c]{%
    \includegraphics[width=.2\linewidth]{example-image-c}}

  \bigskip

  \subcaptionbox{Fig4}[.3\linewidth][c]{%
    \includegraphics[width=.2\linewidth]{example-image-c}}\quad
  \subcaptionbox{Fig5}[.3\linewidth][c]{%
    \includegraphics[width=.2\linewidth]{example-image-b}}\quad
  \subcaptionbox{Fig6}[.3\linewidth][c]{%
    \includegraphics[width=.2\linewidth]{example-image-a}}
  \caption{This is a figure}
\end{figure*}

\lipsum[1-10]

\end{document}

Note that column-spanning floats in twocolumn mode will always follow the page where you put the figure* environment. If you want it on a different page, you need to adjust the placement accordingly.

Related Question