Of course, another option is to include a comment after each \begin{frame} that is descriptive:
\begin{frame}{Frame name} % Frame name \end{frame} However, at that point you might as well just start using your own folding markers (which is another option) instead of Vim-LaTeX's tex-based folding. Again, try the hack I suggest below. See if it works well for you. You don't lose a lot when you short circuit \begin and \end and call the macros themselves. --Ted On 10/27/2011 12:35 PM, Ted Pavlic wrote: > Here's a hack that might work for you. > > Add "frame" to FoldedSections as opposed to FoldedEnvironments. Then, > instead of using \begin and \end, use: > > \frame{Frame name} > \endframe > > and > > \frame[fragile]{Another frame} > \endframe > > I think you'll get a result closer to what you want. > > Best -- > Ted > > On 10/26/2011 11:01 PM, Denilson Figueiredo de Sá wrote: >> It would be nice to add folding for Beamer right out of the box. >> Not just that, but the folding should show the frame name. >> >> I've already added ",frame" to g:Tex_FoldedEnvironments, but the result is >> not good. The folding does not show the frame name, which results in a >> bunch of foldings that look all alike. >> >> Beamer frames look like this: >> >> \begin{frame}{Frame name} >> This is a slide in Beamer. >> \end{frame} >> >> \begin{frame}[fragile]{Another frame} >> It is great for making presentations. >> \end{frame} >> >> There seems to be other alternate syntaxes (but the above one is enough >> for me). Look here for more examples: >> http://en.wikibooks.org/wiki/LaTeX/Presentations >> >> >> (BTW, if someone replies to the list, please also add me to CC) >> >> > -- Ted Pavlic <t...@tedpavlic.com> ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel