This is LaTeX code:
[latex]
\sum\limits_{k=1}^n a_k
[/latex]