[Tex/LaTex] Figures: What is the difference between using subfig or subfigure

floatssubfloats

I tend to use \subfloats[]{} in my figures when I want to list multiple labelled figures of similar content in one bigger picture. However, I see that some people use \subfigure.

What is the difference between these two options?

Is one better than the other?

\documentclass{article}
\usepackage{float}
\usepackage{subfig}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\subfloat{\includegraphics[width= 2in]{something}}\\
\subfloat{\includegraphics[width= 2in]{something}}
\end{figure}
\end{document}

Or

\documentclass{article}
\usepackage{subfigure}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\subfigure{\includegraphics[width = 2in]{something}}\\
\subfigure{\includegraphics[width = 2in]{something}}
\end{figure}
\end{document}

Since subcaption vs. subfig: Best package for referencing a subfigure is two years old, does Axel's solution still apply? By this I mean, has nothing changed with subfig? Are there only 2 'biased' pros for the use of subfig?

Is the outcome still it is more advisable to use subcaption over subfig where I am using the latter subfig?

Best Answer

The question now seems a bit clearer.

I can give you a very simple answer which can be found anywhere. This is from CTAN

Package subfigure – Deprecated: Figures divided into subfigures

The pack­age is now con­sid­ered ob­so­lete: it was su­per­seded by sub­fig, but users may find the more re­cent sub­cap­tion pack­age more sat­is­fac­tory.

Also considered that the latest versions of both subfigure and subfig have been released in 2005, while the latest version of subcaption has been released a few months ago, you can make your conclusions.

Related Question