Источник TeX:
\text{tg} \alpha = \frac{2\text{tg} \frac{\alpha}{2}}{1 - \text{tg}^2 \frac{\alpha}{2}},