On Sat, Sep 21, 2002 at 08:00:10PM +0300, Dekel Tsur wrote: > > the corresponding float menu in LyX, the algorithm numerotation is global > > (1,2,3, ...) rather chapter specific (1.1,1.2,2.1,....). > > Any ideas? > > Add to the preamble: > > \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}} > \@addtoreset{algorithm}{chapter}
I was able to use this as follows to fix a problem I was having, but is there a way to make it reset to -1 so my sections will be numbered from 0 up? \@addtoreset{section}{part}