-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[TeX input] \class is lost during input [was "\class" being ignored in "\left[\class{test}{\sin(x)}\right]"] #1415
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
Comments
Thanks for the report. I can confirm this. It looks like the TeX input processor is losing the class. |
This turns out to be due to this line in the TeX input jax, which unwraps an |
…ve been attached to the mrow). Resolves issue mathjax#1415.
The |
Don't unwrap mrow when created fenced elements. #1415
==> Merged. |
==> In testsuite LaTeXToMathML/delimiters/issue1415.html |
In
\left[\class{test}{\sin(x)}\right]
, the\class
is ignored.When replacing
\sin(x)
with e.g.x^2
, it works. It also works when removing the\left[
and\right]
around the expression.See this screenshot (the
test
class is just defined to becolor: red
):The text was updated successfully, but these errors were encountered: