# New on CTAN: interval

Date: May 29, 2013 11:23:22 PM CEST
out in the wilderness, the daemon cries: > The following information was provided by the package's contributor. > > Name of contribution: interval > Author's name: Lars Madsen > Package version: 0.1 > Location on CTAN: macros/latex/contrib/interval/ > Summary description: Provides a macro to format intervals, ensuring > the proper spacings around the fences > License type: lppl > > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > When typing an open interval as $]a,b[$, a closing bracket is being > used in place of an opening fence and vice verse. This leads the wrong > spacing in, say, $]-a,b[$ or $A\in]a,b[=B$. This package attempts to > solve this using > > \interval{a}{b} -> [a,b] > \interval[open]{a}{b} -> ]a,b[ > \interval[open left]{a}{b} -> ]a,b] > > etc. > > It also support fence scaling and ensure that the enclosing fences > will end up having the proper closing and opening type. > ---------------------------------------------------------------------- thanks for the upload; i've installed the new package, and made an entry for it in the catalogue repository. > 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/ 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. maths does not do this job properly.

The package depends on pgfkeys.

 Package interval Version 0.4 2019-03-06 Maintainer Lars Madsen

more