Up: Elements reference



<ref> – simple cross reference

Attributes:

refid
ID of the element you want to point to (required)

Possible Contents: (Text | inline element)*

Description: This does the same as the LaTeX command \ref. The referenced object, that has the ID of refid, must be a figure/table, section etc., simply something that can bear a number. The contents of <ref> is the textual label that is put immediately before it, e.g.

<table id="MainTable">
  ...
</table>

... <ref refid="MainTable">table</ref>

This yields something like `table~2.1' for LaTeX, or for HTML `table 2.1' which is completely displayed as the link, and not only the `2.1'.

<ref>s to equations put automatically parentheses around the number.