This is LaTeX code:
[latex]
\frac{1}{2} \sum_{n=1}^{\infty} \frac{1}{n}
[/latex]