0
0
mirror of https://github.com/vim/vim.git synced 2025-10-20 08:14:18 -04:00

runtime(tex): add amsmath support to tex syntax script

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>
This commit is contained in:
Eisuke Kawashima
2025-09-29 19:43:51 +00:00
committed by Christian Brabandt
parent b3740f4b00
commit 05e44e978f
3 changed files with 38 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
\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}