troff 'Keep' Question

Doug Gwyn gwyn at brl-smoke.ARPA
Sat Dec 6 02:10:21 AEST 1986


In article <106500001 at datacube> dje at datacube.UUCP writes:
>Does  anyone  know  a  trick  for  fooling  troff  into  removing its
>proportional spacing temporarily?

What you need to do is to use a "constant width" font.
Usually this is called "CW", but there are others;
font availability depends on your troff implementation.

'\"	Constant-Width font macros, supplied by Arnold Robbins of Georgia Tech.
.ie t \{ .de CW
.vs 10.5p
.ta 16m/3u 32m/3u 48m/3u 64m/3u 80m/3u 96m/3u
.nf
.ft CW
.cs CW 18
.. \}
.el \{ .de CW
.nf
.. \}
.ie t \{ .de CN
.ta 0.5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i
.vs
.fi
.cs CW
.ft
.. \}
.el \{ .de CN
.fi
.. \}



More information about the Comp.unix.questions mailing list