Thanks
Karl Storck
--
------------------------------------------------------------
| Karl Storck | Appl. Thermodyn. & Fluid Mech. |
| mailto:ka...@ikp.liu.se | Linköping Inst. of Tech., LiTH |
| http://www.mvs.ikp.liu.se/staff/karl/ |
------------------------------------------------------------
> I want to repeat an earlier mathematical expression in an appendix. I
> want it repeated with its original equation number to the right.
amsmath.sty can do this, AFAIK.
Happy TeXing!
--
Axel Reichert -- http://mt.mpie-duesseldorf.mpg.de/people/reich/
> I want to repeat an earlier mathematical expression in an appendix. I
> want it repeated with its original equation number to the right. How do
> I do this? Just defining the same label, of course, causes trouble.
>
In the preamble \usepackage{amsmath}
In the main body
\begin{equation}
\label{mult}
2\times2=4
\end{equation}
In the appendix:
\begin{equation}
\tag{\ref{mult}}
2\times2=4
\end{equation}
--
Good luck
You can override the label of an equation with a tag of your own by
using the \tag command from the amsmath package. The following
document generates two equations with the same number, and should be
enough to show you the technique:
\documentclass{article}
\usepackage{amsmath}
% Original equation
\begin{document}
\begin{equation}
\label{bla}
x=y+z
\end{equation}
% Repeated equation, get the same number
\begin{equation}
\label{blu}
x=y+z \tag{\ref{bla}} % <---- This is the trick.
\end{equation}
\end{document}
Hope this helps,
--Diego