This appendix is divided into ten subsections, each covering a different facet of the nroff
/troff
formatting system. These sections are:
nrof
/troff
command-line syntaxnroff
/troff
requestsms
macro packagemm
macro packagetbl
preprocessoreqn
preprocessorpic
preprocessorIn the following sections, italics are used for values that you supply. Optional arguments to requests or macros are enclosed in brackets.
nroff/troff
Command-Line Syntax ▪nroff
[options] [files]
-c name |
Prepend /usr/lib/macros/cmp.n. [dt] .name to files (old versions of nroff only). |
-e |
Space words equally on the line instead of in full multiples of the space character. |
-h |
Use tabs in large spaces. |
-i |
Read standard input after files are processed. |
-k name |
Compact macros and output to [dt] .name (old versions of nroff only). |
-m name |
Prepend /usr/lib/tmac/tmac .name to files. |
-n n |
Number first page n. |
-o list |
Print only pages contained in list. Individual pages in list should be separated by commas; a page range is specified by n–m; n–indicates from page n to the end. |
-q |
Invoke simultaneous input/output of .rd requests. |
-r an |
Set register a to n. |
-s n |
Stop every n pages. |
-T name |
Output is for device type name. Values are shown in Table B-l. (Check your manual for other devices, especially those supported by the mm command.) |
-u n |
Embolden characters by overstriking n times. |
- z |
Throw away output except messages from .tm request. |
troff
Optionstroff
[options] [files]
-a |
Send printable ASCII approximation to standard output. otroff sends its output directly to a connected typesetter unless the -t or -a option is specified, in which case it is sent to standard output, ditroff always writes to standard output. |
-b |
Report phototypesetter status (otroff only). |
-c name |
Prepend /usr/lib/raacros/cmp . t. [dt] .name to files (otroff only). |
-f |
Do not stop the phototypesetter when the formatting run is done (otroff only). |
-F dir |
Format output for device name using the font tables in directory dir instead of /usr/lib/font (ditroff only). |
-i |
Read standard input after files. |
-k name |
Compact macros and output to [dt] .name (otroff only). |
-m name |
Prepend /usr/lib/tmac/tmac
.name to files. |
-n n |
Number first page n. |
-o list |
Print only pages contained in list. Individual pages in list should be separated by commas. A page range is specified by n–m; n–indicates from page n to the end. |
-p n |
Print all characters in point size n, but retain motions for sizes specified in document (otroff only). |
-q |
Do not echo . rd requests. |
-r an |
Assign value n to register a. |
-s n |
Stop every n pages. |
-t | Send output to standard output instead of directly to the phototypesetter (otroff only). |
-T name |
Format output for device name using the device description and font width tables in /usr/lib/font/dev name (ditroff only). |
-w |
If the phototypesetter is busy, wait until it is free (otroff only). |
nroff/troff
Requests ▪
|
To prevent or delay the interpretation of . |
e |
Printable version of the current escape character. |
' |
' (acute accent); equivalent to (aa . |
' |
' (grave accent); equivalent to (ga . |
- |
– Minus sign in the current font. |
. |
Period (dot). (See de.) |
(space) |
Unpaddable space-size space character. |
|