Multi-letter alignment not based on baseline in Safari
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
Characters are not aligned to the baseline. (html page)
<p>\(DEFGBD\)<p> <p>\(Area_{_{EFB}}\)</p> <p>\(Area_{_{DEFGBD}} - Area_{_{{\triangle}EFB}}\)</p>
The following configuration can be used to solve the problem in MathJax V3 .
MathJax = { chtml: { mtextInheritFont: true } }
However, this configuration is invalid in MathJax V4 .
Are there any other methods?
Technical details:
- MathJax Version: 4.1.0
- Client OS: Ipad OS 16.7.15
- Browser: Safari
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 HTML example in Safari on iPadOS and compare the multi-letter and subscript alignment with MathJax 4.1.0. Start by investigating the CHTML configuration around mtextInheritFont, then determine whether a supported MathJax 4 method restores baseline alignment; done means the reported expressions render correctly without the invalid configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100