Problem: tex syntax file does not support some of the math equation
environments provided by amsmath.sty, therefore well-formed
snippet is highlighted as "texBadMath"
Solution: add the environments
closes: #18433
Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 lines
192 B
TeX
12 lines
192 B
TeX
\documentclass{article}
|
|
\usepackage{amsmath}
|
|
\begin{document}
|
|
\begin{align}
|
|
\begin{bmatrix}
|
|
1 & x & x^{2} \\
|
|
1 & y & y^{2} \\
|
|
1 & z & z^{2} \\
|
|
\end{bmatrix}
|
|
\end{align}
|
|
\end{document}
|