mikew@wheeler.wrcr.unr.edu (Mike Whitbeck) (11/21/89)
In LaTeX {article} I would like to have equation numbers of the form <section-number>.<equation-number> with the equation numbers reset in each section. I have a \renewcommand{\theequation}{\thesection.\arabic{equation}} do I have to put a \setcounter{equation}{1} in each section by hand or is there an easier way (in case I want to undo this change)? Thanks in advance for any help you can offer. ___________________________________________________________ |Mike Whitbeck | | |Desert Research Inst. | mikew@wheeler.wrc.unr.edu | |POB 60220 | | |RENO, NV 89506 | | |__________________________|______________________________| Any simple problem can be made insoluble if enough committee meetings are held to discuss it.
bts@sas.UUCP (Brian T. Schellenberger) (11/28/89)
In article <3148@tahoe.unr.edu> mikew@wheeler.UUCP (Mike Whitbeck) writes: |In LaTeX {article} I would like to have equation numbers of the |form <section-number>.<equation-number> with the equation |numbers reset in each section. | |do I have to put a \setcounter{equation}{1} in each section by |hand or is there an easier way (in case I want to undo this |change)? \makeatletter %unless in style file \@addtoreset{equation}{chapter} \makeatother %unless in style file (See latex.tex for more info.) -- -- Brian, the Man from Babble-on. ...!mcnc!rti!sas!bts -- (Brian Schellenberger) "No one will ever write a song called 'Nitro Burning Funny Cars'" -- THE DEAD MILKMEN, "Nitro Burning Funny Cars"