Re: Referencing Equations by Number
- To: mathgroup at smc.vnet.net
- Subject: [mg23993] Re: Referencing Equations by Number
- From: paulh at wolfram.com (P.J. Hinton)
- Date: Mon, 19 Jun 2000 01:45:35 -0400 (EDT)
- Organization: "Wolfram Research, Inc."
- References: <8ihu2j$l9q@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <8ihu2j$l9q at smc.vnet.net>, "Kevin J. McCann" <Kevin.McCann at jhuapl.edu> writes: > 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 ... See this tutorial for a discussion of how counters work in Mathematica. http://www.mathsource.com/Content/General/Tutorials/Programming/0209-821 -- P.J. Hinton Mathematica Programming Group paulh at wolfram.com Wolfram Research, Inc. Disclaimer: Opinions expressed herein are those of the author alone.