Okay, we have typed enough. At this stage, hopefully, your file is looking something like this:
1 % File: sample.tex 2 % Created: Sun Jun 22 04:00 PM 2003 P 3 % Last Change: Mon Dec 15 07:00 PM 2003 4 % 5 \documentclass[a4paper]{article} 6 7 \usepackage[sumlimits,]{amsmath} 8 9 \begin{document} 10 \begin{equation} 11 \label{eqn:euler} 12 e^{j\pi} + 1 = 0 13 \end{equation} 14 This is the famous euler equation. I 15 will type another equation, just as 16 true: 17 \begin{equation} 18 \label{eqn:simple} 19 1 + 1 = 2 20 \end{equation} 21 This is my contribution to mathematics. 22 \end{document}
In normal mode, press \rf
. This will fold up the
entire file and you should see the file looking as below:
1 % File: sample.tex 2 % Created: Sun Jun 22 04:00 PM 2003 P 3 % Last Change: Mon Dec 15 07:00 PM 2003 4 % 5 +-- 4 lines: Preamble: \documentclass[a4paper]{article} ----- 9 \begin{document} 10 +-- 4 lines: equation (eqn:euler) \label{eqn:euler} ----------- 14 This is the famous euler equation. I 15 will type another equation, just as 16 true: 10 +-- 4 lines: equation (eqn:simple) \label{eqn:simple} --------- 21 This is my contribution to mathematics. 22 \end{document}
What has happened is that Latex-Suite folded away blocks of LaTeX code into
folded regions. You can open and close folds by using the command
za
in normal mode.