1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<html>
<head><title>Help On LaTeX Cross References</title></head>
<body bgcolor="#ffffff" text="#000000" link="#000099" vlink="#cc0000" alink="#cc0000">
<h1><font size="-2">Hypertext Help with LaTeX</font><br><font color="#cc0000">Cross References</font></h1>
<p>
One reason for numbering things like figures and equations is to refer
the reader to them, as in "See Figure 3 for more details."
<H2>Sections, Equations, Tables, etc.</H2>
One can generate numbered references to anything for which LaTeX
maintains a <a href="ltx-3.html">counter</a> by placing a
<a href="ltx-252.html"><tt>\label</tt></a> command
with some mnemonic name in the appropriate
<a href="ltx-27.html">environment</a>. The reference is then generated
by use of the <A href="ltx-303.html"><tt>\ref</tt></A> command with the
same mnemonic.
<p>
For example
<pre>
<tt>\begin{equation}
<A href="ltx-252.html">\label</a>{eqno1}
c <a href="ltx-404.html">\geq</a> <a href="ltx-319.html">\sqrt</a>{a^2+b^2+1}
\end{equation}
.... intervening text ...
From Eq.~(<A href="ltx-303.html">\ref</a>{eqno1}) we see ...</tt>
</pre>
Assuming that this is the first equation,
the last line will produce "From Eq. (1) we see ..." Note the
use of the <a href="ltx-143.html"><tt>~</tt></a>
to ensure that there is no line break between "Eq." and "(1)."
Also note that the <tt>\ref</tt> command produces only the number;
if you want the number to be in parentheses (as shown here) you have
to include them in your text.
<h2>Bibliographic citations</h2>
Bibliographic citations work somewhat differently. The following
should be consulted:
<ul>
<li><a href="ltx-211.html"><tt>\cite</tt></a>
<li><a href="ltx-73.html"><tt>\thebibligraphy</tt></a>
</ul>
<hr>
See also
<ul>
<li><A href="ltx-252.html"><tt>\label</tt></A>
<li><A href="ltx-303.html"><tt>\ref</tt></A>
<li><A href="ltx-291.html"><tt>\pageref</tt></A>
<p>
<li><a href="ltx-211.html"><tt>\cite</tt></a>
<li><a href="ltx-73.html"><tt>\thebibligraphy</tt></a>
<p>
<li><a href="ltx-3.html">Counters</a>
<li><a href="ltx-27.html">Environments</a>
<li><a href="ltx-141.html">Sectioning</a>
</ul>
Return to <a href="ltx-2.html">LaTeX Table of Contents</a><br>
<hr>
<address>
Revised: Sheldon Green, 03 Nov 1995.
</address>
</body>
</html>
|