-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
how to render \quantity ? #3278
Comments
For strings enclosed in quotes in javascript, the const latexExpression = ' $$\\quantity{2.5}$$ ' instead. |
|
It looks like the physics package may not have been loaded. That might indicate that your MathJax configuration isn't being processed, or that the physics component isn't being found. Note that the configuration script should come before the script that loads MathJax itself (you have them in the wrong order in your sample file above), so that could be the issue in your vue app. Make sure the MathJax configuration script comes first, and then check that there are no errors in the browser console concerning the physics package. |
Replace the text below with the details of the issue you are facing.
DO NOT simply erase the form and type a free-form response.
Issue Summary
\quantity render is abnormal
in HTML page
in vue
What's the reason?
How to solve it
thks
Steps to Reproduce:
const latexExpression = ' $$\quantity{2.5}$$ '
Technical details:
I am using the following MathJax configuration:
and loading MathJax via
The text was updated successfully, but these errors were encountered: