# CTAN update: interval

Date: August 5, 2014 8:13:14 PM CEST

the daemon reports:
> Name of contribution: interval
> Author's name: Lars Madsen
> Package version: 0.3 2014-08-04
> Location on CTAN: macros/latex/contrib/interval/
> Summary description: Format mathematical intervals, ensuring proper spacing
> License type: lppl1.3
>
>
> Announcement text given by the package's contributor:
> ----------------------------------------------------------------------
> Added colorize option, making it easy to colorize intervals. Very
> handy when converting older documents.
> ----------------------------------------------------------------------
>
> Announcement required: Yes
>
> Users may view the package catalogue entry at
> http://www.ctan.org/pkg/interval
> or they may browse the package directory at
> http://mirror.ctan.org/macros/latex/contrib/interval/
thanks for the upload; i've installed the new version, and updated the
catalogue repository.
The updated package should by now have reached all CTAN mirrors.
Robin Fairbairns
For the CTAN team

## 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 |