nrao nrao
next up previous contents index home.gif
Next: 7.3 External labels Up: 7 Style Guide Previous: 7.1 Document header


7.2 Internal labels

Mark every section, figure, equation and table with a \label, e.g. \label{fig:text} for a figure. Then refer to it by this label, e.g. Figure~\ref{fig:text}. Such cross-referencing serves two important purposes. First, it automates numbering throughout the .dvi, hence PostScript, output. Second, it creates internal hypertext links through the .html output, making the .html rendition easier to navigate.

A good style for the label texts is sec:text for sections, sub:text for subsections, fig:text for figures, eqn:text for equations, tbl:text for tables, etc. This style speeds searches for all labels of one kind when editing the file, and helps document maintenance.

Note that the \label command must come after, or within, the \caption command for Figures and Tables, in order to generate the correct reference.


next up previous contents index home.gif
Next: 7.3 External labels Up: 7 Style Guide Previous: 7.1 Document header


Home | Contact Us | Directories | Site Map | Help | Search


2001-06-08