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

## marked as duplicate by Werner 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(); } ); }); }); Dec 18 '14 at 19:11

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. – cgnorthcutt Jan 22 at 21:37