632 |
<hr width="66%" align="left"> |
<hr width="66%" align="left"> |
633 |
<a name="PAD"><h3><u>Insert space into lines</u></h3></a> |
<a name="PAD"><h3><u>Insert space into lines</u></h3></a> |
634 |
<br> |
<br> |
635 |
Macro: <strong>PAD</strong> <var>"<string with pad markers inserted>"</var> |
Macro: <strong>PAD</strong> <var>"<string with pad markers inserted>" [NOBREAK]</var> |
636 |
|
|
637 |
<p> |
<p> |
638 |
With <strong>PAD</strong>, you can insert unspecified amounts of |
With <strong>PAD</strong>, you can insert unspecified amounts of |
639 |
whitespace into a line. |
whitespace into a line. The optional <strong>NOBREAK</strong> |
640 |
|
argument tells <strong>mom</strong> not to advance on the page |
641 |
|
after the <strong>PAD</strong> macro has been invoked. |
642 |
<p> |
<p> |
643 |
<strong>PAD</strong> calculates the difference between the length of |
<strong>PAD</strong> calculates the difference between the length of |
644 |
text on the line and the distance remaining to its end, then inserts |
text on the line and the distance remaining to its end, then inserts |
690 |
<a href="inlines.html#INLINE_LINEDRAWING_GROFF">\l</a> |
<a href="inlines.html#INLINE_LINEDRAWING_GROFF">\l</a> |
691 |
could be used.) |
could be used.) |
692 |
<p> |
<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> |
|
693 |
<pre> |
<pre> |
694 |
.LL 30P |
.LL 30P |
695 |
.PAD "Date \*[ST1]#\*[ST1X] Signature \*[ST2]###\*[ST2X]" |
.PAD "Date \*[ST1]#\*[ST1X] Signature \*[ST2]###\*[ST2X]" NOBREAK |
|
.EL |
|
696 |
.ST 1 J |
.ST 1 J |
697 |
.ST 2 J |
.ST 2 J |
698 |
.TAB 1 |
.TAB 1 |