misterHide wrote:
Hi,

I want to cross-reference a Figure by theire number.
It should look like: "how figure 12 shows you..."

How could I do so? I just found the opportunity to link against an label.
Isn't it possible to link against a figure floating object and theire name?
You put a label into the caption in the floating figure. (Insert->label)
Then you link to that label. (Insert->reference)
The caption will be numbered when the document is printed, and the
same number will be printed in the reference.

You have various options for how the reference will print, you can get:
* the figure number, which is what you asked about
* the page number
* the figure number and the page number, or strings like "figure 12 on the previous page"
  when the page number is close to the reference.


In Lyx, this will look like: "how figure REF[my figure] shows you..."
but the REF[my figure] will be replaced by the correct number when you
print or make a pdf.  LyX always gets these numbers right, no matter how
much editing you do later. (Contrast to some other word processors that occationally
mess up references and the TOC...)

I agree that referencing the figure directly by name without having to place a label first would be easier - but LyX can't do that - yet. One small problem with this approach
is what to do when two figures have the same name.

Helge Hafting

Reply via email to