You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
MathJax Version: 3.1.2
Client OS: Windows 7
Browser: Version 89.0.4389.90 (64-bit)
The text was updated successfully, but these errors were encountered:
where the color is in braces so that the color command ends before the \middle is processed. (It is the presence of the color-change item in the internal parser stack that is confusing the current implementation of \middle. Ending the color before \middle eliminates that.)
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: