Template:Open-closed/doc

The open-closed template wraps its argument in a left round bracket, right square bracket. These are used to delimit an open-closed interval in mathematics, that is one which doesn't include the start point but does include the end point.

The template uses math to ensure there is no line break in the expression and the Greek characters look 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
Use this to wrap an open-closed interval. For example:

produces:

The range of atan2 is $(−π, π]$.