Comprehensive TeX Archive Network

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.

maths does not do this job prop­erly.

Sources /macros/latex/contrib/interval
Ver­sion 0.3 2014-08-04
Li­cense The Project Public Li­cense 1.3
Main­tainer Lars Mad­sen
Con­tained in TeX Live 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 (306.9k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author