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 preceded by primed symbol gives an error. #1023
Comments
Thank you for reporting the issue! (I've modified your posting to escape the TeX). We'll look into it. |
For now you can use
to get the result you are looking for. There is a problem with how |
…ll be consistent with TeX's version (e.g., \mathrel{}\middle|\mathrel{} will produce the right spacing). As a side effect, this resolves the problem with the quotes, sot this resolves issue mathjax#1023.
The |
==> Merged. |
==> In testsuite LaTeXToMathML/delimiters/issue1023.html |
The following code gives me an error "\middle must be within \left and \right" when I render it in my browser (Firefox 21.0, MathJax v2.4.0):
\left\{q\in Q \middle| P(q)\right\}
works;\left\{q\in Q' \middle| P(q)\right\}
doesn't, nor\left\{q\in Q'' \middle| P(q)\right\}
incidentally.This also happens when
Q'
is the result of macro expansion:\newcommand{\Q}{Q} \left\{q\in \Q \middle| P(q)\right\}
works;\newcommand{\Q}{Q'} \left\{q\in \Q \middle| P(q)\right\}
doesn't.The error is reproducible (though no error message is displayed) on the dynamic rendering page [1], yet I did not try it on the development branch for lack of time to install it (can anyone try?).
[1] http://cdn.mathjax.org/mathjax/latest/test/sample-dynamic.html
The text was updated successfully, but these errors were encountered: