🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #6516

fancy margins with troff -mm

#6516
From: holub
Date: Thu, 08 Jun 1989 17:39
20 lines
1299 bytes
Has anyone modified -mm so that it will print wide left and narrow right
margines on even numbered pages and wide-right/narrow-left margins on odd pages?
That is, I need the wide margin to be at the outside of the page and the narrow
margin to be at the inside, like this:

even (left) page:	odd (right) page:
+----------------+	+----------------+
| header....text |	| header....text |
|		 |	|		 |
|      text text |	| text text 	 |
|      text text |	| text text 	 |
|      text text |	| text text 	 |
|      text text |	| text text 	 |
+----------------+	+----------------+

It's easy to get the odd pages working correctly (I even have a marginal-note
macro), but the even pages are harder. Anyway, if you've done it, I could use
some help. Thanks.

	-Allen Holub	holub@violet.berkeley.edu     ...!ucbvax!violet!holub
Technical Details
Message-ID: <25354@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!violet.berkeley.edu!holub

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!violet.berkeley.edu!holub
From: holub@violet.berkeley.edu
Newsgroups: comp.text
Subject: fancy margins with troff -mm
Keywords: troff -mm margins
Message-ID: <25354@agate.BERKELEY.EDU>
Date: 8 Jun 89 17:39:43 GMT
Sender: usenet@agate.BERKELEY.EDU
Reply-To: holub@violet.berkeley.edu ()
Organization: University of California, Berkeley
Lines: 20