I'm writing an article using the revtex4 document class, but it appears to be incompatible with subfig (which also seems to be loading caption). How can I title some subfigures in my revtex4 document?
The following minimal example shows how just loading subfig breaks the formatting of figures as defined by the document class.
\documentclass[twocolumn]{revtex4}
% Uncomment the following line to see the problem
%\usepackage{subfig}
\begin{document}
\begin{figure}
\centering
\framebox[5cm]{\raisebox{3cm}{}}
\caption{Some dummy title for my figure which should be long enough
to occupy at least a couple of lines, and maybe even a bit
more. That's good.}
\end{figure}
\end{document}
Furthermore, the caption package complains with the following warning
Package caption Warning: \caption will not be redefined since it's already
(caption) redefined by a document class or package which is
(caption) unknown to the caption package.
See the caption package documentation for explanation.
So the question is, how could I solve this problem? Is there an alternative to subfig which I could use together with revtex4?