MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Numbered equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30845] Re: [mg30814] Numbered equations
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Thu, 20 Sep 2001 03:51:45 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at wolfram.com

On Wed, 19 Sep 2001, Jeffrey Pattavina wrote:

> I have created a paragraph style that numbers equations and includes the
> section number (i.e. 1-1, 1-2 etc) however However When I start a new
> section I can not get the numbering to reset to1 for example if I have 3
> equations in section 1 (1-1, 1-2, 1-3) the first equation after section
> 2 is 2-4 instead of 2-1.
>
> How do I reset the numbering after section headings ???

Add the option CounterAssignments to the prototype cell of the heading
style which should reset the counter.

Cell[
  StyleData[<name of style that resets EQ_num counter>],
  <other style options>,
  CounterAssignments -> {"EQ_num", 0}
]

-- 
P.J. Hinton
User Interface Programmer                         paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: FortranDef & Mathematica 4.0
  • Next by Date: Re: Importing File and 3D Graphics
  • Previous by thread: Re: Numbered equations
  • Next by thread: Re: Numbered equations