TeX source:
\left(\dfrac{1}{2}x-z\right)^2