Template:Sum

From LifeWiki
Revision as of 16:52, 17 August 2023 by DroneBetter (talk | contribs) (Create (a template for expressing summations with properly-aligned limits, that we shall love and cherish forevermore :-))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 poitely ask Nathaniel Johnston to give us the MediaWiki LaTeX extension.