troff 'Keep' Question

Alastair Adamson alastair at axis.UUCP
Mon Dec 8 22:00:48 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?   The  'keep' commands  .DS .DE are
>still proportionally spaced in troff.  
>
>				Dave Erickson

If your printer accepts it, you can use a constant-width font
in which all characters have the same width - this is used typically
when including example of programs since the output looks much
more like that which would be produced on a line-printer. The command
	.ft CW
changes to this font, if it is mounted.
Alternatively, the request .cs can be used to set a constant
character width, where you specify yourself the width to be used.



More information about the Comp.unix.questions mailing list