🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.tex
Article #8

Re: Headers & Footers using LaTex

#8
From: Geoff Oakley
Date: Mon, 17 Aug 1992 02:08
32 lines
1646 bytes
In article <1992Aug14.175343.164330@dstos3.dsto.gov.au> gje@itd.dsto.gov.au (Gary Ewing) writes:

   In using LaTex in report style (or any other), I cannot simultaneously generate both headlines and footlines. Can anyone tell me how to do this please?


There are two options available:

1) Obtain fancyheading.sty (I think is the name) which can answer your
problem. 


2) You can roll your own pagestyle, which is quite easy.

For a new pagestyle `mystyle':

+ define a macro ps@mystyle which defines macros called @oddhead and
@oddfoot which are the headers and footers you want.  If you are using
twoside, you will need to define @evenhead and @evenfoot as well.
Because these macro names contain the `@' character, you will need to
define ps@mystyle in a style file (say, mystyle.sty) or bracketed with
the \makeatletter and \makeatother commands

+ use your new pagestyle:
	\pagestyle{mystyle}


Geoff Oakley
--

	       geoffo@spectrum.cs.unsw.oz.au
Geoff Oakley:  CS & E, UNSW, PO Box 1, Kensington, NSW 2033, Australia
	       Phone: +61 2 697 4043	Fax: +61 2 313 7987
Technical Details
Message-ID: <GEOFFO.92Aug17120819@crimson.spectrum.cs.unsw.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel!sserve!usage!usage!geoffo
References: <1992Aug14.175343.164330@dstos3.dsto.gov.au>

Show Full Headers
Complete Article Headers
Newsgroups: aus.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel!sserve!usage!usage!geoffo
From: geoffo@spectrum.cs.unsw.oz.au (Geoff Oakley)
Subject: Re: Headers & Footers using LaTex
In-Reply-To: gje@itd.dsto.gov.au's message of 14 Aug 92 23:53:42 GMT
Message-ID: <GEOFFO.92Aug17120819@crimson.spectrum.cs.unsw.oz.au>
Sender: news@usage.csd.unsw.OZ.AU
Nntp-Posting-Host: crimson.spectrum.cs.unsw.oz.au
Organization: none
References: <1992Aug14.175343.164330@dstos3.dsto.gov.au>
Date: Mon, 17 Aug 1992 02:08:19 GMT
Lines: 32