# 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. Nov 7, 2016 at 18:41
• \sum\nolimits_{n} Nov 7, 2016 at 18:43
• although this is most peculiar, it can be obtained by \displaystyle]sum\nolimits_n Nov 7, 2016 at 18:45
• I am deleting my earlier comment, since I misunderstood and provided a misleading comment. Nov 7, 2016 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}


\documentclass{article}
\begin{document}
$\displaystyle E=\sum\nolimits_n{f(x)}$
\end{document}


• This yields a small summation not a big one . Besides, I use align environment. Nov 7, 2016 at 18:41