EQN, NEQN, CHECKEQ(1,C) AIX Commands Reference EQN, NEQN, CHECKEQ(1,C) ------------------------------------------------------------------------------- eqn, neqn, checkeq PURPOSE Formats mathematical text for the nroff and troff commands. SYNTAX one of +------+ +-------------------+ +--------+ | eqn |---| +---------------+ |---| |---| | neqn | +-| -dxy -pnum |-+ +- file -+ +------+ ^| -ssize -ffont || ^ | |+---------------+| +------+ +-----------------+ +--------+ checkeq ---| |---| +- file -+ ^ | +------+ DESCRIPTION The eqn command is a troff command preprocessor for typesetting mathematical text on a photo typesetter. The neqn command is used with nroff for other printing devices. The output of the eqn and neqn command is generally piped into the troff and nroff command 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; a line consisting of .EN marks the end of equation text. Neither of these lines is altered by the commands, 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 in the AIX Text Formatting 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 Processed November 8, 1990 EQN, NEQN, CHECKEQ(1,C) 1 EQN, NEQN, CHECKEQ(1,C) AIX Commands Reference EQN, NEQN, CHECKEQ(1,C) 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 the eqn command, in addition to the .EQ and .EN macros. The text between these delimiters will be treated as input to the eqn command. Note: Within a file, you can also set delimiters for eqn command text by using the command delim xy. The delimiters 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 discussion 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 text processed by the eqn command to size. See the discussion of gsize and size in the AIX Text Formatting Guide for information on changing the point size within the text. RELATED INFORMATION See the following commands: "cw, checkcw," "mm, checkmm," "mmt, mant, mvt," and "nroff, troff." See the eqnchar and mv miscellaneous facilities in AIX Operating System Technical Reference. See the discussion of eqn in the AIX Text Formatting Guide. Processed November 8, 1990 EQN, NEQN, CHECKEQ(1,C) 2