I was using the subfigure
package to align multiple small images in a document. However, WikiBooks states that "the subfigure
and subfig
packages are deprecated and shouldn't be used any more" (WikiBooks Floats, Figures and Captions).
What is the alternative/proper option to achieve the same result?
Best Answer
There are at least four classes that aren't compatible with
caption
(hence withsubcaption
), whereassubfig
is a substitute when called asThe
ws-proc9x6
class (and related ones by the same publisher), see how to get the ws-procs9x6 document class to work with subcaption package?tufte-book
and the other similar classes, see Problem with tufte-book and subfigureIEEEtran
, see 2-col floats and citation order problemREVTeX, see subfigures with revtex?
It's true that
subfig
doesn't cooperate well withhyperref
, but when the alternative is no subfloats at all …Related subfloat discussion is also given in subcaption vs. subfig: Best package for referencing a subfigure