[OS X TeX] Subfigure Package

Alan Munn amunn at msu.edu
Tue Feb 26 18:28:33 EST 2008

At 11:09 PM +0000 2/26/08, Marco Belleschi wrote:
>I'm using TexShop for my master thesis. If I 
>insert the package subfigure in the preamble I 
>get the following error
>! LaTeX Error: Command \c at lofdepth already defined.
>                Or name \end... illegal, see p.192 of the manual.
>See the LaTeX manual or LaTeX Companion for explanation.
>Type  H <return>  for immediate help.
>  ...                                             
>l.124 \newcounter{lofdepth}
>This is the preamble I'm using
>\usepackage{amsmath, amsthm, amssymb}

It seems that the kth-mag class is based on the 
memoir class. Memoir has built-in facilities for 
dealing with subfigures (basically the subfigure 
functionality is in the class).  So don't load 
subfigure and read the memoir manuals (memman.pdf 
and memmanadd.pdf) to find out how to use 
subfigures in memoir.  These should work for you 
with the kth-mag class.


Alan Munn 
amunn at msu.edu
Department of Linguistics                                 
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824      Tel.  +1-517-355-7491

More information about the MacOSX-TeX mailing list