Jump to content

Template:Closed-closed/doc

From Wikipedia, the free encyclopedia

The closed-closed template wraps its argument in a left square bracket, right square bracket. These are used to delimit a closed-closed interval in mathematics, that is one which includes both the start and end points.

The template uses {{math}} to ensure there is no line break in the expression and format Greek characters better. It should only be used on its own in text and not within a {{math}} template.

Open-closed and closed-open intervals are liable to be misunderstood and 'fixed' to use round brackets on either side. Use of these templates should warn editors that what is there is what is meant and point to the meaning.

Usage

[edit]

Use this to wrap a closed-closed interval. For example:

If the argument may be infinite the range is {{closed-closed|−π, π}}.

produces:

If the argument may be infinite the range is [−π, π].

See also

[edit]
  • {{closed-open}} is a template to delimit a closed-open interval.
  • {{open-closed}} is a template to delimit an open-closed interval.
  • {{open-open}} is a template to delimit an open-open interval.
  • {{bracket}} encloses plain text without math formatting.