# CTAN Update: interval

Date: March 7, 2019 6:40:53 PM CET

Lars Madsen submitted an update to the
interval
package.
Version: 0.4 2019-03-06
License: lppl1.3
Summary description: Format mathematical intervals, ensuring proper spacing
Announcement text:

New in version 0.4: Added \ointerval, \linterval, \rinterval short hands (suggested by Frank Mittelbach). They are just short ways to say, say, \interval[open]{a}{b}, etc. Removed \intervalsetup (now gives an error if used, was set to equal \intervalconfig)

The package’s Catalogue entry can be viewed at https://ctan.org/pkg/interval The package’s files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/interval/

Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese

We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

New in version 0.4: Added \ointerval, \linterval, \rinterval short hands (suggested by Frank Mittelbach). They are just short ways to say, say, \interval[open]{a}{b}, etc. Removed \intervalsetup (now gives an error if used, was set to equal \intervalconfig)

The package’s Catalogue entry can be viewed at https://ctan.org/pkg/interval The package’s files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/interval/

Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese

We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

## interval – Format mathematical intervals, ensuring proper spacing

When typing an open interval as `$]a,b[$`, a closing
bracket is being used in place of an opening fence and vice versa.
This leads to the wrong spacing in, say,
`$]-a,b[$ or $A\in]a,b[=B$`. The package attempts to solve
this using:

`\interval{a}{b}` -> `[a,b]`

`\interval[open]{a}{b}` -> `]a,b[`

`\interval[open left]{a}{b}` -> `]a,b]`

The package also supports fence scaling and ensures that the enclosing fences will end up having the proper closing and opening types. TeX maths does not do this job properly.

The package depends on pgfkeys.

Package | interval |

Version | 0.4 2019-03-06 |

Maintainer | Lars Madsen |