Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ eqn(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cw, checkcw

mm, checkmm

mmt, checkmm

nroff,

troff

eqnchar

mv

eqn, neqn, checkeq

PURPOSE

     Formats mathematical text for  the nroff, troff and troff
     commands.

SYNOPSIS
     eqn [ -dxy ] [ -pn ] [ -sn ] [ -fn ] [ -Tname ] [ files ]

     checkeq [ files ]


DESCRIPTION

     The eqn  command is a troff  preprocessor for typesetting
     mathematical text on a phototypesetter.  The neqn command
     is  used  with nroff  for  other  printing devices.   The
     output of eqn and neqn  is generally piped into troff and
     nroff as follows:

       eqn file | troff
       neqn file | nroff

     If you  do not specify any  files or if you  specify - as
     the last file name, the  commands read standard input.  A
     line consisting of .EQ marks  the start of equation text;
     the end of  equation text is marked by  a line consisting
     of .EN.   Neither of these  lines is altered by  the com-
     mands, so they  can be defined in macro  packages to give
     you centering and numbering.  The program checkeq reports
     missing or unbalanced delimiter  pairs and .EQ/.EN pairs.
     For information on how to  format eqn text, see Text For-
     matting Guide.

     The  eqn command  recognizes  the following  mathematical
     words, and prints the associated symbol:

                    above      dotdot     italic     rcol       to
                    back       down       lcol       right      under
                    bar        dyad       left       roman      up
                    bold       fat        lineup     rpile      vec
                    ccol       font       lpile      rpile      ~
                    col        from       mark       size       ^
                    cpile      fwd        matrix     sub        {}
                    define     gfont      ndefine    sup        " . . . "
                    delim      gsize      over       tdefine
                    dot        hat        pile       tilde

FLAGS

     -dxy      Sets x and y as one character delimiters of the
               text to be processed by eqn, in addition to the
               .EQ  and .EN  macros.  The  text between  these
               delimiters will be treated as input to eqn.

               Note:  Within  a file, you can  also set delim-
               iters for eqn text  using the command delim xy.
               They are  turned off by the  command delim off.
               All text that is  not between delimiters or .EQ
               and .EN is passed through unprocessed.
     -ffont    Acts the  same as -s  for fonts.  See  the dis-
               cussion of  gfont and  font in  Text Formatting
               Guide for  information on changing  font within
               the text.
     -pnum     Reduces subscripts and  superscripts num points
               in size (the default is 3).
     -ssize    Changes point size in all eqn processed text to
               size.  See the discussion  of gsize and size in
               Text  Formatting   Guide  for   information  on
               changing the point size within the text.

RELATED INFORMATION

     The following  commands:  "cw, checkcw,"   "mm, checkmm,"
     "mmt, checkmm,"  "nroff, troff," and "troff."

     The eqnchar and mv  miscellaneous facilities in AIX Oper-
     ating System Technical Reference.

     The discussion of eqn in Text Formatting Guide.

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