9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] troff ms .P1 .P2 usage
@ 2011-09-11  5:21 Jeff Sickel
  0 siblings, 0 replies; only message in thread
From: Jeff Sickel @ 2011-09-11  5:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Aha, it took my a little poking at the troff ms macros to realize that .P2 accepts a parameter as defined in the line:

.if \\n(.$=0 .ne \\n(dnu  \" -\\n(DVu


By adding a parameter you can prevent the forced request for vertical space.

.P1
this is some long text
default could force page eject
ignore with zero
.P2 0


This may not be good form, but it does help prevent awkward dead space when adding program listing segments.

-jas




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-11  5:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-11  5:21 [9fans] troff ms .P1 .P2 usage Jeff Sickel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).