EQN(1) DOMAIN/IX SYS5 EQN(1)
NAME
eqn, neqn, checkeq - format mathematical text for nroff or
troff
USAGE
eqn [ -dxy ] [ -pn ] [ -sn ] [ -fn ] [ files ]
neqn [ -dxy ] [ -pn ] [ -sn ] [ -fn ] [ files ]
checkeq [ files ]
DESCRIPTION
Eqn is a troff(1) preprocessor for typesetting mathematical
text on a phototypesetter. Neqn is used for the same purpose
with nroff(1) on typewriter-like terminals. These commands
are normally used in this or a similar manner:
eqn files | troff
neqn files | nroff
If no files are specified, eqn and neqn read from the stan-
dard input. A line beginning with .EQ marks the start of an
equation; a line beginning with .EN marks the end of an
equation. Neither of these lines is altered, so they may be
defined in macro packages to get centering, numbering, etc.
It is also possible to designate two characters as delim-
iters . Subsequent text between delimiters is then treated
as eqn input. The left and right delimiters may be the same
character; the dollar sign is often used as such a delim-
iter. Delimiters are turned off by delim off. All text
that is not between delimiters or between .EQ and .EN passes
through untouched.
Checkeq reports missing or unbalanced delimiters and .EQ/.EN
pairs.
Tokens within eqn are separated by spaces, tabs, newlines,
braces, double quotes, tildes, and carets. Braces ({}) are
used for grouping. Generally speaking, anywhere a single
character such as x can appear, a complicated construction
enclosed in braces may be used instead. A tilde (~)
represents a full space in the output, a caret (^) half as
much.
DOMAIN/IX supports the UNIX System III version of eqn, neqn,
and checkeq.
Printed 12/4/86 EQN-1
EQN(1) DOMAIN/IX SYS5 EQN(1)
OPTIONS
-dxy Set delimiters to characters x and y. More com-
monly done with delim xy between .EQ and .EN.
-pn Change the normal reduction of three points from
the previous size of subscripts and superscripts
to the value of n.
-sn Change point size to the value of n.
-fn. Change font to the value of n.
Keywords such as sum (Σ), int (∫), inf (oo), and shorthands
such as >= (>), != (≠), and -> (->) are recognized. Greek
letters are spelled out in the desired case, as in alpha
(Α), or GAMMA (Γ). Mathematical words such as sin, cos, and
log are made roman automatically. Troff(1) four-character
escapes such as \(dd (‡) may be used anywhere. Strings
enclosed in double quotes (``...'') are passed through
untouched. This permits keywords to be entered as text, and
can be used to communicate with troff when all else fails.
For full details, see the DOMAIN/IX Text Processing Guide.
RELATED INFORMATION
mm(1)
mmt(1)
tbl(1)
troff(1)
DOMAIN/IX Text Processing Guide
EQN-2 Printed 12/4/86