FMT/COMMANDS -- Summary of FMT formatting directives. 83/09/01
Input consists of text lines and FMT formatting directives ("request lines").
Request lines tell the program how to format the text lines. Request lines
begin with a special control character, normally a period.
REQUEST LINE SUMMARY CHART
Request Initial Default Break Meaning
.# no Ignore this line. Precede comment
lines with this symbol.
.bd n n=1 no Boldface the next n lines
.bp n n=1 n=n+1 yes Begin new page and number it n
.br yes Break
.cc c c=. c=. no Control character becomes c
.ce n n=1 yes Center the next n input lines
.cu n n=1 no Continuously underline next n input lines
.de xx no Command xx; ends at .EN
.ef t t="" t="" no Foots on even pages are t
.eh t t="" t="" no Heads on even pages are t
.en no Terminate command definition
.fi yes yes Begin filling output lines
.fo /l/c/r t="" t="" no Foot titles are l(eft), c(enter), r(ight)
.he /l/c/r t="" t="" no Head title is l(eft), c(enter), r(ight)
.in n n=0 n=0 yes Set left margin to column n+1
.ju yes yes no Begin justifying filled lines
.ls n n=1 n=1 no Set line spacing to n
.m1 n n=3 n=3 no Space between top of page and head
.m2 n n=2 n=2 no Space between head and text
.m3 n n=2 n=2 no Space between text and foot
.m4 n n=3 n=3 no Space between foot and bottom
.ne n n=0 y/n Need n lines; break if new page
.nf no yes Stop filling
.nj no no Stop justifying
.nr x m m=0 m=0 no Set number register x to m,
-m, +m for decrement, increment
.of t t="" t="" no Foots on odd pages are t
.oh t t="" t="" no Heads on odd pages are t
.pl n n=66 n=66 no Set page length to n lines
.po n n=0 n=0 no Set page offset to n spaces
.rc c no Tab replacement character is c
.rm n n=65 n=65 no Set right margin to column n
.sc c c=# c=# no Change fixed space character to c
.so file no Switch input to file
.sp n n=1 yes Space n lines, except at top of page
.st n n=0 yes Space to line n from top; -n spaces to line
n from bottom
.ta n1 n2 ... no Set tab stops at columns n1, n2, ...
.tc c no Tab character is c
.ti n n=0 yes Temporarily indent next output line n spaces
.ul n n=1 no Underline words in the next n input lines
IN-LINE FLAGS
{_c_} no Underline characters enclosed in braces
{!c!} no Boldface characters enclosed in braces
@nc no Replace with value in number register 'c'.
KEY
n denotes numerical values
t denotes titles
c denotes single characters
Signed numbers signify relative changes to a quantity; unsigned numbers
signify absolute settings. Unless otherwise noted, omitted n fields set
the value to 1, omitted t fields are empty, and omitted c fields restore
the default character.