\middle preceded by primed symbol gives an error.
Created by: nberth
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 whenQ'
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