🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11284

Footers on every page in LaTeX

#11284
From: Mark Mandel
Date: Wed, 21 Feb 1990 15:22
33 lines
2036 bytes
I have to get footers on every page, including chapter-initial pages,
of a largish (>100pp.) document that I have just about completed in
LaTeX.  It would be sufficient for all of them to be identical -- it's
a piece of boilerplate, 4 words.  I'm using book style, and I don't
know Plain TeX.  Our local guru has given me some advice, but he too
is not familiar enough with Plain TeX to help me through this
situation.  The weirdest part is that it was working for a while,
though not on first pages of chapters.  Naturally, I'm not aware of
anything in the footer code changing interim.

Here is what I'm using.  It's extracted and modified from book.sty,
and it's at the very end of my preamble.  I've added one space of
indentation to defeat any fill mechanisms that might choose to apply
between my typing and your reading.

 \gdef\ps@headings{\let\@mkboth\markboth
 \gdef\@oddfoot{\bf\hfil BOILERPLATE TEXT GOES HERE\hfil\rm DOCUMENT NUMBER}
 \gdef\@evenfoot{DOCUMENT NUMBER\hfil \bf BOILERPLATE TEXT GOES HERE\hfil}
 \gdef\@evenhead{\rm \thepage\hfil \sl
 \leftmark}\gdef\@oddhead{\hbox{}\sl \rightmark \hfil
 \rm\thepage}\gdef\chaptermark##1{\markboth {\uppercase{\ifnum \c@secnumdepth
 >\m@ne
  \@chapapp\ \thechapter. \ \fi ##1}}{}}\gdef\sectionmark##1{\markright
 {\uppercase{\ifnum \c@secnumdepth >\z@
  \thesection. \ \fi ##1}}}}

Any help would be most welcome, and The Sooner The Better (he
pleaded).
-- 

	-- Mark Mandel          (InterNet: Mandel@granite.cr.bull.com)

 /* My employer is not responsible for anything I say, do, think, or eat. */
Technical Details
Message-ID: <1990Feb21.152216.12541@granite.cr.bull.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ns-mx!iowasp!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!usc!bbn!granite!mandel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ns-mx!iowasp!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!usc!bbn!granite!mandel
From: mandel@granite.cr.bull.com (Mark Mandel)
Newsgroups: comp.text.tex
Subject: Footers on every page in LaTeX
Keywords: footers
Message-ID: <1990Feb21.152216.12541@granite.cr.bull.com>
Date: 21 Feb 90 15:22:16 GMT
Reply-To: mandel@granite.cr.bull.com (Mark Mandel)
Organization: Bull HN Information Systems Inc.
Lines: 33