How can I have two figure side by side with two captions and in the floating format, like

fig. 10A. some caption                fig. 10B. some caption
  • Hi! Have you seen the subfig, or the subcaption packages?
    – yo'
    Dec 14, 2013 at 0:07
  • 1
    @Ruben I've first thought it's a duplicate, but it's not. That one asks for numbering like Fig 10, Fig 11, this one wants Fig 10a, Fig 10b.
    – yo'
    Dec 14, 2013 at 0:09
  • @tohecz you are totally right. And you alredy suggested the use of subfig. Why not adding it as an answer?
    – Ruben
    Dec 14, 2013 at 0:13
  • @Ruben Because I know that the question was asked before, I just can't find it. Moreover, I've never used subfig myself, so I'm just leaving it to someone else ;)
    – yo'
    Dec 14, 2013 at 0:15

1 Answer 1

\usepackage[pdftex]{graphicx} %ifpdf
  \def\thesubfigure{Fig. \@arabic\c@figure\Alph{subfigure}.}

\subfloat[Some caption]{\rule{.45\textwidth}{3cm}} %replace \rule... with \includegraphics[width=0.45\textwidth]{picname}
\subfloat[Some other caption]{\rule{.45\textwidth}{3cm}} %idem
%\caption{Some caption title}


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