Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle primes in munderover as in msubsup. (mathjax/MathJax#3202) #1069

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Mar 6, 2024

This PR resolves the issues raised in mathjax/MathJax#3202, namely that primes are not placed properly on operators. E.g., \sum_n' should act like \sum_n^\prime but doesn't. The reason is that the PrimeItem and BaseMethods.Prime function don't treat munderover the same as msubsup, so this PR fixes that.

This also fixes the problem with \int\limits' not working like \int\limits^\prime.

It also fixes the problem with \sum'' and larger numbers of primes not using the proper size in display mode.

Resolves issue mathjax/MathJax#3202.

@dpvc dpvc requested a review from zorkow March 6, 2024 20:52
@dpvc dpvc added this to the v4.0 milestone Mar 6, 2024
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants