This is LaTeX code:

[latex]
\sum{(-1)^{n+1} \frac{1}{n}}
[/latex]