MathGroup Archive 2001

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

Search the Archive

Re: Numbered equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30851] Re: Numbered equations
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Thu, 20 Sep 2001 03:51:59 -0400 (EDT)
  • References: <9o992j$cse$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jeffrey,

The default Section style has

CounterAssignments->{{"Subsection", 0}, { "Subsubsection", 0}}

make this (or what you  have instead of it)

CounterAssignments->{{"Subsection", 0}, { "Subsubsection",
0},{"NumberedEquation",0}}

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Jeffrey Pattavina" <ptvn at snet.net> wrote in message
news:9o992j$cse$1 at smc.vnet.net...
> 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 ???
>
> Hereb is the cell format below
>
>
> Cell[StyleData["EQ_num"],
>   PageWidth->PaperWidth,
>   CellMargins->{{30, 10}, {8, 8}},
>   Evaluatable->False,
>   CellFrameLabels->{{None, Cell[
>           TextData[ {"(",
>             CounterBox[ "Section"], "-",
>             CounterBox[ "NumberedEquation"],
>             ")"}]]}, {None, None}},
>   DefaultFormatType->DefaultInputFormatType,
>   HyphenationOptions->{
>   "HyphenationCharacter"->"\[Continuation]"},
>   LineSpacing->{1, 1},
>   FormatType->InputForm,
>   ScriptSizeMultipliers->1,
>   ScriptMinSize->10,
>   SingleLetterItalics->True,
>   TraditionalFunctionNotation->True,
>   CounterIncrements->"NumberedEquation",
>   FormatTypeAutoConvert->False,
>   FontSize->11,
>   FontColor->GrayLevel[0]]
>
>




  • Prev by Date: RE: C++ to Mathematica
  • Next by Date: Re: Option FactorComplete->False in FactorInteger
  • Previous by thread: Re: Numbered equations
  • Next by thread: Two plots, two ranges with a Stress-Strain diagram