Latex: force limits to appear above and below the sum sign (inline equation)

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:
This entry was posted in Computer Science, Uncategorized and tagged . Bookmark the permalink.

5 Responses to Latex: force limits to appear above and below the sum sign (inline equation)

  1. diarev says:

    Thanks! At least I got the solution!

  2. Anonymous says:

    Thank you very much!

  3. Anonymous says:

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

  4. Paul says:

    Thanks it also works in Lyx.

  5. Ruben says:

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

Leave a Reply

Your email address will not be published.