Created attachment 91293 [details] Example of the bug [code] \begin{alignat}{2} A &= B &= C \\ A &= B &= C \end{alignat} My text... [/code] When I use this, the following text it's shown like it would be inside the tags. I've attached a screenshot of the bug.
Confirmed with LaTeX highlighting (the last alignat has "at" in a different color). Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm
Git commit 540fb97a8764e35b88a74978ce3a9ae69feea61c by Dominik Haumann. Committed on 05/02/2017 at 13:28. Pushed by dhaumann into branch 'master'. LaTeX highlighting: fix alignat environment Related: bug 373286 Differential Revision: D4294 M +8 -0 autotests/folding/highlight.tex.fold M +8 -0 autotests/html/highlight.tex.html M +9 -1 autotests/input/highlight.tex M +8 -0 autotests/reference/highlight.tex.ref M +2 -2 data/syntax/latex.xml https://commits.kde.org/syntax-highlighting/540fb97a8764e35b88a74978ce3a9ae69feea61c