is particularly good for producing mathematical formulas,
using the math environment which is delimited by $
characters. Space limits all but a few basic examples.
This example of an inline formula was produced by
the following fragment of
:
This example of an inline formula: $\sqrt{x+y}$ was produced by the following ...While a formula displayed on a separate line, such as
While a formula displayed on a separate line, such as \[ \sqrt{x+y} \] is achieved by the following ...The displaymath environment has the same effect as the \[...\] delimiters. Numbered equations are produced by the equation environment
Formulas which are too long to fit on a single line are handled by the
eqnarray environment. See the manual for more details.