Code: Select all
\documentclass{article}\usepackage{subfig}\begin{document}% this works% \begin{figure*}[tb]% \centering% \subfloat[]{% \fbox{\rule{0pt}{2in} \rule{0.9\linewidth}{0pt}}% \label{fig:CatOcclusion:None}% }% \end{figure*}\begin{figure*}\centering\subfloat[]{\fbox{\rule{0pt}{2in} \rule{0.9\linewidth}{0pt}}\label{fig:CatOcclusion:None}}\caption{Cat sculpture scans with varying occlusions. \subref{fig:CatOcclusion:None} No occlusion} % this is the line with the problem%\caption{Cat sculpture scans with varying occlusions} % works\end{figure*}\end{document}
David