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

Reply via email to