🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #780

Re: 4 columns in troff?

#780
From: John Pew
Date: Fri, 14 Feb 1986 17:34
23 lines
1497 bytes
In article <795@tellab1.UUCP>, etan@tellab1.UUCP (Nate Stelton) writes:
> Does anyone have a macro in nroff/troff laying around that they could lay on
> me that's like a .2C (in -mm or -ms) only it's a .4C?  I'm too lazy to try to
> figure it out from scratch.  Just send me what you use and I can modify 
> it from there.


All you have to do is use .MC (multiple column) in the -ms macro.
.MC takes two arguments 1) is the column width 2) is the gutter
width (the space between columns).  It will create however many
columns it can based on the line length and the column with
that you specify.  With the line length set to 6.5 inches the 
following command will create 3 column output.

	.MC 1.8i 0.4i

The .2C macros simply calls the .MC macro.

I have never tried 4 columns but I'm sure the same technique would work.

John Pew
Silicon Compilers
{decwrl,weitek,oliveb}!sci!johnp
Technical Details
Message-ID: <148@sci.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!decwrl!sun!saber!qubix!sci!johnp
References: <795@tellab1.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 alpha 4/15/85; site sci.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!decwrl!sun!saber!qubix!sci!johnp
From: johnp@sci.UUCP (John Pew)
Newsgroups: net.text
Subject: Re: 4 columns in troff?
Message-ID: <148@sci.UUCP>
Date: Fri, 14-Feb-86 12:34:22 EST
Article-I.D.: sci.148
Posted: Fri Feb 14 12:34:22 1986
Date-Received: Sun, 16-Feb-86 09:01:56 EST
References: <795@tellab1.UUCP>
Organization: Silicon Compilers, Inc., San Jose, CA
Lines: 23
Summary: 4 columns can be created with the .MC macro in -ms