Fandom

LaTeX Wiki

LaTeX environment

142pages on
this wiki
Add New Page
Talk0 Share

An "environment" is a region of the document within which certain commands are valid, and certain processing is performed by the TeX processor. An environment begins with the begin command, and ends with the end command. Environments can be nested within one another; the begins and ends must match.

ExampleEdit

This example shows nested environments.

\begin{document}

... document text begins here, in paragraph mode.
\begin{equation}
\begin{split}
... math commands and symbols go here, in math mode
\end{split}
\end{equation}
... document text continues here, once again in paragraph mode
\begin{align}
... math mode again ...
\end{align}

\end{document}

See alsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.