Re: [off topic] equation numbering in appendix

2002-02-06 Thread Alekos Tsamaloukas


Hi there,

though i am neither a wizard nor a guru, i may suggest, that you should
use the easyeqn package. You have to keep track of the numbers of your
equations by yourself, since there is no internal counter, but maybe it
will meet your needs anyway. The syntax is:
\label[]{} or \label(){}, where for instance

\label[1]{eq1} would produce 1 as equation label and
\label(1){eq1} would produce (1) as equation label.

Alekos

On Tue, 5 Feb 2002, Richard Belshoff wrote:

> I posted the following to comp.text.tex but I got no responses.
>
> >I'm typesetting a book using latex2e, with \documentclass{book}.
> >In Appendix A, my first displayed equation is labled as (A.1) when
> >typeset, but I would prefer it to be just (1).
> >
> >What's the best way to accomplish this?
>
> I found the "eqname" package on ctan, which allows one to relabel
> an equation, but it doesn't seem to work in the appendix.  Besides,
> I don't really want to call my equation (bingo), I just want (1), (2),
> (3), ... instead of (A.1), (A.2), (A.3), 
>
> Can any of you wizards/gurus on this list help me?
>
> I apologize for the off-topic post, but I'm desperate!
>
> TIA.
>
> Richard Belshoff
>
>




Re: [off topic] equation numbering in appendix

2002-02-06 Thread Martin Schroeder

On 2002-02-05 23:24:26 +, Julian Gilbey wrote:
> \makeatletter
> \renewcommand\theequation{\@arabic\c@equation}
> \makeatother

ITIYM \renewcommand{\theequation}{\arabic{equation}}

Best regards
Martin
-- 
http://www.tm.oneiros.de/calendar/2002/




Re: [off topic] equation numbering in appendix

2002-02-06 Thread Julian Gilbey

On Tue, Feb 05, 2002 at 03:09:04PM -0600, Richard Belshoff wrote:
> I posted the following to comp.text.tex but I got no responses.
> 
> >I'm typesetting a book using latex2e, with \documentclass{book}.
> >In Appendix A, my first displayed equation is labled as (A.1) when 
> >typeset, but I would prefer it to be just (1).  
> >
> >What's the best way to accomplish this?
> 
> I found the "eqname" package on ctan, which allows one to relabel 
> an equation, but it doesn't seem to work in the appendix.  Besides,
> I don't really want to call my equation (bingo), I just want (1), (2),
> (3), ... instead of (A.1), (A.2), (A.3), 
> 
> Can any of you wizards/gurus on this list help me?

Read the source of book.cls and modify as appropriate ;-)

Was:
\renewcommand\theequation
  {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}

So do:
\makeatletter
\renewcommand\theequation{\@arabic\c@equation}
\makeatother

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 Julian Gilbey, Dept of Maths, Debian GNU/Linux Developer
  Queen Mary, Univ. of London see http://people.debian.org/~jdg/
   http://www.maths.qmul.ac.uk/~jdg/   or http://www.debian.org/
Visit http://www.thehungersite.com/ to help feed the hungry