/[groff]/groff/contrib/mom/momdoc/goodies.html
ViewVC logotype

Diff of /groff/contrib/mom/momdoc/goodies.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by wl, Wed Sep 29 09:29:38 2004 UTC revision 1.13 by wl, Mon Jan 24 08:23:21 2005 UTC
# Line 632  produces the same result as Line 632  produces the same result as
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>&quot;&lt;string with pad markers inserted&gt;&quot;</var>  Macro: <strong>PAD</strong> <var>&quot;&lt;string with pad markers inserted&gt;&quot; [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
# Line 688  groff's line drawing function, Line 690  groff's line drawing function,
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

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26