[Tex/LaTex] How to put several images in one row in LaTex

graphics

I want to know how to put 3 images in one row in Latex, so that it looks like the following format:
enter image description here

Anyone can help me! Thank you so much!

Note: The figures need to span two columns inside a multicols environment.

Best Answer

Here's how to position figures across the columns of multicol:

\documentclass{article}

\usepackage{multicol}
\usepackage{lipsum}
\usepackage{mwe}

\begin{document}
    \begin{multicols}{2}
        \begin{figure*}[ht!]
            \includegraphics[width=.3\textwidth]{example-image-a}\hfill
            \includegraphics[width=.3\textwidth]{example-image-b}\hfill
            \includegraphics[width=.3\textwidth]{example-image-c}
            \caption{Image A.}
            \caption{Image B.}
            \caption{Image C.}
        \end{figure*}
        \lipsum[1-10]
    \end{multicols}
\end{document}

Note that I'm using the starred version of the figure environment. The [ht] tag specifies position, here indicating "at the top of this page." Google "LaTeX Floats" for how to change that and how to adjust the figure environment.

Here: copy\paste only this part:

        \begin{figure*}[ht!]
            \includegraphics[width=.3\textwidth]{example-image-a}\hfill
            \includegraphics[width=.3\textwidth]{example-image-b}\hfill
            \includegraphics[width=.3\textwidth]{example-image-c}
            \caption{Image A.}
            \caption{Image B.}
            \caption{Image C.}
        \end{figure*}