I have a fraction with sums above and under the line. How can I convince LaTeX to write the indices of the sums under the sigma instead of next to it?
\begin{displaymath}
\frac{\sum_{s \in S} s^2}{\sum_{p \in P} p^2}
\end{displaymath}
\begin{displaymath}
\frac{\sum\limits_{s \in S} s^2}{\sum\limits_{p \in P} p^2}
\end{displaymath}
\begin{displaymath}
\frac{\displaystyle\sum_{s \in S} s^2}{\displaystyle\sum_{p \in P} p^2}
\end{displaymath}
\limits is the better choice since it does not change the size of the summation sign.
– Michael Ummels
Mar 18 '11 at 16:20
\displaystyle in this case.
– Michael Ummels
Mar 18 '11 at 16:32
\limits that changed the size of the sigma symbols, it was the use of \displaystyle. I think your first comment should be deleted for confusion reasons.
– night owl
Jun 30 '11 at 06:25
\limits is a better choice exactly because it does not change the size.
– Michael Ummels
Jun 30 '11 at 10:08
sumlimitsoption could be given to theamsmathpackage on loading. That automatically affects the placement of limits when in display math, not inline math. Cfr. https://tex.stackexchange.com/a/32827/4735 – Ludovic Kuty Sep 04 '17 at 12:59