Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.text Subject: Re: fancy margins with troff -mm Message-ID: <2610027@hpsal2.HP.COM> Date: 9 Jun 89 18:24:38 GMT References: <25354@agate.BERKELEY.EDU> Organization: HP System Architecture Lab, Cupertino Lines: 26 / hpsal2:comp.text / holub@violet.berkeley.edu / 10:39 am Jun 8, 1989 / 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 | +----------------+ +----------------+ ---------- I think all you have to do is switch the page offset for odd and even pages. Add some code like: .if e .po 2i .if o .po 0 in either a header or footer macro (for example, .PX). Michael