INTRODUCTION
The standard UNIX text formatter, troff, and its related
programs are available on many Campus Network systems.
These programs are tools for producing typeset quality documents. For the specific troff commands to use within your
document, you will need to consult a complete troff reference manual. Many books on the subject of
UNIX
textprocessing software (nroff and troff) are available at the Boston
University bookstore.
The most recent and most powerful troff program is known as ditroff, device independent troff. Ditroff, and associated device independant preprocessors (dtbl, deqn, and dpic) are available on some Campus Network systems. Ask your system administrator about availability.
INDEX OF COMMAND NAMES:
NAME PURPOSE:
nroff screen display of troff
document
troff basic troff processor
psroff process troff for Postscript
printers
tbl make tables
eqn make equations
pic make pictures
deroff strip troff commands from a
document
roffbib produce bibliographies
SAMPLE COMMAND FORMATS:
Print a troff document using the ms macro package. (the
macros are named after the nroff/troff options that invoke
them: -ms, -mm, and -me packages)
% psroff -ms filename
Print a troff document using the ms macro package, adding
equations.
% eqn filename | psroff -ms
Print a troff document using the ms macro package, adding
equations and tables.
% tbl filename | eqn | psroff -ms
Print a troff document using the ms macro package, adding
equations, tables, and pictures.
% pic filename | tbl | eqn | psroff -ms
REFERENCES
See the online manual pages for complete details on using
these commands.