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!):
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI'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!):
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:
\limits_
in the sum in the third from last line in your code.
Jan 22, 2019 at 21:37
\displaystyle