0

How can I have a figure (with a caption) that has three subfigures (each with its own caption, say (a), (b) and (c)) with the following layout: There are two columns; the first column is a single subfigure, the second column consists of two subfigures stacked vertically:

enter image description here

2

Using subcaption and minipages you can achieve this:

\documentclass[]{article}

\usepackage{subcaption}
\usepackage[]{graphicx}

\begin{document}
\begin{figure}% >>>
  \centering
  \begin{minipage}[t]{.45\linewidth}
    \subcaptionbox{text1}
      {\includegraphics[width=\linewidth]{example-image-duck}}%
  \end{minipage}%
  \hfill
  \begin{minipage}[b]{.45\linewidth}
    \subcaptionbox{text2}
      {\includegraphics[width=.5\linewidth]{example-image-duck}}
    \subcaptionbox{text3}
      {\includegraphics[width=.5\linewidth]{example-image-duck}}%
  \end{minipage}%
  \caption
    {%
      Caption.%
      \label{fig:caption}%
    }%
\end{figure}% <<<

\end{document}

enter image description here

Using the subfig package as though one has tried to read its manual:

\documentclass[]{article}

\usepackage{subfig}
\usepackage[]{graphicx}

\begin{document}
\begin{figure}% >>>
  \centering
  \begin{minipage}[t]{.45\linewidth}
    \subfloat[text1]
      {\includegraphics[width=\linewidth]{example-image-duck}}%
  \end{minipage}%
  \hfill
  \begin{minipage}[b]{.45\linewidth}
    \subfloat[text2]
      {\includegraphics[width=.5\linewidth]{example-image-duck}}\\
    \subfloat[text3]
      {\includegraphics[width=.5\linewidth]{example-image-duck}}%
  \end{minipage}%
  \caption
    {%
      Caption.%
      \label{fig:caption}%
    }%
\end{figure}% <<<

\end{document}

Output is almost identical.

  • Thanks! it works. However, I was using the subfig package for some other figures and it is incompatible with subcaption. Is there a similar solution with subfig instead of subcaption? – Abolfazl Karimi Sep 20 '18 at 20:21
  • @AbolfazlKarimi yes. You know that you can read its manual? – Skillmon likes topanswers.xyz Sep 20 '18 at 20:56

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.