I am using subfigure as an option in the tocloft package, by giving, \usepackage[subfigure]{tocloft} . However, I keep getting this error, ! LaTeX Error: \l at subfigure undefined. I am using pdflatex. I tried finding a solution for this on the net but I couldn't. It would be great if someone can help Amar