When I want to show evaluation of limits of an integral, I would type
\int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2}
How do I get the vertical bar showing the limits big enough? I have found \bigg
and \Big
but I would like it to autosize like \left
. It seems harder because there isn't a left side to figure out what is inside. I tried \left<SPACE>
and \right \mid
, but didn't find success.
Best Answer
Use
\left.
and\right|
The left/right just has to be matched, but the symbols need not be the same.