How to create an extended matrix using MathJax?

I am looking for a way to render Extended Matrix in MathJax. Also, I would like to do things like aligning the text vertically in columns.

I found LaTeX for this solution , but I'm not sure how to integrate it with MathJax - or even if it is possible. I noticed that the \ makeatletter command is not supported by MathJax.

Can this be done?

+6
source share
1 answer

(I think this should belong to http://tex.stackexchange.com )

If you don't need formatting, Wikipedia code works great with MathJax.

$$ \left[\begin{array}{rrr|r} 1 & 2 & 4 & 8 \\ 16 & 32 & 64 & 128 \\ 256 & 512 & 1024 & 2048 \end{array}\right] $$ 

enter image description here

+9
source

Source: https://habr.com/ru/post/885432/


All Articles