Issue How do I force vim to highlight the following environment: \begin{dmath*} 2 + 2 \end{dmath*} the same way as \begin{equation*} 2 + 2 \end{equation*} ? i.e I want the dmath environments (in its plain and starred versions) to be
Continue readingTag: tex
Multiline Comments Syntax Coloring in VIM for TeX Files
Issue To my biggest surprise, the multi-line comment syntax in TeX : \usepackage{verbatim} … \begin{comment} I don’t like this line anymore. Please don’t print it. \end{comment} is not recognized/dealt with by $VIMRUNTIME/syntax/tex.vim and hence not colored as a comment. Is
Continue readingLaTeX section highlighting in vim
Issue In LaTeX, a section looks like: \section{Section Title} I would like to highlight such sections, or section titles. I tried to put the following in ~/.vim/bundle/latexrc/after/syntax/tex.vim: syn match texSectioning “\\section\>” skipwhite nextgroup=texSectioningTitle syn region texSectioningTitle contained matchgroup=Delimiter start='{‘ end=’}’
Continue reading