4 Inserting an Environment

Now let us type in a simple formula in LaTeX. Move back to the body of the document (The portion of the document between \begin{document} and \end{document} is called the body). Type in a few simple sentences and then on an empty line, type the single word equation. Escape to normal mode and press <F5>. (Remember: <F5> is very useful!) This time, the line will change to:

\begin{equation}
	<+content+>
	\label{<+label+>}
\end{equation}<++>

with the cursor on the <+content+>.