0

I have 3 figures to be put in a figure which spans over a single column in a two-column document. The first two subfigures are similar and should be grouped together with labeling a(i) and a(ii) and the third subfigure should have a label of (b). I am using \subfigure command as follows. Is there a way to arrange the first two figures within one more subfigure and the third one in a separate subfigure? Currently I am getting the labels as (a) , (b) and (c) Something like this:

enter image description here

Code:

\begin{figure*}[] % not h only
\centering
\subfigure[a(1)]{%
\includegraphics[width=0.3\textwidth]{figa1.pdf}%
\label{figa1}%
}\hfil
\subfigure[a(2)]{%
\includegraphics[width=0.3\textwidth]{figa2.pdf}%
\label{figa2}%
}

\subfigure[b]{%
\includegraphics[width=0.38\textwidth]{figb.pdf}%
\label{figb}%
}

\caption{Overall title }
\label{fig1}
\end{figure*}
2
  • duplicate -- tex.stackexchange.com/questions/552497/…
    – js bibra
    Commented Jul 20, 2020 at 5:13
  • Please make your code compilable by adding the documentclass as well as the required packages. Which package do you currently use to number your subfigures: subfig, subcaption or subfigure? From the code you uncluded, I assume you use the latter. If that's correct, please keep in mind that subfigureis deprecated. Please switch to subfig or subcaption instead.
    – leandriis
    Commented Jul 20, 2020 at 6:47

1 Answer 1

1

Here is my suggestion using the subcaption package:

enter image description here

\documentclass[twocolumn]{article}
\usepackage[demo]{graphicx} % do not use the demo option in actual document
\usepackage{subcaption}
\begin{document}

\begin{figure*}
  \begin{subfigure}{0.6\textwidth}
  \captionsetup[subfigure]{labelformat=simple}
    \begin{subfigure}{0.5\textwidth}
      \renewcommand\thesubfigure{\alph{subfigure} (i)}
      \centering
      \includegraphics[width=.95\textwidth]{figa1.pdf}
      \caption{}
      \label{fig:figa1}
    \end{subfigure}%
    \begin{subfigure}{0.5\textwidth}
      \addtocounter{subfigure}{-1}
      \renewcommand\thesubfigure{\alph{subfigure} (ii)}
      \centering
      \includegraphics[width=.95\textwidth]{figa2.pdf}
      \caption{}
      \label{fig:figa2}
    \end{subfigure}%
  \end{subfigure}%
  \begin{subfigure}{0.38\textwidth}
    \centering
    \includegraphics[width=\textwidth]{figb.pdf}
    \caption{}
    \label{fig:figb}
  \end{subfigure}
  \caption{overall caption for all three subfigures}
  \label{fig:figure}
\end{figure*}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .