Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!alchemy!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text.tex Subject: Re: LaTeX question: Page headings on first page. Message-ID: <1991Jun06.102627.10340@cs.ruu.nl> Date: 6 Jun 91 10:26:27 GMT References: <1991Jun3.185438.24208@agate.berkeley.edu> Sender: piet@cs.ruu.nl (Piet van Oostrum) Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 69 In-Reply-To: nick@candide.berkeley.edu (Nick Socci) >>>>> nick@candide.berkeley.edu (Nick Socci) (NS) writes: NS> In section C.4.2 (Page Styles) of the LaTeX manual there is a NS> comment that on the first page of a document the right head NS> information is always null. It then suggest that if this is a problem NS> generate a blank page first. NS> Well this is a problem for me, and generating blank pages at the NS> beginning of every document is not a great solution. I have tried NS> looking in the latex.tex file and the various style files to find a NS> better fix but I am stumped. NS> If anyone knows why the first page has a null righthead, and how it NS> might be fixed without ejecting a blank first page please let me. It is because the standard LaTeX styles have the equivalent of a \markboth{}{} at the beginning of the document. As the right head is always the first mark specified as such, it cannot be undone. The only way to get rid of this is to rewrite the style file. Another option would be to specify the header for the first page yourself, with \thispagestyle and choose a style that does not use \rightmark. You might use one of the headings style options for this, e.g. fancyheadings. How to get fancyheadings.doc and fancyheadings.sty from the archive at Dept. of Computer Science, Utrecht University: NOTE: In the following I have assumed your mail address is john@highbrow.edu. Of course you must substitute your own address for this. This should be a valid internet or uucp address. For bitnet users name@host.BITNET usually works. by FTP: (please restrict access to weekends or evening/night (i.e. between about 20.00 and 0900 UTC). ftp archive.cs.ruu.nl [131.211.80.5] user name: anonymous or ftp password: your own email address (e.g. john@highbrow.edu) cd /pub don't forget to set binary mode if the file is a tar/arc/zoo archive, compressed or in any other way contains binary data. get TEX/latexstyle/fancyheadings.doc get TEX/latexstyle/fancyheadings.sty by mail-server: send the following message to mail-server@cs.ruu.nl (or uunet!mcsun!hp4nl!ruuinf!mail-server): begin path john@highbrow.edu (PLEASE SUBSTITUTE *YOUR* ADDRESS) send TEX/latexstyle/fancyheadings.doc send TEX/latexstyle/fancyheadings.sty end NOTE: *** PLEASE USE VALID INTERNET ADDRESSES IF POSSIBLE. DO NOT USE ADDRESSES WITH ! and @ MIXED !!!! BITNETTERS USE USER@HOST.BITNET *** The path command can be deleted if we receive a valid from address in your message. If this is the first time you use our mail server, we suggest you first issue the request: send HELP -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')