Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

repeating equation numbers

0 views
Skip to first unread message

Karl Storck

unread,
Apr 3, 1998, 3:00:00 AM4/3/98
to

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.

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/ |
------------------------------------------------------------


Axel Reichert

unread,
Apr 3, 1998, 3:00:00 AM4/3/98
to

Karl Storck <ka...@DELETE.THIS.ikp.liu.se> writes:

> 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/

Boris Veytsman

unread,
Apr 3, 1998, 3:00:00 AM4/3/98
to Karl Storck

Karl Storck <ka...@DELETE.THIS.ikp.liu.se> writes:

> 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

-Boris
http://www.plmsc.psu.edu/~boris/

Diego Zamboni

unread,
Apr 15, 1998, 3:00:00 AM4/15/98
to Karl Storck

Karl Storck <ka...@DELETE.THIS.ikp.liu.se> writes:
> 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.

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

0 new messages