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

Lines rendered by vmatrix environment are misaligned #3650

Closed
chrisjpurdy opened this issue Jun 8, 2022 · 4 comments
Closed

Lines rendered by vmatrix environment are misaligned #3650

chrisjpurdy opened this issue Jun 8, 2022 · 4 comments
Labels

Comments

@chrisjpurdy
Copy link

The vertical lines rendered by the vmatrix environment are segmented into 3 parts, with the middle segment bolder and misaligned from the others. The issue seems more obvious with larger matrices. These lines should be uniform if possible.

(La)TeX code:

\begin{vmatrix}
   0 & -1 & 1 \\
   -1 & 0 & 1 \\
   -1 & 0 & -1
\end{vmatrix}

Environment

  • KaTeX Version: 0.16.0 (version on katex.org)
  • Device: Desktop
  • OS: Windows 10
  • Browser: Firefox, Edge, Chrome
  • Version: 101, 102, 101

Turning off Microsoft ClearType doesn't make a noticeable difference.

Example on Chrome:
image

@chrisjpurdy chrisjpurdy added the bug label Jun 8, 2022
@edemaine
Copy link
Member

edemaine commented Jun 8, 2022

FWIW, I can't reproduce this on Chrome on Windows 10. I think it depends on your monitor resolution/DPI and zoom level (though I couldn't reproduce at any zoom level). I'm on a 4K display and get this at 100%:

image

@mbourne
Copy link

mbourne commented Jun 10, 2022

I didn't notice it was an issue on first load (Chrome on Win 10, 1920x1080 monitor), but after zooming in then back out, the issue showed around 120% and also at 100%:

image

@mangerlahn
Copy link
Contributor

Can be closed?

@edemaine
Copy link
Member

edemaine commented May 2, 2023

Indeed, should be fixed by #3686, released in 0.16.1. Thanks!

@edemaine edemaine closed this as completed May 2, 2023
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

4 participants