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

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

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

revision 1.13 by wl, Fri Oct 15 06:10:25 2004 UTC revision 1.14 by wl, Mon Jan 24 08:23:21 2005 UTC
# Line 903  then later reset it to 12 with Line 903  then later reset it to 12 with
903  The size of type can also be changed inline.  See  The size of type can also be changed inline.  See
904  <a href="inlines.html#INLINE_SIZE_MOM">Inline Escapes, changing point size</a>.  <a href="inlines.html#INLINE_SIZE_MOM">Inline Escapes, changing point size</a>.
905  <p>  <p>
906    <strong>NOTE:</strong> It is unfortunate that the <kbd>pic</kbd>
907    pre-processor uses <strong>PS</strong>, and thus
908    <strong>mom</strong>'s macro for setting point sizes can't use it.
909    However, if you aren't using <kbd>pic</kbd>, you might want to
910    alias <strong>PT_SIZE</strong> as <strong>PS</strong>, since
911    there'd be no conflict.
912    <p>
913    <pre>
914            .ALIAS PS PT_SIZE
915    </pre>
916    
917    would allow you to set point sizes with <kbd>.PS</kbd>.
918    <p>
919    
920  <!---LS--->  <!---LS--->
921    
# Line 1304  escape.  See Line 1317  escape.  See
1317  <a href="#EL_NOTES">NOTES</a>,  <a href="#EL_NOTES">NOTES</a>,
1318  below.  below.
1319  <br>  <br>
1320  Furthermore, in nofill modes, EL does not work after the PAD macro.  *If you find remembering whether to put in the <kbd>\c</kbd>
1321    bothersome, you may prefer to use the
1322    <a href="definitions.html#TERMS_INLINES">inline escape</a>
1323    alternative to
1324    <kbd>.EL</kbd>,
1325    <a href="inlines.html#B">\*[B]</a>,
1326    which works consistently regardless of the fill mode.
1327    <br>
1328    *EL does not work after the PAD macro.
1329  See  See
1330  <a href="#EL_EXCEPTION">Exception</a>  <a href="goodies.html#PAD">PAD</a>
1331  for a workaround</em>.  for the way around this</em>.
1332  <p>  <p>
1333  The mnemonic "EL" is borrowed from old Compugraphic typesetting  The mnemonic "EL" is borrowed from old Compugraphic typesetting
1334  systems, where it stood for "End Line."  Conceptually,  systems, where it stood for "End Line."  Conceptually,
# Line 1323  taken.) Line 1344  taken.)
1344    
1345  <p>  <p>
1346  <strong>EL</strong>'s function is simple: it breaks a line without  <strong>EL</strong>'s function is simple: it breaks a line without
1347  advancing on the page.  As an example of where you might use it,  advancing on the page.
1348    <a name="EL_EXAMPLE">As</a>
1349    an example of where you might use it,
1350  imagine that you're working from marked-up copy.  The markup  imagine that you're working from marked-up copy.  The markup
1351  indicates 24 points of space between two given lines, but the  indicates 24 points of space between two given lines, but the
1352  prevailing line spacing is 12.5 points.  You may find it more  prevailing line spacing is 12.5 points.  You may find it more
# Line 1403  If <strong>EL</strong> is used after mos Line 1426  If <strong>EL</strong> is used after mos
1426  <a href="definitions.html#TERMS_PRIMITIVES">primitives</a>  <a href="definitions.html#TERMS_PRIMITIVES">primitives</a>
1427  (see the exception, below), you don't have to worry about this,  (see the exception, below), you don't have to worry about this,
1428  regardless of the fill mode.  Just type <kbd>.EL</kbd>  regardless of the fill mode.  Just type <kbd>.EL</kbd>
1429  <p>  <br>
 <a name="EL_EXCEPTION"></a>  
 <strong>Exception: EL</strong> does not work after the  
 <a href="goodies.html#PAD">PAD</a>  
 macro when you're in a nofill mode.  If you require  
 <strong>EL</strong> functionality after <strong>PAD</strong> while  
 in a nofill mode, you have to perform its function  
 &quot;manually&quot;, e.g.  
 <p>  
 <pre>  
         .CENTER    \" CENTER is a nofill mode  
         .PAD "#\*[ST1]A line of text\*[ST1X]#"  
         \#  
         .TRAP OFF  \" -+  
         .SP -1v    \"  |--> this is a "manual" EL  
         .TRAP      \" -+  
         \#  
         .ST 1 L  
         .TAB 1  
         .ALD 2p  
         \*[RULE]  
         .RLD 2p  
         .TQ  
 </pre>  
 <p>  
1430    
1431  <!---SP--->  <!---SP--->
1432    
# Line 3371  not 6 picas plus the 2 pica indent. Line 3370  not 6 picas plus the 2 pica indent.
3370  Macro: <strong>TN</strong>  Macro: <strong>TN</strong>
3371  <br>  <br>
3372  <em>*In tabs that aren't given the QUAD argument when they're set up  <em>*In tabs that aren't given the QUAD argument when they're set up
3373  with TAB_SET or ST, you must terminate the line preceding TN with  with
3374  the \c inline escape.  See the  <a href="#TAB_SET">TAB_SET</a>
3375    or
3376    <a href="#ST">ST</a>, you must terminate the line preceding
3377    <kbd>TN</kbd> with the \c inline escape.  See the
3378  <a href="#TN_NOTE">ADDITIONAL NOTE</a>,  <a href="#TN_NOTE">ADDITIONAL NOTE</a>,
3379  below.</em>  <br>
3380    *If you find remembering whether to put in the <kbd>\c</kbd>
3381    bothersome, you may prefer to use the
3382    <a href="definitions.html#TERMS_INLINES">inline escape</a>
3383    alternative to
3384    <kbd>.TN</kbd>,
3385    <a href="inlines.html#TB+">\*[TB+]</a>,
3386    which works consistently regardless of the fill mode.</em>
3387    
3388  <p>  <p>
3389  <strong>TN</strong> moves over to the next tab in numeric  <strong>TN</strong> moves over to the next tab in numeric

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

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