[OS X TeX] Problem with \usepackage[subfigure]{tocloft}

Herbert Schulz herbs at wideopenwest.com
Tue Jul 27 17:38:22 EDT 2010


On Jul 27, 2010, at 4:19 PM, Amar wrote:

> 
> 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

Howdy,

You still have to load the subgfigure package:

\usepackage{subfigure}

before or after loading the tocloft package.

Here's what the tocloft documentation says:

subfigure
This option is required if, and only if, the tocloft and subfigure packages are being used together. The two packages can be specified in any order.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list