Davor Cengija wrote:
> 
> On Sat, 25 Sep 1999, Martin Vonwald wrote:
> 
> >Hi there!
> >
> >I am writing a document with book (koma-script) style and I need the
> >equations numbered continous  across different chapters (1, 2, 3, 4, ...
> >instead of 1.1, 1.2, 2.1, 2.2, ..). I added
> >  \renewcommand{\theequation}{\thesection.\arabic{equation}}
> >to the preamble, but then I get something like 1, 2, 1, 2, 3, 1, 2, ...
> >What do I have to add to the preamble so that the equation counter is
> >NOT reset at each chapter?
> 
>         Hehe, my problem was that I actually wanted to have reset
>         counter at the beginning of each chaper. That's what the
>         command you wrote above is doing.
> 
>         LyX (read LaTeX) does what you want by default. Just remove
>         all the \renewcommand lines from your LyX file.


I�m sorry, but this is not the way it works here... At least in the book
(koma-script) style equations are numbered by chapter and equation. I
got only two lines in my preamble:
   \usepackage{amsfonts}
   \renewcommand{\theequation}{\arabic{equation}}
If I remove the renewcommand then equations are numbered like
CHAPTER.EQUATION; with the renewcommand the numbered like 1,2,3,4,...
but the counter is reset at each chapter!

Any ideas?

Reply via email to