I am using images taken from some other papers in my article. I would like to be able to cite the images in \subfloat, but latex generates error message. Here is the code snippet,

    \subfloat[Bley et al.~\cite{Bley}]{\label{Ch.Background.Fig.1:a}\includegraphics[width=\figDWidth]{./Figures/Bley.jpg}}~
    \subfloat[Jang et al.~\cite{Jang}]{\label{Ch.Background.Fig.1:b}\includegraphics[width=\figDWidth]{./Figures/Jang.jpg}}

and error message,

Illegal parameter number in definition of \sf@captionlist. ...gDWidth]{./Figures/Bley.jpg}}
  • 2
    \cite may need to be "protected": \protect\cite{...}. – barbara beeton Feb 24 '16 at 21:33
  • Curiously, what package are you using? The current 'best' package for subfloats is now subcaption which improves on subfig. – JP-Ellis Feb 28 '16 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.