blob: 536d27f39c5e03cb653211a132bb760aa28f8b99 (
plain)
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
|
<head>
<title>UK TeX FAQ -- question label reuseq</title>
</head><body>
<h3>Re-using an equation</h3>
<p>To repeat an existing equation, one wants not only to have the same
mathematics in it, one also wants to re-use the original label it had.
The <i>amsmath</i> package comes to our help, here:
<blockquote>
<pre>
\usepackage{amsmath}
...
\begin{equation}
a=b
\label{eq1}
\end{equation}
...
Remember that
\begin{equation}
a=b
\tag{\ref{eq1}}
\end{equation}
</pre>
</blockquote>
Here, the second instance of a=b will be
typeset with a copy, made by the <code>\</code><code>tag</code> command, of the label of the
first instance.
<p>Comprehensive documentation of AMSLaTeX is to be found in
<i>amsldoc</i>, in the distribution; it is also available on the web
at <a href="ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf">ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf</a>
<dl>
<dt><tt><i>amsldoc.tex</i></tt><dd>Distributed as part of AMSLaTeX
<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse</a>)
<dt><tt><i>amsmath.sty</i></tt><dd>Distributed as part of AMSLaTeX
<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse</a>)
</dl>
<p><p><p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=reuseq">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=reuseq</a>
</body>
|