MathJax 4: Vertically misaligned prime symbol `'` inside `\boldsymbol`
Open
Nobody has claimed this yet.
Accepted
Code Example
v4
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Expected the vertical height of prime ' to be the same as version 3.
MathJax 3:
MathJax 4:
Reproduction
<!DOCTYPE html>
<html>
<head>
<!-- MathJax 3 -->
<!-- <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>-->
<!-- MathJax 4 -->
<script src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script>
</head>
<body>
\begin{aligned}
v_P' &= \boldsymbol{v_P'} \\[1pt]
\end{aligned}
</body>
</html>
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
Run the supplied HTML reproduction with MathJax 4 and compare its \boldsymbol prime rendering with the MathJax 3 result. Investigate the rendering path involved in \boldsymbol and prime placement, then verify that the prime's vertical height matches the MathJax 3 reference without changing the surrounding aligned expression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, latex
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100