-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamMergedMerged into develop branchMerged into develop branchTest Needed
Milestone
Description
The '
is misplaced when used with operators in TeX for both inline and display math. For example, \sum_n'
is treated as {\sum_n}'
rather than \sum_n^\prime
. This is due to the handling of the base in the PrimeItem
stack item class, which only takes msubsup
bases into account, and not munderover
.
Also, using \limits
with primes doesn't work, so \int\limits'
should put the prime above the integral, but doesn't.
Finally,
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mover>
<mo>∑</mo>
<mo data-mjx-alternate="1" data-mjx-pseudoscript="true">″</mo>
</mover>
</math>
uses the wrong size primes, while
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mover>
<mo>∑</mo>
<mo data-mjx-alternate="1" data-mjx-pseudoscript="true">𠌣</mo>
</mover>
</math>
uses the correct size. This is due to the operator dictionary marking U+2033 as a TeX accent, while U+2032 is not.
Originally pointed out in a mathoverflow post
Metadata
Metadata
Assignees
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamMergedMerged into develop branchMerged into develop branchTest Needed
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Handle primes in munderover as in msubsup. (mathjax/MathJax#3202)
Merge pull request #1069 from mathjax/issue3202