Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!ihwpt!crocker From: crocker@ihwpt.UUCP (ron crocker) Newsgroups: net.text Subject: Re: fixed format displays in troff Message-ID: <1186@ihwpt.UUCP> Date: Mon, 27-Oct-86 18:13:40 EST Article-I.D.: ihwpt.1186 Posted: Mon Oct 27 18:13:40 1986 Date-Received: Tue, 28-Oct-86 03:15:41 EST References: <2@torch.UUCP> Organization: AT&T Bell Labs, Naperville, IL Lines: 49 > > I am trying to include some formatted output from a program in a document > which is being formatted using troff. To do this I am using the .DS and .DE > macros (MM macros), e.g: > > .DS > $ ls7 > fred bill bert albert > harold jim egbert jane > janet john > $ > .DE > > I am using troff in conjunction with TranScript (from Abobe) together with > a PostScript laser printer. The TranScript system provides Times and Helvetica > proportional fonts for use with troff which consequently do not produce aligned > output in such a display. > > Does anyone know a way round this problem ? Thanks in advance for any help. You can do this using tbl, a program that formats data into tables. Use the following: .DS $ ls7 .TS l l l l. fred->bill->bert->albert harold->jim->egbert->jane janet->john .TE $ .DE where -> represents a TAB (ASCII ^I). When you format this, do tbl filename | troff (the same old options you had) This should give you something better. Ron Crocker AT&T Bell Laboratories Room IH 6D535 Naperville-Wheaton Road Naperville, IL 60566 (312) 979-4051