In LaTeX equations, when using the sum sign in an **inline equation**, the limits do not appear above and below the sign but on its right side. If you want the limits above and below, place the **\limits** command after the sum command as follows:

`$\sum\limits_{k=1}^n k$`

In a display equation, you do not need this \limits command: the limits are displayed above and below. Similarly if you use a displaystyle environment:

$\displaystyle \sum_{k=1}^n k$

Please follow and like us:

Thanks! At least I got the solution!

Thank you very much!

Thank you! Applies also to “array” constructs (which I use to break equations but only show one equation number).

Thanks it also works in Lyx.

Thanks for sharing this! Nice work and straight to the point!