9

When writing \sum_{n=1}^\infty, the subscript and superscript will appear below and above the big Sigma symbol:
enter image description here

Though when writing \Sigma_{n=1}^\infty, they will appear on the sides: enter image description here

I would like to use the \sum symbol, but having the sub/super script to appear on the side, just like with \Sigma. How do I achieve that? Due to space efficiency.

3

1 Answer 1

13

You can achieve this by using either \nolimits or \textstyle:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
Here is a sum:
\[\sum\nolimits_{i=1}^{n}X_i.\]

Here is another sum:
\[{\textstyle\sum}_{i=1}^{n}X_i.\]
\end{document}

enter image description here

1
  • Adding the second option is appreciated. Thank you.
    – Dor
    Dec 19, 2015 at 21:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.