[texhax] naming of figures after \ref{} order

W.J. Metzger wes at hef.kun.nl
Fri Feb 6 10:12:26 CET 2004


On Thu, 5 Feb 2004, Philip G. Ratcliffe wrote:
 
> > I set my figures and tables to be numbered continously but
> > realized that the order of the figures/tables assigns the
> > number and not the position of the \ref{} in the text. So when I
> > \ref{} on the first page several big figure which I put
> > in a separate section but add one figure right on the first page
> > even when named at last it is labelled fig. 1.
> > Neither in the FAQ nor google prompted an appropriate result
> > concerning this problem. I would appreciate if you
> > point me to the correct "naming" , FAQ number or command
> > respectively modification of the one below,
>
> But this is the correct behaviour; figures are numbered according to their
> appearance in the text and not according to when they are referenced.  It
> would be very odd to have Fig. 10 on page one followed at a later stage by
> Fig. 1, 2 etc.  Why on earth should you want such a numbering scheme.  Or
> have I misunderstood something?
>
> Cordialmente,  Philip G. Ratcliffe
 
Perhaps what he wants,  which in fact I also would like, is a treatment
of tables and figures something like bibtex with references.
In other words, something that rearranges the order of figures and tables
to correspond to the order in which they are referenced in the text.
 
Cheers, Wes
 
--
Dr. W. J. Metzger            Experimental High Energy Physics Group
tel. +31-24-3653127          Faculty of Natural Sciences
     +31-24-3652099 (secr.)  University of Nijmegen (**)
fax. +31-24-3652191          Toernooiveld 1
                             6525 ED  Nijmegen,  The Netherlands
e-mail:  wes at hef.kun.nl      or   W.Metzger at cern.ch
http://home.cern.ch/metzger/ or   http://www.hef.kun.nl/~wes



More information about the texhax mailing list