PAUSE
ENCORE1
BOTCLEAN
ENCORE5
CLEAN
ENCORE
BOX
ILLUSTRATION
GO
The procedure for inserting an equation in your text is similar to
that for inserting a table.
The macro to indicate the beginning of an equation is:
.EQ
The macro for ending an equation is .EN:
.EN
Since eqn output requires a typesetter, we'll walk you
through the process without showing the final product.
To produce an x with a ^ on top, the command is:
x hat # produces x with a hat
To produce an x with a ~ on top, the command is:
x tilde # produces x with a tilde
To produce an italic x, the command is:
x under # produces italic x
To produce x divided by y, the command is:
x over y # produces x divided by y
To have a square root sign drawn over ax**2 + bx + c, the command is:
sqrt {ax sup 2 + bx + c}
To redefine over from - to / command is:
define / 'over' # redefines over
To produce the matrix: x z the command is:
y
k l
matrix {
ccol { x above y above k }
ccol { z above nothing above l }
}
If the input file is called math, the command for preprocessing
the file with eqn and sending the output through troff is:
Answer here:
That is correct!
You've got it on the 2nd try.
Good! Now you understand the concept!
Sorry, you must pipe the output of eqn to troff
Sorry, the file name is the input for eqn
Please review Preprocessors
FORGET6
The correct answer is eqn math | troff
NOTE, on your system, you may need to send the output of troff to
the col program which is used to take out reverse line feeds:
eqn math | troff | col