-
-
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
Middle delimiter do not recognize in some cases #2663
Comments
Thanks for the report. The implementation is not sophisticated enough, it seems. I will look into it further. A workaround for now would be to do use \left( {\color{red} a} \middle| {\color{yellow} b} \right) where the color is in braces so that the color command ends before the |
Allow \middle to work when a style or color is open. (mathjax/MathJax#2663)
Issue Summary
The middle delimiter do not recognize inside \left \right tex expression in some cases.
Steps to Reproduce:
Enter tex expression in MathJax demo:
\left( \color{red} a \middle| \color{yellow} b \right)
and get an error message: \middle must be within \left and \right
a correct math expression is expected
Technical details:
The text was updated successfully, but these errors were encountered: