Source TeX:
\cos(\pi-\theta)=-\cos(\theta)