🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #842

Custom headers in latex

#842
From: Andy Biewer
Date: Thu, 09 Apr 1992 00:47
16 lines
1239 bytes
I'm stymied.  What I'm trying to do is get latex to put a custom header in
my document modelled as follows:

TOPIC                                                                     P
---------------------------------------------------------------------------

Where `TOPIC' is the current document section (which can be changed by
changing the value of a new variable, say, \headtopic), `P' is the
current page number, and the line goes from the left margin to the right
margin.  Of course, I'd like to get it to do twosided printing, so for even
pages, things would be switched, or vice-versa.  I've tried the \markboth
command with \pagestyle{myheadings}, but cannot figure it out.

Is there an easy (any?) way to do this with article document style?

Thanks for any help, Andy B
Technical Details
Message-ID: <1992Apr9.004718.11370@uwm.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!csd4.csd.uwm.edu!andrew

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!csd4.csd.uwm.edu!andrew
From: andrew@csd4.csd.uwm.edu (Andy Biewer)
Subject: Custom headers in latex
Message-ID: <1992Apr9.004718.11370@uwm.edu>
Originator: andrew@csd4.csd.uwm.edu
Sender: news@uwm.edu (USENET News System)
Organization: UofWisc.--Milwaukee - Language Resource Center
Distribution: usa
Date: Thu, 9 Apr 1992 00:47:18 GMT
Lines: 16