KaTeX: Katex matrix rendering error
I meet a problem as rendering matrix equation. For example, I use below tex script to render matrix equation
X=\begin{bmatrix} M_1 \\ \vdots \\ M_n \end{bmatrix}
The content in matrix block is aligned to error position

But, In MathJax, the rendering result is correct

Katex configuraiton
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script>renderMathInElement(document.body);</script>
MathJax configuration
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML" async</script>
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (7 by maintainers)
@Vimux Thanks for your updated. Now, web site show Katex math equation well.