diff options
Diffstat (limited to 'contrib/mom/momdoc/goodies.html')
-rw-r--r-- | contrib/mom/momdoc/goodies.html | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/contrib/mom/momdoc/goodies.html b/contrib/mom/momdoc/goodies.html index fde67a42..af6d2002 100644 --- a/contrib/mom/momdoc/goodies.html +++ b/contrib/mom/momdoc/goodies.html @@ -632,11 +632,13 @@ produces the same result as <hr width="66%" align="left"> <a name="PAD"><h3><u>Insert space into lines</u></h3></a> <br> -Macro: <strong>PAD</strong> <var>"<string with pad markers inserted>"</var> +Macro: <strong>PAD</strong> <var>"<string with pad markers inserted>" [NOBREAK]</var> <p> With <strong>PAD</strong>, you can insert unspecified amounts of -whitespace into a line. +whitespace into a line. The optional <strong>NOBREAK</strong> +argument tells <strong>mom</strong> not to advance on the page +after the <strong>PAD</strong> macro has been invoked. <p> <strong>PAD</strong> calculates the difference between the length of text on the line and the distance remaining to its end, then inserts @@ -688,21 +690,9 @@ groff's line drawing function, <a href="inlines.html#INLINE_LINEDRAWING_GROFF">\l</a> could be used.) <p> -Please note that the use of <kbd>.EL</kbd> after <kbd>.PAD</kbd> -in this example assumes that either -<a href="typesetting.html#QUAD">QUAD L | R | C | J</a> -or -<a href="typesetting.html#JUSTIFY">JUSTIFY</a> -are in effect. <strong>EL</strong> does not work after -<strong>PAD</strong> in -<a href="definitions.html#TERMS_NOFILL">nofill</a> -modes (i.e. -<a href="typesetting.html#LRC">.LEFT, .RIGHT or .CENTER</a>). -<p> <pre> .LL 30P - .PAD "Date \*[ST1]#\*[ST1X] Signature \*[ST2]###\*[ST2X]" - .EL + .PAD "Date \*[ST1]#\*[ST1X] Signature \*[ST2]###\*[ST2X]" NOBREAK .ST 1 J .ST 2 J .TAB 1 |