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[caption = false]{subfig}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\subfloat[caption]{\includegraphics[width= 2in]{something}}\\
\subfloat[caption]{\includegraphics[width= 2in]{something}}
\end{figure}
\end{document}
Or
\documentclass{article}
\usepackage{subfigure}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\subfigure[caption]{\includegraphics[width = 2in]{something}}\\
\subfigure[caption]{\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
?
floatrow
andsubcaption
into that list. – badroit Jul 3 '13 at 19:00subfig
is intended to replacesubfigure
, although it may not be fully backward compatible.subfigure
is deprecated for use in new documents. – barbara beeton Jul 3 '13 at 19:09hyperref
. Then in the second solution, the author mentions the use of\subcaption
over\subfloat
. So I guess I should add that as argument to OP about which one is truly the best or most appropriate to use, no? – dustin Jul 3 '13 at 19:26caption
,subcaption
...) very last comment at the end. Also (O)riginal (P)oster is you :-) There is never a truly best. It's all temporal opinions. – percusse Jul 3 '13 at 19:29