Article View: comp.text
Article #4918Re: Page Footers in LaTeX
From: Brian T. Schellenberger
Date: Tue, 19 Jul 1988 22:51
Date: Tue, 19 Jul 1988 22:51
25 lines
1516 bytes
1516 bytes
[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
Technical Details
Message-ID:
<573@sas.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uflorida!gatech!ncsuvx!mcnc!rti!sas!btsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uflorida!gatech!ncsuvx!mcnc!rti!sas!bts From: bts@sas.UUCP (Brian T. Schellenberger) Newsgroups: comp.text Subject: Re: Page Footers in LaTeX Message-ID: <573@sas.UUCP> Date: 19 Jul 88 22:51:20 GMT Reply-To: bts@sas.UUCP (Brian T. Schellenberger) Organization: SAS Institute Inc, Cary NC Lines: 24