[net.text] Problems with .DS - .DE - Answer

wcs@ho95b.UUCP (Bill Stewart) (11/29/84)

A user whose name I've lost posted this problem:
> When I use a .DS - .DE sequence, the following text gets
> messed up.  The text becomes single spaced and footnotes
> get printed one word per line.

The messed-up footnotes are new to me.

However, the single-spacing is an old, well-fixed problem.

NEVER USE THE NROFF COMMAND .ls 2 WITH THE MM MACRO PACKAGE!!!
	(-> Assumes System III or System V or UNIX 5.***)
The clean way to double-space your output is to use the .S macro.
It's well described in the mm documentation, but the basic
syntax is 

	.S  point-size  vertical-spacing

Where point-size and vertical spacing can be numbers (in points), or
can be 
	P	Use previous value
	C	Use current value
	D	Use default value

The default is usually .S 10 12 - to double-space, use

	.S C 24

which will work whether you're in nroff or troff.  .S C 18 gives
1-and-a-half space, which is nice on some printers.

Unfortunately, in System II and System V Release 1, the -rC4 and -rC3
command line arguments (for drafts) use the .ls 2 instead of the
.S macro, so they mess up after the first .DS - .DE.  This is a
well-known bug, and they've promised to fix it.

			Bill Stewart, AT&T Bell Labs, Holmdel NJ.
-- 
			Bill Stewart
			AT&T Bell Labs, Holmdel NJ 1-201-949-0705
			...!ihnp4!ho95b!wcs