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