This is LaTeX code:

[latex]
2 - \frac{r}{\cos\phi}
[/latex]