I'm trying to typeset an equation that contains a "|":
\begin{align*}
\lambda_{l} = \lim_{q \to 0^{+}}P\left(X_{2} \leq F_{2}^{(-1)}(q) \middle| X_{1} \leq F_{1}^{(-1)}(q) \right)
\end{align*}
which gives me
The "|" seems to be too long. I've tried \mid
but that makes the vertical bar too short in relation to the outer left and right brackets. Is there a way I can get the "right" size "|" automatically?
Thanks!
amsmath
loaded, the issue does not present for me.Computer Modern
, please be sure to indicate which font-related package(s) you load.