🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #677

Re: fixed-pitch spacing in ordinary troff

#677
From: Ken Greer
Date: Sat, 30 Nov 1985 19:01
30 lines
1516 bytes
> Can anybody tell me the magic troff incantation for jimmying a font
> so that its characters come out in a fixed-pitch spacing? I'd like
> to be able to print netnews ".signature" files in troff, and have
> all of the cute graphics come out. I know about the ".cs" command,
> but I don't know what arguments to give it and I don't know how
> to un-do its effect when I am done with the fixed-width stuff.
> 	Brian Reid	decwrl!glacier!reid

The format is
		.cs F [N [Msize]]

	F - Font
	N - Width in 1/36 em units; Turn off if omitted.
	M - Width of an em (optional)

Example:
	.cs R 36   (or ".cs 1 36" for font position 1 if you prefer)

will change to constant pitch with each char a width of your "em",
and,
	.cs R      ( or ".cs 1")
will revert back to normal.

Or, you can also select a constant width font. For example:

	.ft CW		- Constant Width
	.ft P		- back to previous font
-- 
Ken Greer
{amdahl,hplabs}!elan!kg
Technical Details
Message-ID: <2309@elan.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!nsc!amdahl!elan!kg
References: <1834@glacier.ARPA>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site amdahl.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!nsc!amdahl!elan!kg
From: kg@elan.UUCP (Ken Greer)
Newsgroups: net.text
Subject: Re: fixed-pitch spacing in ordinary troff
Message-ID: <2309@elan.UUCP>
Date: Sat, 30-Nov-85 14:01:10 EST
Article-I.D.: elan.2309
Posted: Sat Nov 30 14:01:10 1985
Date-Received: Sun, 1-Dec-85 03:38:58 EST
References: <1834@glacier.ARPA>
Organization: ELAN Computer Group, Los Altos CA
Lines: 30