To print a document that contains mathematics on
eqn files | troff
If there are any TROFF options, they go after the TROFF part of the command. For example, eqn files | troff -ms
To run the same document on the GCOS typesetter, use eqn files | troff -g (other options) | gcat
A compatible version of
can be used on devices like teletypes and
which have half-line forward and reverse capabilities.
equations on a Model 37 teletype, for example, use
neqn files | nroff
The language for equations recognized by NEQN is identical to that of EQN, although of course the output is more restricted.
To use a
terminal as the output device,
neqn files | nroff -Tx
where x is the terminal type you are using, such as 300 or 300S.
can be used with the
for setting tables that contain mathematics.
tbl files | eqn | troff
tbl files | neqn | nroff