Also, I am writing a paper in a two-column format. This whole thing is inside one column.enter image description here

  • Did you have a look to subfigure package ?
    – jchd
    Oct 31, 2019 at 14:24
  • No, I am totally new to TeX. This is going to be my first properly written paper with LaTeX. So I don't have much idea about the advance settings of figures. Oct 31, 2019 at 14:32
  • @jchd subfigure is considered obsolete. It is superseded by subfig (originally by the same author) or subcaption.
    – campa
    Oct 31, 2019 at 14:38
  • You also have the subfigure environment from subcaption and (sub)floatrow from the floatrow package.
    – Bernard
    Oct 31, 2019 at 14:39
  • @campa oh really? Didn't know, thanks! I wish I was warned about this during compilation, but that did not happen. Is my TeXLive distribution deprecated? :p My answer needs an edit BTW.
    – jchd
    Oct 31, 2019 at 14:47

1 Answer 1


See subfig documentation for full details, but a MWE would work like this:


\subfloat[IMG1]{\includegraphics[width=3cm]{img1.jpeg}} \quad %use \qquad for larger spacing
\caption{Two images on the same figure}


enter image description here

Thanks to @campa for pointing out that the subfigure package is deprecated.

  • Thanks a lot for the help. This is working. I didn't know about this package before. Oct 31, 2019 at 16:43

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.