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 eqnarray. Escape to normal mode and press <F5>. (Remember: <F5> is very useful!) This time, the line will change to:


with the cursor between the {}. Enter a label. We will use eqn:euler. After typing in eqn:euler, press <C-j>. This will take you outside the curly-braces. Another time you used a Placeholder!