The first line of this section of LaTeX code breaks syntax highlighting and spell check whenever I scroll to the area of the document that contains it:

\begin{tabu} {*3{X[l$]}}
    col1    & col2  & col3

This is what it looks like: Example of what the synax parsing problem looks like

As you can tell I'm using the (excellent) packet tabu, and it's when I apply the column descriptor multiplier that things goes astray. It does not happen until I get that part of the document into the view port, so if I start at the end of the file it is fine until I get to that line (182 in my example image). The moment that line goes into view, everything bellow it is bogus.

It looks like there is some problem with the curly braces, which are marked... But I have no idea where to get from here.


  • 4
    I think the problem is related to the $ symbol, which starts an inline math environment. – Karl Yngve Lervåg May 15 '17 at 21:10
  • Oh, that could actually be so. There is another way of writing the same expression — I'll try that tomorrow and report back. – lindhe May 15 '17 at 21:34
  • tabu is out-dated, buggy and will not be developed or fixed in the future (official statement of the maintainer). – buhtz Sep 16 '17 at 12:24
  • Happen to have a link? – lindhe Sep 16 '17 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.