Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

interval – Format mathematical intervals, ensuring proper spacing

When typ­ing an open in­ter­val as $]a,b[$, a clos­ing bracket is be­ing used in place of an open­ing fence and vice versa. This leads to the wrong spac­ing in, say, $]-a,b[$ or $A\in]a,b[=B$. The pack­age at­tempts to solve this us­ing:
\in­ter­val{a}{b} -> [a,b]
\in­ter­val[open]{a}{b} -> ]a,b[
\in­ter­val[open left]{a}{b} -> ]a,b]

The pack­age also sup­ports fence scal­ing and en­sures that the en­clos­ing fences will end up hav­ing the proper clos­ing and open­ing types.

TeX maths does not do this job prop­erly.

Sources/macros/latex/contrib/interval
Doc­u­men­ta­tion
Ver­sion0.2 2014-02-20
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerLars Mad­sen
Con­tained inTeXlive as in­ter­val
MikTeX as in­ter­val
Topics sup­port for type­set­ting math­e­mat­ics

Down­load the con­tents of this pack­age in one zip archive (301.9k).

Guest Book Sitemap Contact