Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!slxsys!jclark!jjc From: jjc@jclark.UUCP (James Clark) Newsgroups: comp.unix.questions Subject: Re: Troff question Message-ID: Date: 8 Feb 91 23:01:32 GMT References: <1235@sjfc.UUCP> Sender: jjc@jclark.uucp (James Clark) Organization: None, London, England Lines: 59 In-Reply-To: ggww@sjfc.UUCP's message of 6 Feb 91 16:03:21 GMT In article <1235@sjfc.UUCP> ggww@sjfc.UUCP (Gerry Wildenberg) writes: A friend would like to do the following. He needs to be able to specify to troff the exact lines to be printed (i.e. no filling or at least no filling that borrows from the next line ) but he wants troff to left and right adjust (presumably by adjusting the spacing between words). The most straightforward way to do this is to enable filling and put `\p' at the end of each input line. With a bit of work explicit `\p's can be avoided: .ev 1 .nh .ll 1u .fi .ev .de x .ev 1 .it 1 y .di a .. .de y .br .di .ev .nf .di b .dt \\n(dnu-1v z .a .di .ds c \\*c\\ .am b \\*c\p \\.. .fi .b .x .. .de z .di .di c .. .de e .it .di .ev .. .sp 2 .x first line of adjusted text second line of adjusted text third line of adjusted text .e unadjusted text James Clark jjc@jclark.uucp jjc%jclark@relay.eu.net