| 1 |
% (C) Lars Madsen, [email protected], 2019/03/06 |
| 2 |
% This material is subject to the LaTeX Project Public License. |
| 3 |
% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html |
| 4 |
% for the details of that license. |
| 5 |
|
| 6 |
|
| 7 |
This small package use the pgfkeys pacakge to solve the problem of |
| 8 |
using the ]a,b[ syntax for indicating an open interval. Instead of |
| 9 |
having to type this as \mathopen{]}a,b\mathclose{[} users can simply |
| 10 |
use |
| 11 |
|
| 12 |
\interval[open]{a}{b} (= ]a,b[ with proper spacing) |
| 13 |
|
| 14 |
Other usages include |
| 15 |
|
| 16 |
\interval[open left]{a}{b} (= ]a,b]) |
| 17 |
\interval{a}{b} (= [a,b]) |
| 18 |
|
| 19 |
We also provide a simple interface to switch to the more convenient |
| 20 |
(a,b) tradition for specifying an open interval. |
| 21 |
|
| 22 |
See the manual for details. |
| 23 |
|
| 24 |
* v0.4: |
| 25 |
Added \ointerval, \linterval, \rinterval short hands (suggested by Frank Mittelbach). |
| 26 |
They are just shots ways to say, say, \interval[open]{a}{b}, etc. |
| 27 |
|
| 28 |
Removed \intervalsetup (now gives an error if used, was set to equal \intervalconfig) |
| 29 |
|
| 30 |
* v0.3: added the colorize option |
| 31 |
* v0.2: typo in manual |
| 32 |
|