/vim/doc/latex-suite-quickstart/lsq-insert-environment.html

https://bitbucket.org/vertespain/config · HTML · 20 lines · 20 code · 0 blank · 0 comment · 0 complexity · 34fc8a7d56da4dc45666bf1fc1e9a5e6 MD5 · raw file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>4 Inserting an Environment</title><link rel="stylesheet" href="../latex-suite.css" type="text/css"></link><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></meta><link rel="home" href="index.html" title="A (very) quick introduction to Latex-Suite"></link><link rel="up" href="index.html" title="A (very) quick introduction to Latex-Suite"></link><link rel="prev" href="lsq-lsq-inserting-package.html" title="3 Inserting a package"></link><link rel="next" href="lsq-keyboard-shortcuts.html" title="5 A few keyboard shortcuts"></link></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4 Inserting an Environment</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="lsq-lsq-inserting-package.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="lsq-keyboard-shortcuts.html">Next</a></td></tr></table><hr></hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="lsq-insert-environment"></a>4 Inserting an Environment</h2></div></div></div><p>
  3. Now let us type in a simple formula in LaTeX. Move back to the body of
  4. the document (The portion of the document between
  5. <code class="literal">\begin{document}</code> and
  6. <code class="literal">\end{document}</code> is called the body). Type in a few
  7. simple sentences and then on an empty line, type the single word
  8. <code class="literal">eqnarray</code>. Escape to normal mode and press
  9. <code class="literal">&lt;F5&gt;</code>. (Remember:
  10. <code class="literal">&lt;F5&gt;</code> is very useful!) This time, the line will
  11. change to:
  12. </p><pre class="programlisting">\begin{eqnarray}
  13. \label{}&lt;++&gt;
  14. \end{eqnarray}&lt;++&gt;</pre><p>
  15. with the cursor between the <code class="literal">{}</code>. Enter a label. We
  16. will use <code class="literal">eqn:euler</code>. After typing in
  17. <code class="literal">eqn:euler</code>, press <code class="literal">&lt;C-j&gt;</code>. This
  18. will take you outside the curly-braces. Another time you used a
  19. Placeholder!
  20. </p></div><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="lsq-lsq-inserting-package.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="lsq-keyboard-shortcuts.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3 Inserting a package </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 5 A few keyboard shortcuts</td></tr></table></div></body></html>