Linux and Unix eqn, neqn and checkeq
Quick links
About eqn, neqn and checkeq
Syntax
Examples
Related commands
Linux and Unix main page
The eqn and neqn commands are language processors to assist in describing equations. eqn is a preprocessor for troff and is intended for devices that can print troff 's output. neqn is a preprocessor for nroff and is intended for use with terminals.
eqn [ -d xy ] [ -f n ] [ -p n ] [ -s n ] [ file ]
neqn [ file ]
checkeq [file]
| -dxy | Set equation delimiters set to characters x and y with the command-line argument. The more common way to do this is with delim xy between .EQ and .EN. The left and right delimiters may be identical. Delimiters are turned off by delim off appearing in the text. All text that is neither between delimiters nor between .EQ and .EN is passed through untouched. |
| -fn | Change font to n globally in the document. The font can also be changed globally in the body of the document by using the gfont n directive, where n is the font specification. |
| -pn | Reduce subscripts and superscripts by n point sizes from the previous size. In the absence of the -p option, subscripts and superscripts are reduced by 3 point sizes from the previous size. |
| -sn | Change point size to n globally in the document. The point size can also be changed globally in the body of the document by using the gsize n directive, where n is the point size. |
| file | The nroff or troff file processed by eqn or neqn. |
eqn myfile.txt
Process of a troff file.
