Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!cps3xx!cps3xx.egr.msu.edu!ben From: ben@ulrich.mth.msu.edu (Ben Lotto) Newsgroups: comp.text Subject: Re: LaTeX -- \pagestyle{empty} leaves number on page 1 Message-ID: Date: 15 Mar 89 18:39:12 GMT References: <7319@boulder.Colorado.EDU> <1194@ruuinf.UUCP> Sender: usenet@cps3xx.UUCP Distribution: all Organization: Michigan State University Lines: 31 In-reply-to: piet@ruuinf's message of 14 Mar 89 12:51:09 GMT In article <1194@ruuinf.UUCP> piet@ruuinf (Piet van Oostrum) writes: >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 >Piet van Oostrum, Dept of Computer Science, University of Utrecht I would like to suggest a better fix. It seems to me that the reason these \thispagestyle commands are there in the first place is to give a page with no headings if you are on a title page. The only case where you get an undesirable result, then, is when you want no page numbers at all (\pagestyle{empty}). My suggestion: in each of the cases mentioned above, have LaTeX check whether the pagestyle is set to empty, and if it isn't, execute \thispagestyle{plain}. By the way, I would still like to know how to move the title closer to the top of the page on the first page of a document of the form \documentstyle[12pt,twocolumn]{article}. -- -B. A. Lotto (ben@ulrich.mth.msu.edu) Department of Mathematics/Michigan State University/East Lansing, MI 48824