# Typesetting a big sum with index next to it [duplicate]

How can I typeset a big summation with index next to it (like that one in the photo below) instead of an index in the bottom ?! . I need help please :) .

• This yields a small summation not a big one . Besides, I use align environment. – Hussein Eid Nov 7 '16 at 18:41
• \sum\nolimits_{n} – egreg Nov 7 '16 at 18:43
• although this is most peculiar, it can be obtained by \displaystyle]sum\nolimits_n – barbara beeton Nov 7 '16 at 18:45
• I am deleting my earlier comment, since I misunderstood and provided a misleading comment. – Steven B. Segletes Nov 7 '16 at 18:46

The place (above/below or right) for the indices of large operators can be set explicitly using \limits or \nolimits:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
E &= \sum\nolimits_n f(x) \\
E &= 42
\end{align}
\end{document}


Code:

\documentclass[]{amsart}
\begin{document}
$E=\sum_n{f(x)}$
\end{document}


This yields:

• This yields a small summation not a big one . Besides, I use align environment. – Hussein Eid Nov 7 '16 at 18:41