🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11168

LaTeX: How to modify eqn. labels in "eqnarray" environment?

#11168
From: Herong Yang
Date: Tue, 12 Jan 1993 14:31
30 lines
1388 bytes
I am trying to modify the equation labels by redefining the "\theequation"
command, see the attached sample tex file. But it works only in the "equation"
environment, not in the "eqnarray" environment. 

Any suggestions? 

Thank you.

Herong Yang
herong@twinkie.cc.mcgill.ca
----------------------------------------------------------------------------
\documentstyle{report}
\begin{document}
......
\appendix
\chapter{Reference}
\begin{eqnarray}
\renewcommand{\theequation}{\Alph{chapter}.\alph{equation}}
    x + y + z & = & a + b + c \\
        x + y & = & b + c     \\
            x & = & c         \\
\end{eqnarray}
\begin{equation}
\renewcommand{\theequation}{\Alph{chapter}.\alph{equation}}
 f_s' = { {\partial f} \over {\partial x} }
        { {\partial x} \over {\partial s} }
      + { {\partial f} \over {\partial y} }
        { {\partial y} \over {\partial s} }
\end{equation}
\end{document}
Technical Details
Message-ID: <1993Jan12.143152.3093@sifon.cc.mcgill.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!sifon!herong
References: <1isnbiINN9gl@bigboote.WPI.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!sifon!herong
From: herong@cc.mcgill.ca (Herong Yang)
Newsgroups: comp.text.tex
Subject: LaTeX: How to modify eqn. labels in "eqnarray" environment?
Message-ID: <1993Jan12.143152.3093@sifon.cc.mcgill.ca>
Date: 12 Jan 93 14:31:52 GMT
References: <1isnbiINN9gl@bigboote.WPI.EDU>
Sender: news@sifon.cc.mcgill.ca
Organization: Computing Centre, McGill University
Lines: 30
Nntp-Posting-Host: twinkie.cc.mcgill.ca