MathGroup Archive 2000

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

Search the Archive

Re: Referencing Equations by Number

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23988] Re: Referencing Equations by Number
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Mon, 19 Jun 2000 01:45:30 -0400 (EDT)
  • References: <8ihu2j$l9q@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Kevin,
You need to be using a style sheet that includes the style, NumberedEquation
(eg Classic ). Though you can add this to your own version of Default.
Proceed as follows:

- give the cell containing the equation a tag, say eqnX,
(menu>Find>Add/Remove CellTags).

Then when inserting the automatic numbering object (menu>Input>Create
Automatic Numbering Object)

- choose Numbered Equation for the upper right (Counter Type) field
- click the radio button "The first cell with the tag"
- click eqnX in the bottom field
- click OK



--
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

"Kevin J. McCann" <Kevin.McCann at jhuapl.edu> wrote in message
news:8ihu2j$l9q at smc.vnet.net...
> I use Mathematica 4.0 to generate notes for my courses in physics.
However, when I
> revise these notes, I often insert or delete equations thereby changing
all
> of the succeeding equation numbers. Is there a way to tag references to
> these equations in the text so that when the equation number changes, the
> corresponding text changes as well. For example
>
>     a + b + c = 0              (1)
>
> Equation (1) is ...
>
> If I now insert another equation before (1), how can I work it so that the
> text automatically changes to
>
> Equation (2) is ...
>
> Thanks,
>
> Kevin
>
>
>
>




  • Prev by Date: Re : Fast (compiled) routine for element testing and replacement in large matrices? A more general question about Listable
  • Next by Date: RE: User problem
  • Previous by thread: Re: Referencing Equations by Number
  • Next by thread: User problem