Source TeX:
\sin\left(\frac{\pi}{2}+\theta\right)=\cos(\theta)