🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #2769

Re: Creating 2 column documents in -roff

#2769
From: Jenni A. Etgen
Date: Tue, 30 Apr 1991 19:43
62 lines
3331 bytes
In article <1991Apr30.175357.8066@letni.lonestar.org> doug@letni.lonestar.org (Doug Davis) writes:
>In article <1991Apr29.210724.5436@cbnewsl.att.com> npn@cbnewsl.att.com (nils-peter.nelson) plugs his employers overpriced product yet again:
>
>>The .2C macro in -ms and -mm, both included with DWB 3.1,
>>produce 2 column output. The Tutorial in the troff
>>documentation for DWB 3.1 includes a 20-line implementation.
>
>>You most assuredly can't use tbl unless you read left-to-right
>>across columns.
>
>BZZZZT! Ding! Sorry you lose, thank you for playing our game. For our
>consulation prize today we have here a quick and dirty example of using
>tbl to do multi-column text.  Of course the borders are optional 
>equipment and your milage may vary.
>
>.TS
>doublebox;
>lw(3i)|lw(3i).
>T{
>This is a test of the national broadcasting system.
>This is a test of the national broadcasting system.
>This is a test of the national broadcasting system.
>This is a test of the national broadcasting system.
>This is a test of the national broadcasting system.
>T}	T{
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>Now is the time for all good men to come to the aid of their filesystems.
>T}
>.TE
>
>
>__
>Doug Davis/4409 Sarazen/Mesquite Texas, 75150/214-270-9226
>{texsun|lawnet|smu}!letni!doug     doug@letni.lonestar.org
>
>                                                              "Be seeing you..."

tbl will work IF the 2 columns are totally separate text, however
IF the text just needs to flow from the first column to the second
tbl CAN NOT handle this,  also tbl has a limit on the number of text
blocks you can use.  in this case the only way to handle this
 with a pre-existing macro is with the .2C macro in mm or ms or write
your own macro this I have done since I have some very special cases
with 2 or more columns. 



Jenni Etgen
zjae0b@trc.amoco.com
918-660-3392
Amoco Production Company
4502 East 41st Street
P.0. Box 3385
Tulsa, OK 74102
Technical Details
Message-ID: <1991Apr30.194337.14056@trc.amoco.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!lll-winken!iggy.GW.Vitalink.COM!widener!msi.umn.edu!cs.umn.edu!uc!apctrc!zjae0b
References: <1883@eastman.UUCP> <1991Apr29.210724.5436@cbnewsl.att.com> <1991Apr30.175357.8066@letni.lonestar.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!lll-winken!iggy.GW.Vitalink.COM!widener!msi.umn.edu!cs.umn.edu!uc!apctrc!zjae0b
From: zjae0b@trc.amoco.com (Jenni A. Etgen)
Newsgroups: comp.text
Subject: Re: Creating 2 column documents in -roff
Keywords: Comes with example attached
Message-ID: <1991Apr30.194337.14056@trc.amoco.com>
Date: 30 Apr 91 19:43:37 GMT
References: <1883@eastman.UUCP> <1991Apr29.210724.5436@cbnewsl.att.com> <1991Apr30.175357.8066@letni.lonestar.org>
Sender: usenet@trc.amoco.com (News)
Organization: Amoco Production Company
Lines: 62
X-Checksum-Snefru: 32592054 27e931ba 31a0d668 c8611534