This is LaTeX code:
[latex]
\frac{r}{2}
[/latex]