LaTeX Wiki
No edit summary
(Removed some spam text)
Tags: Visual edit apiedit
(12 intermediate revisions by 10 users not shown)
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 [[AMS-LaTeX]] documentation.
+
[[Sum-class symbol]]s, or ''accumulation 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 <code>\sum</code> is one of these elite symbols whereas <code>\Sigma</code> is not. The terminology from [[AMS-LaTeX]] documentation.
  +
__TOC__
  +
===Table of sum-class symbols===
  +
{{multicol||indent=3em}}
  +
<p style="line-height:300%">
  +
{{Lsym1|int}}<br>
  +
{{Lsym1|oint}}<br>
  +
{{Lsym1|bigcap}}<br>
  +
{{Lsym1|bigcup}}</p>
  +
{{multicol-break}} <!------------------>
  +
<p style="line-height:300%">
  +
{{Lsym1|bigodot}}<br>
  +
{{Lsym1|bigoplus}}<br>
  +
{{Lsym1|bigotimes}}<br>
  +
{{Lsym1|bigsqcup}}</p>
  +
{{multicol-break}} <!------------------>
  +
<p style="line-height:300%">
  +
{{Lsym1|biguplus}}<br>
  +
{{Lsym1|bigvee}}<br>
  +
{{Lsym1|bigwedge}}<br>
  +
{{Lsym1|coprod}}</p>
  +
{{multicol-break}} <!------------------>
  +
<p style="line-height:300%">
  +
{{Lsym1|prod}}<br>
  +
<br>
  +
{{Lsym1|sum}}</p>
  +
{{multicol-end}}
   
  +
===Using {{Lsym|sum}}===
: <code>\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</code>
 
  +
{{UsageTable}} <!-- LaTeX markup... ...results: ...and is used for: -->
: <math>\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</math>
+
{{UsageTable-row|\sum\limits_{i{{=}}1}^n i^2 {{=}} \frac{n(n+1)(2n+1)}{6}<!--
 
-->|\sum\limits_{i{{=}}1}^n i^2 {{=}} \frac{n(n+1)(2n+1)}{6}<!--
  +
-->|the \limits tag puts the limits below and above the sigma symbol. It is typically used in equations}}
  +
{{UsageTable-row|\sum\nolimits_{P_i \in Paths(I)} Probes(P_{i})<!--
  +
-->|\sum\nolimits_{P_i \in Paths(I)} Probes(P_{i})<!--
  +
-->|the \nolimits tag puts the limits on the right of the sigma symbol. It is typically used in the math wired in the text}}
  +
{{UsageTable-end}}
   
 
TeX is smart enough to only show <code>\{{Lsym|sum}}</code> in its expanded form in the {{Lenv|displaymath}} environment. In the regular {{Lenv|math}} environment, <code>\sum</code> does the right thing and revert to non-sum-class behavior, thus conserving vertical space.
: <code>\Sigma_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</code>
 
: <math>\Sigma_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</math>
 
   
  +
===Using {{Lsym|prod}}===
TeX is smart enough to only show <code>\sum</code> in its expanded form in the [[displaymath]] environment. In the regular [[math]] environment, <code>\sum</code> does the right thing and revert to non-sum-class behavior, thus conserving vertical space.
 
  +
Another common sum-class symbol is <code>\prod</code>. As in <code>\sum</code> we can use the directive <code>\limits</code> or <code>\nolimits</code> in order to show the limits on top-down or on the right.
   
  +
{{UsageTable}} <!-- LaTeX markup... ...results: ...and is used for: -->
Another common sum-class symbol is <code>\prod</code>.
 
  +
{{UsageTable-row|\prod\limits_{i{{=}}1}^n x {{=}} x^n<!--
 
: <code>\prod_{i=1}^n x = x^n</code>
+
-->|\prod\limits_{i{{=}}1}^n x {{=}} x^n<!--
  +
-->|the product of a sequence of factors}}
: <math>\prod_{i=1}^n x = x^n</math>
 
  +
{{UsageTable-end}}
 
[[Category:Math]]
 
[[Category:Math]]
 
[[Category:Symbol]]
 
[[Category:Symbol]]
  +
[[Category:Language reference]]

Revision as of 01:24, 27 April 2016

Sum-class symbols, or accumulation 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.

Table of sum-class symbols

  \int
  \oint
  \bigcap
  \bigcup

  \bigodot
  \bigoplus
  \bigotimes
  \bigsqcup

  \biguplus
  \bigvee
  \bigwedge
  \coprod

  \prod

  \sum

Using sum

LaTeX markup... ...results in: ...is used for:
\sum\limits_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6} the \limits tag puts the limits below and above the sigma symbol. It is typically used in equations
\sum\nolimits_{P_i \in Paths(I)} Probes(P_{i}) the \nolimits tag puts the limits on the right of the sigma symbol. It is typically used in the math wired in the text

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.

Using prod

Another common sum-class symbol is \prod. As in \sum we can use the directive \limits or \nolimits in order to show the limits on top-down or on the right.

LaTeX markup... ...results in: ...is used for:
\prod\limits_{i=1}^n x = x^n the product of a sequence of factors