Angus Leeming wrote:
>
> I have a question about equation numbering.
> Suppose I have an equation that I've labelled:
>
> x^2+y^2=r^2 (eq:circle)
>
> Later in text I want to print it out again, WITH THE SAME
> EQ. NUMBER so:
>
> x^2+y^2=r^2 (eq:circle)
>
> Unfortunately, this does not work. LaTeX gives the second
> equation a new number. What to do?
it only works with a trick:
an eqaution ... (has the number "n" e.g. "4")
before your secind equation with same number:
\setcounter{equation}{the number -1 of first eqaution}
---- your equation with the same number
\setcounter{equation}{ forlast equationnumber "n-1" e.g. "3")
have a look at the azached examplefile
herbert
--
[EMAIL PROTECTED]
http://www.perce.de
#LyX 1.1 Copyright 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\begin_preamble
\usepackage{amsfonts}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 1
0
9
-1
\end_bullet
\bullet 2
1
31
-1
\end_bullet
\layout Standard
Section one
\layout Standard
An equation test ...
\layout Standard
\begin_inset Formula
\begin{equation}
\label{eq:circle}
x^{2}+y^{2}=z^{2}
\end{equation}
\end_inset
\layout Standard
Now any text like bla bla bla bla and another eqaution
\begin_inset Formula
\begin{equation}
\label{eq:sin}
sin(x)\approx tan(x)\qquad x\ll 1
\end{equation}
\end_inset
\layout Standard
the first again with same number:
\layout Standard
\latex latex
\backslash
setcounter{equation}{0}
\layout Standard
\begin_inset Formula
\begin{equation}
\label{eq:circle}
x^{2}+y^{2}=z^{2}
\end{equation}
\end_inset
\layout Standard
\latex latex
\backslash
setcounter{equation}{2}
\layout Standard
and a new equation
\begin_inset Formula
\begin{equation}
\label{eq:newone}
y=f(x)
\end{equation}
\end_inset
\the_end