mathjax / mathjax/MathJax

MathJax 4: Vertically misaligned prime symbol `'` inside `\boldsymbol`

Open
#3,518 4 comments 0 reactions 0 assignees View on GitHub

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:
Image
MathJax 4:
Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.