vuepress / vuepress-plugin-mathjax

:page_with_curl: Use TeX in VuePress.
https://vuepress.github.io/plugins/mathjax.html
MIT License
32 stars 10 forks source link

do we support matrix? #14

Open yuicer opened 4 years ago

yuicer commented 4 years ago

i wanna get a matrix by this, but it does not work

$$
 \begin{bmatrix}
   a & b & c\\
   d & e & f\\
   g & h & 1\\
  \end{bmatrix}
$$
chiumax commented 4 years ago

Please ^^^

yuicer commented 4 years ago

any progress here?

franklinqin0 commented 4 years ago

Same question here. I found this post: https://tex.stackexchange.com/questions/43444/how-to-typeset-a-matrix-with-mathjax, which means mathjax should support matrix, but why is VuePress+MathJax not so?

manashmandal commented 4 years ago

Matrix isn't working. Text inside the $$ is always being copied to <p> tag. Can anyone help? Thanks in advance.

franklinqin0 commented 4 years ago

Matrix isn't working. Text inside the $$ is always being copied to <p> tag. Can anyone help? Thanks in advance.

Did you put space after the beginning $ or before the ending $? Can you post what you did? BTW, you should open a new issue, as you question has nothing to do with this issue.

manashmandal commented 4 years ago

Matrix isn't working. Text inside the $$ is always being copied to <p> tag. Can anyone help? Thanks in advance.

Did you put space after the beginning $ or before the ending $? Can you post what you did? BTW, you should open a new issue, as you question has nothing to do with this issue.

I tried many things for 5 hours straight. Now I'm convoluted about what I tried. I'm currently using this plugin vuepress-plugin-katex, and it works like a charm!

franklinqin0 commented 4 years ago

Matrix isn't working. Text inside the $$ is always being copied to <p> tag. Can anyone help? Thanks in advance.

Did you put space after the beginning $ or before the ending $? Can you post what you did? BTW, you should open a new issue, as you question has nothing to do with this issue.

I tried many things for 5 hours straight. Now I'm convoluted about what I tried. I'm currently using this plugin vuepress-plugin-katex, and it works like a charm!

Thank you very much! I am officially giving up on this plugin and use vuepress-plugin-katex instead!