[texhax] Equations ...
Jeff Barnett
jbarnett at godzilla.nrtc.northrop.com
Mon Jul 14 10:58:07 CEST 2003
"Harish S. Bhanderi" wrote:
> Hi Manoj and Herbet,
>
> Many thanks for your email. I apologies for not being explicit about the
> problem and so I don't want to reset any counters in Appendix or anything
> like that. The problem is:
>
> I have written an equation in the introduction. In the dvi output, it is
> numbered 1.64, say. Now in the appendix, I want to refresh the reader's
> mind and rewrite the same equation. As it not a new equation, I wanted it
> numbered 1.64 rather than A-73, say. I have seen this sort of thing done
> in books but I don't know how to do it. Please advise.
>
> Many thanks in advance.
>
> Harish
>
> |--> On Mon, 14 Jul 2003, Manoj Kummini wrote:
> |-->
> |--> Your problem is not very clear. Do you want to number equations in
> |--> Appendix A as 1.1, 1.2 etc instead of A.1, A.2 etc? If that is what
> |--> you want, you should probably add something like
> |-->
> |--> \makeatletter
> |--> \renewcommand{\theequation}{\@arabic\c at section.\@arabic\c at equation}
> |--> \makeatother
> |-->
> |--> in your document. This will however give you an equation in Section 1
> |--> and another in Appendix A with the same number.
> |-->
> |--> Manoj.
> |-->
>
> |--> On Mon, 14 Jul 2003, Herbert Gintis wrote:
> |-->
> |--> I don't know how you produce (1.1), but here's one way, and one
> |--> way to repeat it later:
> |-->
> |--> ----------------------
> |--> \makeatletter
> |--> \def\@eqnnum{{\normalfont \normalcolor (\thesection.\theequation)}}
> |--> \makeatother
> |--> \def\mysection#1{\setcounter{equation}{0}\section{#1}}
> |--> \begin{document}
> |-->
> |--> \mysection{Introduction}
> |-->
> |--> \begin{equation}
> |--> A = B
> |--> \end{equation}
> |-->
> |--> \mysection{New Section}
> |-->
> |--> \begin{equation}
> |--> A = B
> |--> \end{equation}
> |-->
> |--> Later on...
> |-->
> |--> \mysection{Appendix}
> |--> \setcounter{section}{1}
> |--> \begin{equation}
> |--> A = B
> |--> \end{equation}
> |--> ----------------------------------
> |-->
> |--> Herbert Gintis
> |-->
>
> _______________________________________________
> TeX FAQ: http://faq.tug.org/
> Human mailing list managers: postmaster at tug.org
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
If you are use the AMS style, you can use something like \tag{\label{prev}} in
any of the equation environments to make an explicit equation label. In this
example, prev is the label given to the equation when it originally appeared.
-- Jeff Barnett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jbarnett.vcf
Type: text/x-vcard
Size: 445 bytes
Desc: Card for Jeff Barnett
Url : http://tug.org/pipermail/texhax/attachments/20030714/90b8d99a/jbarnett.vcf
More information about the texhax
mailing list