Skip to content

Commit

Permalink
Map \perp to U+27C2 rather than U+22A5 (issue mathjax/MathJax#3322)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Jan 20, 2025
1 parent 2e5c45b commit a2f1222
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion testsuite/tests/input/tex/Base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6532,7 +6532,9 @@ describe('Mathchar0mo', () => {
toXmlMatch(
tex2mml('\\perp'),
`<math xmlns="http://www.w3.org/1998/Math/MathML" data-latex="\\perp" display="block">
<mo data-latex="\\perp">&#x22A5;</mo>
<mrow data-mjx-texclass="ORD">
<mo data-latex="\\perp">&#x27C2;</mo>
</mrow>
</math>`
));
it('equiv', () =>
Expand Down
2 changes: 1 addition & 1 deletion ts/input/tex/base/BaseMappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ new sm.CharacterMap('mathchar0mo', ParseMethods.mathchar0mo, {
ll: '\u226A',
sim: '\u223C',
simeq: '\u2243',
perp: '\u22A5',
perp: '\u27C2',
equiv: '\u2261',
asymp: '\u224D',
smile: '\u2323',
Expand Down

0 comments on commit a2f1222

Please sign in to comment.