You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mathlive maps the TeX macro \perp to the Unicode char U+22A5 which Unicode defines as "UP TACK {base, bottom}". It should be mapped to U+27C2 which Unicode defines as "PERPENDICULAR {orthogonal to}". Although they look similar, they are slightly different.
Beside the potential subtle difference in rendering, the bad mapping means that screen readers will say the wrong thing for \perp unless they (wrongly) map U+22A5 to "perpendicular". If they do that, then they won't speak "up tack" or "bottom" when they should.
The wrong mapping is in src\latex-commands\symbols.ts:
Description
mathlive maps the TeX macro \perp to the Unicode char U+22A5 which Unicode defines as "UP TACK {base, bottom}". It should be mapped to U+27C2 which Unicode defines as "PERPENDICULAR {orthogonal to}". Although they look similar, they are slightly different.
Beside the potential subtle difference in rendering, the bad mapping means that screen readers will say the wrong thing for \perp unless they (wrongly) map U+22A5 to "perpendicular". If they do that, then they won't speak "up tack" or "bottom" when they should.
The wrong mapping is in
src\latex-commands\symbols.ts
:Steps to Reproduce
x \perp y
⊥
Actual Behavior
The copied expr is
<mo>⊥</mo>
. The symbol is U+22A5.Expected Behavior
It should be U+27C2.
Environment
MathLive version MathLive version 0.103.0
I suspect it has always been this way.
Operating System Windows 10
Browser Firefox
The text was updated successfully, but these errors were encountered: