Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ eqn(CT) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     EQN(CT)                  XENIX System V                   EQN(CT)



     Name
          eqn, neqn, checkeq, eqncheck - Formats mathematical text for
          nroff, troff.

     Syntax
          eqn [ -dxy ] [ -pn ] [ -sn ] [ -ffont ] [ file ... ]

          neqn [ -dxy ] [ -pn ] [ -sn ] [ -ffont ] [ file ... ]

          checkeq [ files ]

          eqncheck [ files ]

     Description
          eqn is a troff(CT) preprocessor for typesetting mathematical
          text on a phototypesetter.  neqn is used with nroff(CT) for
          setting mathematical text on typewriter-like terminals.
          Usage is normally one of the following or its equivalent:

               eqn files | troff
               neqn files | nroff

          If no files are specified, these programs read from the
          standard input.

          The options are:

          -sn     Reduces subscripts and superscripts n points from
                  the previous size; the default reduction is 3
                  points.

          -dxy    Sets eqn delimiters to characters x and y.

          -pn     Changes the point size within eqn delimiters to n.

          -ffont  Changes the font within eqn delimiters to font.

          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 for centering, numbering, etc.  It
          is also possible to designate two characters as delimiters;
          subsequent text between delimiters is then treated as eqn
          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
          the same character; the dollar sign is often used as such a
          delimiter.  Delimiters are turned off by delim off.  All
          text that is neither between delimiters nor between .EQ and
          .EN is passed through untouched.

          The programs checkeq and eqncheck report missing or



     Page 1                                           (printed 8/7/87)





     EQN(CT)                  XENIX System V                   EQN(CT)



          unbalanced delimiters and .EQ/.EN pairs.

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

          Subscripts and superscripts are produced with the keywords
          sub and sup.  Thus x sub j makes:

               xj

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