Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ neqn(CT) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

eqn(CT)

checkeq(CT)

troff(CT)

tbl(CT)



     NEQN(CT)                 XENIX System V                  NEQN(CT)



     Name
          neqn -  Formats mathematics.

     Syntax
          neqn [ -dxy ] [ -fn ] [ file ] ...
          checkeq [ file ] ...

     Description
          neqn is an nroff(CT) preprocessor for formatting mathematics
          on terminals and for printers; eqn(CT) is its counterpart
          for typesetting with troff(CT).  Usage is almost always:

               neqn file ... | nroff

          If no files are specified, these programs read from the
          standard input.  A line beginning with .EQ marks the start
          of an equation; the end of an equation is marked by a line
          beginning with .EN.  Neither of these lines is altered, so
          they may be defined in macro packages to get centering,
          numbering, etc.  It is also possible to set two characters
          as ``delimiters''; subsequent text between delimiters is
          also treated as neqn input.  Delimiters may be set to
          characters x and y with the command-line argument -dxy or
          (more commonly) with ``delim xy'' between .EQ and .EN.  The
          left and right delimiters may be identical.  Delimiters are
          turned off by `delim off'.  All text that is neither between
          delimiters nor between .EQ and .EN is passed through
          untouched.  Fonts can be changed globally in a document with
          gfont n, or with the command-line argument -fn.

          The program checkeq reports missing or unbalanced delimiters
          and .EQ/.EN pairs.

          Tokens within neqn are separated by spaces, tabs, newlines,
          braces, double quotation marks, tildes or carets.  Braces {}
          are used for grouping; generally speaking, anywhere a single
          character like x could appear, a complicated construction
          enclosed in braces may be used instead.  Tilde (~)
          represents a full space in the output, caret (^) half as
          much.

     See Also
          eqn(CT), checkeq(CT), troff(CT), tbl(CT)

     Notes
          To embolden digits, parentheses, etc., it is necessary to
          quote them, as in `bold ``12.3'''.








     Page 1                                           (printed 8/7/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026