Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!pacbell!att!ihlpf!bamford From: bamford@ihlpf.ATT.COM (Harold E. Bamford) Newsgroups: comp.text Subject: Re: fancy margins with troff -mm Keywords: troff -mm margins Message-ID: <8741@ihlpf.ATT.COM> Date: 9 Jun 89 21:18:41 GMT References: <25354@agate.BERKELEY.EDU> Reply-To: bamford@ihlpf.UUCP (Harold E. Bamford) Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 26 In article <25354@agate.BERKELEY.EDU> holub@violet.berkeley.edu () writes: >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: How about putting this at the top of your document: .po +1.0i .am TP .if e .po -1.0i .if o .po +1.0i .. The .TP macro is the Top-of-Page macro that is invoked at the top of each page. .am appends two simple tests to the end of that macro. If the page is even numbered (.if e) then subtract an inch from the page offset. If it is odd, add an inch. In a very brief test, it seems to work for me. It should be a starting point in any case. I assume that this is to be able to convert your output to double sided and then store it in a binder. Correct? -- Harold Bamford