LaTeX Wiki
(amsmath link)
(AMS-LaTeX actually)
Line 1: Line 1:
[[Sum-class symbol]]s are symbols whose sub- and superscripts appear directly below and above the symbol rather than beside it. For example, the following example illustrates that <code>\sum</code> is one of these elite symbols whereas <code>\Sigma</code> is not. The terminology from [[amsmath]] documentation.
+
[[Sum-class symbol]]s are symbols whose sub- and superscripts appear directly below and above the symbol rather than beside it. For example, the following example illustrates that <code>\sum</code> is one of these elite symbols whereas <code>\Sigma</code> is not. The terminology from [[AMS-LaTeX]] documentation.
   
 
: <code>\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</code>
 
: <code>\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</code>

Revision as of 13:08, 19 June 2008

Sum-class symbols are symbols whose sub- and superscripts appear directly below and above the symbol rather than beside it. For example, the following example illustrates that \sum is one of these elite symbols whereas \Sigma is not. The terminology from AMS-LaTeX documentation.

\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}
\Sigma_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}

TeX is smart enough to only show \sum in its expanded form in the displaymath environment. In the regular math environment, \sum does the right thing and revert to non-sum-class behavior, thus conserving vertical space.

Another common sum-class symbol is \prod.

\prod_{i=1}^n x = x^n