In gedit 3.28.1 in Ubuntu 18.04, I have syntax highlighting random problem :

enter image description here

In the above image you can see that \linewidth (on line 24) highlights the way regular control sequences are set in green. However, \linewidth as part of the second argument for tabularx is not highlighted. Similarly for \Nb and \Centering.

How can we update gedit to properly highlight the LaTeX syntax?

  • 6
    Can you clarify what the problem is? – user36296 Nov 13 '18 at 21:29
  • Sorry I thought that it was obvious seeing highlighted or not highlighted command in parallel. Thank you to the one who guessed. One temporally solution is to use latex.lang from the previous version. I tried a diff, but there is a lot of differences and I can't guess which one is good one. – Tarass Nov 14 '18 at 13:20

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.