Hypertext Help with LaTeX
Displaymath
There are four environments that put LaTeX in math mode:
math,
displaymath, eqnarray,
and equation.
The math environment is for formulas that
appear right in the text. The displaymath and equation environments are
for formulas that appear on their own line; they differ only insofar
as the latter prints an equation number. LaTeX will not
break lines in displaymath or equation environments,
but can be told to do so with a \\
command in both the math environment and
within an eqnarray.
The displaymath environment can be entered by
\begin{displaymath}
math equation
\end{displaymath}
Because displaymath may be used frequently to display relatively
short equations, there are convenient alternative forms:
\[ displayed math equation \]
and (still working, but deprecated in LaTeX2ε):
$$ displayed math equation $$
Related topics
Back to the Table of Contents
Last updated: Rolf Jansen & Brian Josephson, Sep 23 2011.