🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.tex
Article #178

Re: appendix equation numbering

#178
From: Sanjay Mazumdar
Date: Mon, 13 Jul 1992 23:42
44 lines
2348 bytes
In article <1992Jul13.005618.11996@augean.eleceng.adelaide.edu.AU> sanjay@augean.eleceng.adelaide.edu.AU (SaNjAy MaZuMdAr) writes:
>
>I am currently writing a paper in article style and I am using the
>\appendix environment to include appendicies. My problem is that
>the equation numbering continues on from the main body (ie if the
>last eqn in the main body is 40 the first equation in the appendix will
>be 41), whereas I want the appendix equations to be numbered A.1, A.2,....
>,B.1, B.2 etc. I know this can be done in report mode, but that results
>in the abstract, title page etc being placed on separate pages.
>
>
>Thanks in advance,
>
>--
>Sanjay Mazumdar

Well Sanjay I thought I'd answer my own question, just in case others wanted
to know how to do this (a fellow pg in the dept showed me how).

\appendix

\setcounter{equation}{0}
\setcounter{section}{1}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\renewcommand{\thesection}{\Alph{section}}

\section*{Appendix {\thesection} : ......}


1. This sets the equation counter to label equations as (A.1) etc
2. Note : before each section {new appendix} need to put
        \setcounter{equation}{0}
3. Labels appendicies as Appendix A : .....
4. Just having \section{....} will label them as A ....


Hope this helps.

Sanjay
-- 
Sanjay Mazumdar
--------------------------------------------------------------------------------
| E-mail    : sanjay@eleceng.adelaide.edu.au                                   |
| Snail-mail: Dept of Electrical & Electronic Eng., The University of Adelaide |
Technical Details
Message-ID: <1992Jul13.234204.761@augean.eleceng.adelaide.edu.AU>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!west.West.Sun.COM!sunaus!metro!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!augean.eleceng.adelaide.edu.AU!sanjay
References: <1992Jul13.005618.11996@augean.eleceng.adelaide.edu.AU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4a99,9a1e49003df225d8
X-Google-Attributes: gidf4a99,public
X-Google-ArrivalTime: 1992-07-13 13:18:28 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!west.West.Sun.COM!sunaus!metro!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!augean.eleceng.adelaide.edu.AU!sanjay
From: sanjay@augean.eleceng.adelaide.edu.AU (Sanjay Mazumdar)
Newsgroups: aus.tex
Subject: Re: appendix equation numbering
Message-ID: <1992Jul13.234204.761@augean.eleceng.adelaide.edu.AU>
Date: 13 Jul 92 23:42:04 GMT
References: <1992Jul13.005618.11996@augean.eleceng.adelaide.edu.AU>
Distribution: aus
Organization: Electrical and Electronic Eng., University of Adelaide
Lines: 44