We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Html code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Change FontShape of MathField</title> <script defer src="https://unpkg.com/mathlive"></script> </head> <body> <h1>MathField FontShape Example</h1> <math-field id='mf'>\begin{aligned}\bu11\\\bu2\end{aligned}</math-field> <script> customElements.whenDefined("math-field").then(() => { document.body.classList.add("ready"); mf=document.getElementById('mf'); mf.macros={...mf.macros,bu:'&\\bullet~~'} }); </script> </body> </html>
When & is used inside of a macro, it is treated as the letter & and not the latex character &
Run the attached html code
The bullets are not lined up and there is a letter &
The bullets are lined up (because there are &'s an an aligned environment) and there is no "&" letter present in the output.
Windows Chrome
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Html code
Description
Steps to Reproduce
Run the attached html code
Actual Behavior
Expected Behavior
Environment
Windows Chrome
The text was updated successfully, but these errors were encountered: