> I have to write documents with MANY headlines so I was wondering, if it > would be possible to write a script, that displays "\section{Headline > 1}" in vim simply as "Headline 1" in another color and maybe centered.
The default syntax highlighting that is packaged with Vim (at least 7.3) already colors section headings (and you could conceivably change the color/formatting of sections if you wish). Look for "syntax/tex.vim" in your system's vimfiles directory. That syntax definition might give you some ideas on how you can customize how sections (or even sections that start with "Heading") are displayed. Furthermore, what do you think of the default folding behaviors in Vim-LaTeX? Vim-LaTeX knows how to fold by sections, and that grouping might serve the same purpose as what you're requesting. I know it works well for me. A document with seven sections looks like it only has seven lines until I inspect the fold that I'm interested in. Best -- Ted -- Ted Pavlic <t...@tedpavlic.com> ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel