Skip to content

Commit 6f058dc

Browse files
authored
Merge pull request #1358 from mathjax/fix/mhchem-arrows
Fix left and right arrows in mhchem
2 parents 4d70d40 + e879a48 commit 6f058dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

testsuite/tests/input/tex/Mhchem.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,13 +2946,13 @@ describe('Mhchem6', () => {
29462946
<mi mathvariant="normal" data-latex="A">A</mi>
29472947
</mrow>
29482948
<mrow data-mjx-texclass="ORD" data-latex="{\\mhchemrightarrow}">
2949-
<mo data-mjx-variant="-mhchem" data-mjx-texclass="REL" stretchy="true" data-latex="\\mhchemrightarrow">&#xE42C;</mo>
2949+
<mo data-mjx-variant="-mhchem" data-mjx-texclass="REL" stretchy="true" data-latex="\\mhchemrightarrow">&#xE42D;</mo>
29502950
</mrow>
29512951
<mrow data-mjx-texclass="ORD" data-latex="\\mathrm{B}">
29522952
<mi mathvariant="normal" data-latex="B">B</mi>
29532953
</mrow>
29542954
<mrow data-mjx-texclass="ORD" data-latex="{\\mhchemleftarrow}">
2955-
<mo data-mjx-variant="-mhchem" data-mjx-texclass="REL" stretchy="true" data-latex="\\mhchemleftarrow">&#xE42D;</mo>
2955+
<mo data-mjx-variant="-mhchem" data-mjx-texclass="REL" stretchy="true" data-latex="\\mhchemleftarrow">&#xE42C;</mo>
29562956
</mrow>
29572957
<mrow data-mjx-texclass="ORD" data-latex="\\mathrm{C}">
29582958
<mi mathvariant="normal" data-latex="C">C</mi>

ts/input/tex/mhchem/MhchemConfiguration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ new CharacterMap('mhchem-chars', MhchemUtils.relmo, {
133133
mhchemlongRightleftharpoons: '\uE409',
134134
mhchemlongLeftrightharpoons: '\uE40A',
135135
mhchemlongleftrightarrows: '\uE42B',
136-
mhchemrightarrow: '\uE42C',
137-
mhchemleftarrow: '\uE42D',
136+
mhchemrightarrow: '\uE42D',
137+
mhchemleftarrow: '\uE42C',
138138
mhchemleftrightarrow: '\uE42E',
139139
});
140140

0 commit comments

Comments
 (0)