2

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
\end{tabu}

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.

Cheers.

4
  • 4
    I think the problem is related to the $ symbol, which starts an inline math environment. Commented May 15, 2017 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
    Commented May 15, 2017 at 21:34
  • tabu is out-dated, buggy and will not be developed or fixed in the future (official statement of the maintainer).
    – buhtz
    Commented Sep 16, 2017 at 12:24
  • Happen to have a link?
    – lindhe
    Commented Sep 16, 2017 at 12:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.