Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you have two or more matrixes in one line side by side the Latex rendering breaks. #2075

Open
donatusschmid opened this issue Nov 24, 2024 · 0 comments
Assignees
Labels

Comments

@donatusschmid
Copy link

Describe the bug
If you have two or more matrixes in one line side by side the Latex rendering breaks.

Environment

  • OS: Windows 11
  • VSCode: 1.82.0
  • Markdown Preview Enhanced: 0.8.0

To Reproduce

If you have two or more matrixes in one line side by side the rendering breaks.
Here is an example that breaks, but works in jupyter.

[ \begin{bmatrix} a & b \ c & d \end{bmatrix} \begin{bmatrix} e & f \ g & h \end{bmatrix} ]

This code breaks in markdown renderers of VSC. It needs a separator between the adjacent matrixes like:

[ \begin{bmatrix} a & b \ c & d \end{bmatrix} \quad \begin{bmatrix} e & f \ g & h \end{bmatrix} ]

Let me know if there is another possibility to fix this problem.

Expected behavior
Can you fix the rendering, so that it does not break when two or more matrixes in one line are defined without a separator in between.

Markdown file
[ \begin{bmatrix} a & b \ c & d \end{bmatrix} \begin{bmatrix} e & f \ g & h \end{bmatrix} ]

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants