summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/interval/README
blob: 0ae8b8be219cf612eeeb2dccb76b4a76b8f6ed36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% (C) Lars Madsen, daleif@math.au.dk, 2019/03/06
% This material is subject to the LaTeX Project Public License. 
% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html 
% for the details of that license.


This small package use the pgfkeys pacakge to solve the problem of
using the ]a,b[ syntax for indicating an open interval. Instead of
having to type this as \mathopen{]}a,b\mathclose{[} users can simply
use

  \interval[open]{a}{b}        (= ]a,b[ with proper spacing)

Other usages include

  \interval[open left]{a}{b}   (= ]a,b])
  \interval{a}{b}              (= [a,b])

We also provide a simple interface to switch to the more convenient
(a,b) tradition for specifying an open interval.

See the manual for details. 

* v0.4:
  Added \ointerval, \linterval, \rinterval short hands (suggested by Frank Mittelbach).
  They are just shots ways to say, say, \interval[open]{a}{b}, etc.

  Removed \intervalsetup (now gives an error if used, was set to equal \intervalconfig)

* v0.3: added the colorize option
* v0.2: typo in manual