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

'\nolimits is allowed only on operators' which render right in mathjax v3 #470

Open
adamma1024 opened this issue Mar 30, 2021 · 2 comments

Comments

@adamma1024
Copy link

I render this LaTeX in https://www.mathjax.org/#demo , nothing is wrong. But when I render with mathjax-node v2.1.1, it report an error '\nolimits is allowed only on operators'. What should I do to solve this problem?

\log \nolimits (M\cdot N)=\log_a \nolimits M+ \log \nolimits_aN(a > 0,a \neq 1,M > 0,N > 0
@dpvc
Copy link
Member

dpvc commented Mar 30, 2021

MathJax version 2 doesn't handle \log_a \nolimits; in version 2, the \nolimits must immediately follow the \log, as in \log\nolimits_a.

My recommendation would be to move to v3's node-based support rather than MathJax-node. See the MathJax node demos for examples.

@adamma1024
Copy link
Author

MathJax version 2 doesn't handle \log_a \nolimits; in version 2, the \nolimits must immediately follow the \log, as in \log\nolimits_a.

My recommendation would be to move to v3's node-based support rather than MathJax-node. See the MathJax node demos for examples.

thx~

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

No branches or pull requests

2 participants