Eqn

From Wikipedia, the free encyclopedia

Part of the troff suite of Unix document layout tools, eqn is a preprocessor that formats equations for printing. A similar program, neqn, accepted the same input as eqn, but produced output tuned to look better in nroff. eqn was created by Brian Kernighan and Lorinda Cherry.

The input language used by eqn allowed you to write math in much the same way you would speak it, and is very similar to the language used by TeX. For example, here's how some of the examples from [1] would be written in eqn:

TeX eqn formula
$a^2$ a sup 2 a2
$\sum_{k=1}^N k^2$ sum from { k = 1 } to N { k sup 2 } \sum_{k=1}^N k^2

[edit] See also

[edit] External links