# How to order 3 images horizontally (two with sub-figure and the third one is one figure)

I put three figures in a row. One figure is independent one and with a caption underneath; the other two figures are sub-figures. Please see the picture below.

I tried to combine minipage with subfigure, but it didn't work. Can you please help me?

• – user13907 Aug 23 '13 at 23:07

\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\begin{minipage}[b]{.4\textwidth}
\centering
\includegraphics[width=1.5in]{example-image-a}
\caption{This is first figure}
\end{minipage}%
\hfill
\begin{minipage}[b]{.5\textwidth}
\subcaptionbox{}{\includegraphics[width = 1in]{example-image-b}}
\subcaptionbox{}{\includegraphics[width = 1in]{example-image}}
\caption{caption}
\end{minipage}
\end{figure}
\end{document}


And an option using subfig:

\documentclass{article}
\usepackage{graphicx}
\usepackage{subfig}

\begin{document}

\begin{figure}
\begin{minipage}[b]{.4\linewidth}
\centering
\includegraphics[width=4cm]{example-image-a}
\caption{A figure}
\end{minipage}%
\begin{minipage}[b]{.6\linewidth}
\centering