3

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

enter image description here

2 Answers2

8

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}

Result

Heiko Oberdiek
  • 271,626
1
\documentclass{article}
\begin{document}
$\displaystyle E=\sum\nolimits_n{f(x)}$
\end{document}

enter image description here

Dan
  • 3,699