[comp.text] Page Footers in LaTeX

xg00@bunny.UUCP (Xev Gittler) (07/15/88)

Although LaTeX makes it somewhat easy to add page heading (via the
myheadings page style), is there a way to specify page footings? Also,
can someone suggest a way to allow for more customization of page
headings and footings?


-- 
					Xev Gittler
					xg00@gte.com, or
					xg00%gte.com@relay.cs.net

bts@sas.UUCP (Brian T. Schellenberger) (07/20/88)

[tried EMail; it bounced.]

You can set up \@oddfoot, \@evenfoot (& \@evenhead, \@oddhead):

\makeatletter
\renewcommand \@oddfoot {\centerline{my own foot!}
\let \@evenfoot = \@oddfoot
\makeatother

Points:
1. Omit the \makeatletter / \makeatother if in a .sty file.
2. Don't do a \pagestyle after this, or you'll wipe out your handiwork.
3. \let creates an exact alias for a single token; it is a plain TeX
   command but is available in LaTeX.
4. {}s are not need around the command-name in \newcommand (though they
   are in \newenvironment); I omit them because I think it is more readable
   to do so.
5. I discovered this by using the \show command.
6. I agree that LaTeX should have better direct (ie, not diving into "TeX"
   or delving about in \show or the LaTeX source for this sort of thing . . .
-- 
--Brian,                     __________________________________________________
  the man from              |Brian T. Schellenberger   ...!mcnc!rti!sas!bts
  Babble-On                 |104 Willoughby Lane     work: (919) 467-8000 x7783
____________________________|Cary, NC   27513        home: (919) 469-9389