Template:Sum

From LifeWiki
Revision as of 17:14, 17 August 2023 by Confocal (talk | contribs) (typo)
Jump to navigation Jump to search

This template is for expressing mathematical summations. It uses a vertical grid, so makes the line it inhabits slightly taller. Its parameters may be expressed with their names present or forgone (in which case their order is used).

  • lowe: The lower bound
  • uppe: The upper bound
  • term: The summand

For instance, <tt>{{sum|k{{=}}0|n-1|k}}</tt> becomes Σn-1k=0(k). (Note that {{=}} must be used in place of =, which is otherwise accepted as a parameter and may cause problems.)

If you find this workaround inelegant, go pester politely ask Nathaniel Johnston to give us the MediaWiki LaTeX extension.