CTAN Comprehensive TeX Archive Network

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.

Sources/macros/latex/contrib/interval
Documentation
Version0.4 2019-03-06
LicensesThe Project Public License 1.3
MaintainerLars Madsen
Contained inTeX Live as interval
MiKTeX as interval
TopicsParentheses management
Maths

Download the contents of this package in one zip archive (317.6k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author