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

unexpected “Double exponent: use braces to clarify” #2688

Closed
pkra opened this issue May 11, 2021 · 1 comment
Closed

unexpected “Double exponent: use braces to clarify” #2688

pkra opened this issue May 11, 2021 · 1 comment
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Needed v3 v3.2
Milestone

Comments

@pkra
Copy link
Contributor

pkra commented May 11, 2021

The following throws a double exponent error in v3 but doesn't in v2 (or "real" LaTeX).

 \begin{align*} (E^{\sim })^{\bullet } = (R\pi _{*}f^{*}T_{\mathcal{U^{\sim }}^{\operatorname {etw}}/\mathcal{B^{\sim }}^{\operatorname {etw}}}^{\log })^{\vee } \rightarrow \mathcal{L}^{\log }_{M^{\sim }/\mathcal{MB^{\sim }}} \end{align*}

A more minimal example: \mathbf{x^x}^x

@dpvc
Copy link
Member

dpvc commented May 11, 2021

The contents of the \mathbf was not being enclosed in a container, and so the superscripts were seen as conflicting.

I've made a PR to address the problem.

dpvc added a commit to mathjax/MathJax-src that referenced this issue May 24, 2021
Trim delimiter for \big and friends, and put \math* in a TeXAtom (mathjax/MathJax#2688, mathjax/MathJax#2689)
@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels May 24, 2021
@dpvc dpvc added this to the 3.2 milestone Jun 16, 2021
@dpvc dpvc added Fixed v3.2 and removed Merged Merged into develop branch labels Jul 6, 2021
@dpvc dpvc closed this as completed Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Needed v3 v3.2
Projects
None yet
Development

No branches or pull requests

2 participants