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{...}. Feb 24, 2016 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, 2016 at 14:47


You must log in to answer this question.

Browse other questions tagged .