MathGroup Archive 2000

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

Search the Archive

Re: Newbie Q: Referencing Auto-number Cells

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23747] Re: Newbie Q: Referencing Auto-number Cells
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Mon, 5 Jun 2000 01:09:41 -0400 (EDT)
  • References: <8gso4r$eep@smc.vnet.net> <8gu6tj$hp4@smc.vnet.net> <8gv8mh$5nl@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jerry,
I'm sorry that my previous posting was inc0mplete.
In order to refer to a numbered equation like you want

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

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

<iliketrash at aol.com> wrote in message news:8gv8mh$5nl at smc.vnet.net...
> In article <8gu6tj$hp4 at smc.vnet.net>, "Allan Hayes"
> <hay at haystack.demon.co.uk> wrote:
>
> > <iliketrash at aol.com> wrote in message news:8gso4r$eep at smc.vnet.net...
> > > In preparaing a paper for publication, I find that making
automatically
> > > (re)numbering things like equations and figures easy since some of the
> > > built-in stylesheets are already set up to do this.
> > >
> > > However, how do I make references (sometimes called cross-references
or
> > > citations) within ordinary text to equations and figures that are
> > > automatically (re)numbered? In other words, I want to write
> > >
> > >     ...see Equation (6).
> > >
> > > and when Equation 6 becomes Equation 7 because I inserted another
> > > equation in ahead of it, I want the above reference to automaticaaly
> > > read
> > >
> > >     ...see Equation (7).
> > >
> > > Many thanks.
> >
> >
> > - type see Equation (
> > - use menu >Input > Create Automatic Numbering Object > Counter Type
> > [NumberedEquation]>OK
> > - click radio button this counter object (if you are not using tags)
> > - type )
> >
> >
> > Allan
> >
> >
> >
> >
>
> Thanks--I discovered this after I sent the original message. However, I
> now have a more specific question. Let's say my article reads as
> follows, with autonumbering equation numbers and cross references
> thereto:
>
>
>  bla bla
>     F = ma        (1)
>  bla bla bla
>     d = ct        (2)
>  bla bla bla
>     e = mc^2      (3)
>  bla bla see Equation (2).
>
>
> Then I insert a new equation before (2), V = IR. The equation numbers
> that are on the same line as the equations will renumber, as does the
> cross-reference to Equation (2) on the last line, but now I can't
> cross-reference the new Equation (2). I want this:
>
>
>  bla bla
>     F = ma        (1)
>  bla bla bla
>     V = IR        (2)
>  bla bla
>     d = ct        (3)
>  bla bla bla
>     e = mc^2      (4)
>  bla bla see Equation (3). Also, see Equation (2).
>

>
> I can't make this------------------------------^happen.
>
>
> All I can get it "see Equation (4)" as if the there is only a running
> count of numbered equations available. If I click on the line containing
> Equation 2, I can insert an autonumbering cell which correctly gives
> "2," but when I cut-and-paste it somewhere else it changes to "4."
>
> I believe the intended solution is to use tags, giving each equation a
> unique name, such as E001, E002, etc., and using the "tag" option when
> inserting an autonumbering object. This appears to work, but will become
> very unwieldy when dealing with hundreds of numbered equations, plus
> figures, tables, sections, references, etc. The main source of trouble
> is that all the tags are listed in a very short scrolling list view,
> making it hard to find the one I want to cite.
>
> If there is a better way to accomplish this task, please let me know.
>
> I wonder if it would be possible to write an "equation browser" which
> would search my notebook for all cells with a certain tag, say,
> "NumberedEquation" and copy the cell to another notebook (along with any
> other significant tags such as equation number and section number). They
> should automatically be listed in the correct order. In addition, each
> such copied cell might also have a hyperlink added to it so that it
> points back to the original cell in the source notebook. This would
> help, but still doesn't solve the basic problem of having to manually
> name each equation.
>
> Thanks again,
> Jerry
>





  • Prev by Date: Re: contour-plot & ascii-art
  • Next by Date: Re: [Q] accuracy control in eq. solving?
  • Previous by thread: Re: DeleteRepetitions summary
  • Next by thread: Re: [Q] accuracy control in eq. solving?