# 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 :) .

## marked as duplicate by Mico math-mode StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Nov 7 '16 at 19:51

• 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