Accent rendering with <mover accent="true">
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 56
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Rendering common accents is, in my opinion, overly awkward.
e.g. Rendering a circumflex (hat) properly requires
<math>
<mover accent="true">
<mi>H</mi>
<mo stretchy="false">̂</mo>
</mover>
</math>
I understand that this is aimed at flexibility, but common accents like this should really be able to have special treatment for proper rendering. The MathMl named element "Hat" is the Unicode ^, which does not render well as a hat.
My opinion here is that these common accents should be treated as a special case, in the same notation:
<math>
<mover accent="true">
<mi>H</mi>
<mo>^</mo>
</mover>
</math>
rendering the operator properly.
See https://en.wikipedia.org/wiki/Hat_notation, for examples of how this notation should look.
I would appreciate any discussion on the issue.
Contributor guide
No contributing guide indexed for this repository
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
Start with the issue's MathML examples and the linked hat-notation reference, then review the MathML Core rules for mover accents and operator rendering. The issue names no files or tests; done would require an agreed treatment for common accents and corresponding rendering behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, xml
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100