Matej Cepl wrote:

Rich Shepard wrote:


1) Are all floats referenced other than in the immediate vicinity?
They
can be referenced as "... as seen in the following figure." Actually, I
find adding a label while creating the float no more onerous than typing
the title, moving the cursor to the front of that, pressing [Enter], then
going Layout->Paragraph->Center before Insert->Graphic for each one. With
all this, what's one more step? :-)



This is not a wise solution, because floats are floats because they can
float, i.e., "following" figure may actually get before its reference
(AFAIK).


Not a problem with cross references. Insert a reference and make
the type "<reference> on page <page>". This is a very powerful construct,
because it does much more than figure~"5 on page 6".


You refer something which latex happen to place on the same page: figure~"5"
or optionally figure "5 on this page" but most consider that one excessive.
You refer something which latex place on the
opposite page in a book: figure~"5 on the facing page"
You refer something that latex place on the
next/previous (not facing) page: figure~"5 on the next/previous page"
You refer something on a page far away: figure~"5 on page 67."


Strings for the various cases are even customizable, if you don't like
the defaults (or use some language not supported by babel).

If you want to refer to the chapter for something in another chapter, just insert
two cross references, one for the figure and one for the chapter. That'll get
you figure~"5 on page 19" in chapter "3". (Or possibly figure 5 in section 3.12
if you like that better.)


A small note: You will have to type the text "figure" or "table" or whatever yourself,
latex only supplies the number and the optional page reference. Such a reference
can get on the very end of a page, and you do not want a page break between
"figure" and "12 on the next page" because the "next page" bit could be wrong
in that case. So use a non-breaking space (ctrl+space) between "figure" and
the reference. And if you customize the reference text, use only non-breaking spaces.


Helge Hafting







Reply via email to