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

arraystyle = (:pmatrix|:bmatrix) work incorrectly #318

Open
greimel opened this issue Oct 31, 2024 · 1 comment · May be fixed by #319
Open

arraystyle = (:pmatrix|:bmatrix) work incorrectly #318

greimel opened this issue Oct 31, 2024 · 1 comment · May be fixed by #319

Comments

@greimel
Copy link

greimel commented Oct 31, 2024

When using the pmatrix or bmatrix environments, one needs to omit the alignment instructions like {cc}.

https://github.com/korsbo/Latexify.jl/blob/ad0ab404442ee50b2536e98b69d9dd17dc08086a/test/latexarray_test.jl#L125C1-L126C5

Currently, using arraystyle = :pmatrix produces this

image

(the ccc shouldn't be there).

Workaround: arraystyle = :round

image
@gustaphe gustaphe linked a pull request Nov 2, 2024 that will close this issue
@gustaphe
Copy link
Collaborator

gustaphe commented Nov 2, 2024

Thanks for spotting this!

Until #319 goes through, another workaround is arraystyle="pmatrix" (with a string instead of a symbol).

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

Successfully merging a pull request may close this issue.

2 participants