Issues with a few stretchy accents
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Issue Summary
Most stretchy accents are appearing as we'd expect in MathJax [reverse vector (x20d6), tilde (x303), underbar (x332), vector (x20d7), and circumflex (x302)], but we're having trouble with three of them: double bar overhead (x33f), double headed arrow accent (x20e1), and vinculum (x305).
Here's how they're looking for us in MathJax currently:

Here's the tagging that was used:
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">̿</mo>
</mrow>
</mover>
<mspace width=".25em" />
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">⃡</mo>
</mrow>
</mover>
<mspace width=".25em" />
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">⃖</mo>
</mrow>
</mover>
<mspace width=".25em" />
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">̃</mo>
</mrow>
</mover>
<mspace width=".25em" />
<munder>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">̲</mo>
</mrow>
</munder>
<mspace width=".25em" />
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">⃗</mo>
</mrow>
</mover>
<mspace width=".25em" />
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">̅</mo>
</mrow>
</mover>
<mspace width=".25em" />
<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo accent="true" stretchy="true">̂</mo>
</mrow>
</mover>
Is this a bug? Is the only way to solve these by using different characters for the accents, i.e.,

<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo stretchy="true">=</mo>
</mrow>
</mover>

<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo stretchy="true">↔</mo>
</mrow>
</mover>

<mover>
<mrow>
<mi>x</mi>
<mi>y</mi>
<mi>z</mi>
</mrow>
<mrow>
<mo stretchy="true">¯</mo>
</mrow>
</mover>
Technical details:
MathJax Version: master - latest commit: MathJax.js v2.7.9
Client OS: Windows
Browser: Version 93.0.4577.63 (Official Build) (64-bit)
Renderer: HTML-CSS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the supplied MathML examples in MathJax master v2.7.9 using the HTML-CSS renderer, comparing the three failing stretchy accents with the working accents. Trace the rendering path for U+033F, U+20E1, and U+0305; done means those accents render correctly without requiring substitute characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100