<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
I have inserted the following commands in the preamble and it actually works now. <br><br>\makeatletter<br>\let\c@lofdepth\relax<br>\let\c@lotdepth\relax<br>\makeatother<br>\usepackage{subfigure} <br><br>Thank you everybody for your help!!<br><br>/rust<br>> From: jackson@msrce.howard.edu<br>> Subject: Re: [OS X TeX] Subfigure Package<br>> Date: Tue, 26 Feb 2008 18:29:36 -0500<br>> To: macosx-tex@email.esm.psu.edu<br>> <br>> On Feb 26, 2008, at 6:09 PM, Marco Belleschi wrote:<br>> <br>> > I'm using TexShop for my master thesis. If I insert the package <br>> > subfigure in the preamble I get the following error<br>> ><br>> ><br>> > ! LaTeX Error: Command \c@lofdepth already defined.<br>> > Or name \end... illegal, see p.192 of the manual.<br>> ><br>> > See the LaTeX manual or LaTeX Companion for explanation.<br>> > Type H <return> for immediate help.<br>> > ...<br>> ><br>> > l.124 \newcounter{lofdepth}<br>> ><br>> > ?<br>> ><br>> > This is the preamble I'm using<br>> ><br>> > \documentclass[a4paper,12pt]{kth-mag}<br>> > \usepackage{url}<br>> > \usepackage{amsmath, amsthm, amssymb}<br>> > \usepackage[T1]{fontenc}<br>> > \usepackage{graphicx}<br>> > \usepackage{textcomp}<br>> > %\usepackage{subfigure}<br>> > \usepackage{lmodern}<br>> > \usepackage[latin1]{inputenc}<br>> > \usepackage[swedish,english]{babel}<br>> > \usepackage{nada-ex}<br>> <br>> TesShop is not a compiler, it is an editor only. Any errors you are <br>> seeing are a result of your TeX installation, and have nothing to do <br>> with TeXShop. With that in mind, did you read the subfigure README?<br>> <br>> The subfigure package has been superseded by the subfig package.<br>> <br>> ...<br>> <br>> The newer (subfig) package is an improvement over this package and<br>> although this package will continue to be supported, it will no <br>> longer<br>> be updated.<br>> <br>> Perhaps you should try to the newer package and see if that fixes <br>> your problem.<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>