home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / FM25.ZIP / fm.tar / cmds.tex next >
Text File  |  1992-05-12  |  7KB  |  179 lines

  1. \hoffset=0em
  2. \centerline{{\it FM} formatting commands.}
  3. \bigskip
  4.  
  5. \centerline{\it Nroff/man~commands with \tt fm~-mu}
  6. \medskip
  7.  
  8. \item{\tt .sp~(n)}    Skip 1 (or n) lines.
  9. \item{\tt \\fI}        Start {\it underlining} of text (termcap "ul").
  10. \item{\tt \\fB}        Start {\bf bold} text (termcap "md").
  11. \item{\tt \\fS}        Start {\tt reversed} text (termcap "mr").
  12. \item{\tt \\fG}        Start {\sl blinking} text (termcap "mb").
  13. \item{\tt \\fR}        End {\it underlining} or other special text
  14.             (termcap "me"/"ue").
  15. \item{\tt \\fP}        Same as {\tt \\fR} (bug).
  16. \item{\tt .nf}        Stop filling lines to maximum width.
  17. \item{\tt .fi}        Resume filling lines to maximum width.
  18. \item{\tt .I~<line>}    Display <line> {\it underlined}.
  19. \item{\tt .B~<line>}    Display <line> in {\bf bold}.
  20. \item{\tt .S~<line>}    Display <line> {\tt reversed}.
  21. \item{\tt .G~<line>}    Display <line> {\sl blinking}.
  22. \item{\tt .SM~<line>}    Display <line> {\tt reversed}.
  23. \item{\tt .R~<line>}    Display <line> plain.
  24. \item{\tt .I}
  25. \item{\tt .ft I}    Display next line {\it underlined}.
  26. \item{\tt .B}
  27. \item{\tt .ft B}    Display next line {\bf bold}.
  28. \item{\tt .R}
  29. \item{\tt .ft R}
  30. \item{\tt .ft}        Display next line plain.
  31. \item{\tt .CT~<char>}    Display <char> reversed or "<CTRL/<char>>"
  32.             in case neither -u or -o was given.
  33. \item{\tt \\*(lq}    Display "`".
  34. \item{\tt \\*(rq}    Display "'".
  35. \item{\tt \\(*<char>}    Display <char> reversed.
  36. \item{\tt \\(<char><char>}
  37.             Display <char><char> reversed.
  38. \item{\tt \\s(-)<digit>}
  39.             Ignored.
  40. \item{\tt \\| \\\^ \\\& \\! \\\{ \\\} \\a \\c \\d \\e \\p \\r \\t \\u \\z}
  41.             Ignored.
  42. \item{\tt \\}        Display following character (except as above).
  43. \item{\tt .br}        Terminate preceding paragraph.
  44. \item{\tt .hy~<digit>}  Turn hyphenation off with 0 or on with 1-9.
  45.             (See fm.1 for the differences among levels 1-9.)
  46. \item{\tt .PP}        Terminate preceding paragraph.
  47. \item{\tt .P}        Terminate preceding paragraph.
  48. \item{\tt .LP}        Terminate preceding paragraph.
  49. \item{\tt .TP~(n)}    Begin hanging paragraph with 5 (or n) extra
  50.             spaces of indentation at left, with first
  51.             following line in left margin.
  52. \item{\tt .IP~<word>~(0.3i)~...}
  53.             Begin hanging paragraph with 5 extra
  54.             spaces of indentation at left, with <word> ...
  55.             in left margin.
  56. \item{\tt .HP~(n)}    Begin hanging paragraph with 5 extra
  57.             spaces of indentation at left.
  58. \item{\tt .RS}        Indent 5 extra spaces until {\tt .RE}.
  59. \item{\tt .RE}        Resume normal indent after {\tt .RS}.
  60. \item{\tt .DS}        Skip a line; preserve lines and spacing;
  61.             indent 5 extra spaces until {\tt .DE}.
  62. \item{\tt .DE}        Resume filling and normal indent after {\tt .DS}.
  63. \item{\tt .EX}        Skip a line; preserve lines and spacing;
  64.             indent 5 extra spaces until {\tt .EE}.
  65. \item{\tt .EE}        Skip a line; resume filling and normal indent
  66.             after {\tt .EX}.
  67. \item{\tt .VS~<line>}    Ignored.
  68. \item{\tt .VE~<line>}    Ignored.
  69. \item{\tt .NT~(<line>)}    Skip a line, indent 5 extra spaces, shorten
  70.             line length by 5, display {\bf NOTE} bold and
  71.             centered (or <line>), continue until {\tt .NE}.
  72. \item{\tt .NE}        Resume normal indent and line length after
  73.             {\tt .NT}.
  74. \item{\tt .IR~<words>}    Join words alternating {\it underlined} and plain.
  75. \item{\tt .BR~<words>}    Join words alternating {\bf bold} and plain.
  76. \item{\tt .RI~<words>}    Join words alternating plain and {\it underlined}.
  77. \item{\tt .BI~<words>}    Join words alternating {\bf bold} and {\it underlined}.
  78. \item{\tt .RB~<words>}    Join words alternating plain and {\bf bold}.
  79. \item{\tt .IB~<words>}    Join words alternating {\it underlined} and {\bf bold}.
  80. \item{\tt .SH~<line>}    Skip a line, and display <line> left adjusted
  81.             and {\bf bold}.
  82. \item{\tt .SS~<line>}    Skip a line, and display <line> {\bf bold}.
  83. \item{\tt .TH~<name>~<n>~(<text>)}
  84.             Right adjust {\bf <name>(<n>)} (followed by <text>).
  85. \item{\tt .UC~(<digit>)}
  86.             Ignored.
  87. \item{\tt .\\"~<line>}    Ignore <line>.
  88. \item{\tt .PN~<line>}    Underline <line>.
  89. \item{\tt .ta~<line>}    Ignore <line>.
  90. \item{\tt .PD~<line>}    Ignore <line>.
  91. \item{\tt .NX<cap>~<line>}
  92.             Ignore <line>.
  93. \item{\tt .DT}        Ignored.
  94. \item{\tt .ti~+n~<line>}
  95.             n extra spaces of indentation at left of <line>.
  96. \item{\tt .MS~<word>~<n>}
  97.             Display {\it <word>(<n>)}.
  98. \item{\tt .if~n~<line>}    Process line.
  99. \item{\tt .if~t~<line>} Do not process line.
  100. \item{\tt .de~<line>}    Ignore line and next 1-4 lines until after a line
  101.             starts with {\tt ..}.  (I.e. ignore nroff macro
  102.             definition.)
  103.  
  104. \bigskip
  105. \centerline{\it \TeX ~commands with \tt fm~-xu}
  106. \medskip
  107.  
  108. \item{\tt \\hsize=<n>em}
  109.             Assign maximum line width (1 em is
  110.             one character width).  Default is 72 or the
  111.             value after {\tt -} on the command line.
  112. \item{\tt \\hoffset=<n>em}
  113.             Assign horizontal offset (default is 4 or
  114.             the value after {\tt -p} on the command line).
  115. \item{\tt \\leftskip=<n>em}
  116.             Leave n extra blanks to the left of each
  117.             following line.  The effect is global, not local to
  118.             a group.
  119. \item{\tt \\rightskip=<n>em}
  120.             Leave n extra blanks to the right of each
  121.             following line.  The effect is global, not local to
  122.             a group.
  123. \item{\tt \\break}    Start new line.
  124. \item{\tt \\par}    Start new paragraph.
  125. \item{\tt \\parindent=<n>em}
  126.             Assign paragraph indentation (default is
  127.             5).  A negative value for hanging indent
  128.             is accepted, but the sum with hoffset should
  129.             not be negative.
  130. \item{\tt \\parskip=<n>pt}
  131.             Assign vertical skip made before each
  132.             paragraph (default is 0).  The value given
  133.             is rounded to the nearest number of whole
  134.             lines, reckoning 12 points as the height of
  135.             one line.  The effect is not local to a group.
  136. \item{\tt \\noindent}    Don't indent this paragraph.
  137. \item{\tt \\bigskip}    Skip a line.
  138. \item{\tt \\medskip}    Skip a line.
  139. \item{\tt \\smallskip}    Skip a line.
  140. \item{\tt \\\$ \\\# \\\{ \\\} \\\& \\\% \\^ \\_ \\\~ \\' \\" \\\\}
  141.             Display character following \\.
  142. \item{\tt\\backslash}    Display \backslash.
  143. \item{\tt \\it}        Begin {\it underlining} (termcap "ul").
  144. \item{\tt \\sl}        Begin {\sl blinking} (termcap "mb").
  145. \item{\tt \\bf}        Begin {\bf bold} (termcap "md").
  146. \item{\tt \\rm}        Begin plain.
  147. \item{\tt \\tt}        Begin {\tt reverse} (termcap "mr").
  148. \item{\tt \\TeX}    Display \TeX.
  149. \item{\tt \\centerline~\{<line>\}}
  150.             Display <line> centered.
  151. \item{\tt\\beginsection~<line>}
  152.             Skip a line, display <line> in bold.
  153. \item{\tt \\rightline~\{<line>\}}
  154.             Display <line> right adjusted.
  155. \item{\tt \\raggedright}
  156.             Stop justifying (for current \{...\} group).
  157. \item{\tt \\obeylines}    Don't join or split input lines
  158.             (for current \{...\} group).
  159. \item{\tt \\obeyspaces} Preserve spacing in input text
  160.             (for current \{...\} group).
  161. \item{\tt \\item\{...\}}
  162.             Start hanging paragraph with 10 extra
  163.             spaces of left indentation and ... displayed in
  164.             left margin and indented 5.
  165. \item{\tt \\itemitem\{...\}}
  166.             Same as {\tt \\item}.
  167. \item{\tt \\<space-character>}
  168.             Break between words.
  169. \item{\tt \~}        Space that does not break between words and
  170.             is displayed with current display attribute.
  171. \item{\tt \$}
  172. \item{\tt \#}        Ignored.
  173. \item{\tt \\bye}
  174. \item{\tt \\end}    Terminate processing input file(s).
  175.  
  176. \bigskip
  177. \rightline{Greg Lee, May, 1992}
  178. \bye
  179.