Hello, I am a beamer user and I use the following syntax for frames.
\begin{frame} \frametitle{Just the title} frame contents \end{frame} Thus, folding looks like that : +--- 30 lignes : frame (): \frametitle{Just the title} Nevertheless, I agree with denilson frame environment could be added to defaults Tex_FoldedEnvironments variable. Germain Le 27/10/2011 18:38, Ted Pavlic a écrit : > 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) >>> >>> -- Maître de Conférence Université de Pau et des pays de l'Adour Institut Pluridisciplinaire de Recherche sur l'Environnement et les Matériaux Équipe de Chimie Physique email : germain.vallve...@univ-pau.fr Tel : 05 59 40 78 51 page : http://gvallver.perso.univ-pau.fr ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel