Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!ruuinf!piet From: piet@ruuinf (Piet van Oostrum) Newsgroups: comp.text Subject: Re: LaTeX -- \pagestyle{empty} leaves number on page 1 Message-ID: <1194@ruuinf.UUCP> Date: 14 Mar 89 12:51:09 GMT References: <7319@boulder.Colorado.EDU> Sender: piet@ruuinf.UUCP Reply-To: piet@ruuinf (Piet van Oostrum) Distribution: all Organization: Dept of Computer Science, University of Utrecht, Holland Lines: 30 In-reply-to: hartzell@tigger (George Hartzell) In article <7319@boulder.Colorado.EDU>, hartzell@tigger (George Hartzell) writes: `In article , ben@ulrich (Ben Lotto) writes: `> `>I have been frustrated in my attempts to completely remove the page `>numbers from a document using LaTeX. When I try \pagestyle{empty}, as `>suggested by the manual, the first page is still numbered, although the `>subsequent pages seem to be fine. I tried putting the \pagestyle{empty} `>in various places, but to no avail. Can anyone enlighten me on this? ` `This can occur when you use the \maketitle command (not sure if this `is style dependent or not...) because it does a \thispagestyle{plain}. It is worse: Latex does a \thispagestyle{plain} in several places: 1. At the beginning of most document styles. 2. At the beginning of echa chapter, part, Index, etc. 3. At the titlepage. and maybe more. If you have a report or article style, no matter where you put the \pagestyle, the first page does have the \thispagestyle set, and the only way to get rid of it is to do another \thispagestyle{empty}. I consider this a bug in Latex. I think Latex should cancel a pending \thispagestyle whenever a \pagestyle is given. This does, however, not solve all problems, because at each chapter you will get the same problem. What actually is needed is a command to specify the ``default pagestyle for these cases'' -- Piet van Oostrum, Dept of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!hp4nl!ruuinf!piet)