# Making the subscript under the summation [duplicate]

I'm writing some formulas inside a tabular. My formulas have summation but the subscript is showing next to the summation not under it! How can I make it under it?

Example (j is next to summation!):

• \displaystyle Dec 18, 2014 at 19:09

You can force the subscripts to be under the summation, by using \limits, like this:

\sum\limits_{j=1} A_{xj}

An alternative way is to change the typesetting style of the formula by using \displaystyle. You probably already noticed, that the typesetting of math differs depending on what 'mode' your in: inline math or display math:

\documentclass[10pt,a4paper]{article}
\usepackage{amsmath}
\begin{document}
This sum $\sum_{i=1}^{\infty} \frac{1}{i}$ looks different than
$\sum_{i=1}^{\infty} \frac{1}{i}$
\end{document}

Output:

• I think there should be a \limits_ in the sum in the third from last line in your code. Jan 22, 2019 at 21:37
• @cgnorthcutt It is not needed, since display style automatically switches to this style of limits. The MWE was specifically intended to show this difference. Dec 15, 2019 at 18:28