summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-04 22:13:05 +0000
committerKarl Berry <karl@freefriends.org>2014-08-04 22:13:05 +0000
commit2a0b31be5c1f7c36853b609eaa68a2ec0c0161d9 (patch)
treec8d833c575650ff2d9330f769bd22e54820f2079 /Master/texmf-dist/doc
parentbc1323c73038ad7c10b4e6b5328e6933df75f941 (diff)
interval (4aug14)
git-svn-id: svn://tug.org/texlive/trunk@34840 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/interval/README26
-rw-r--r--Master/texmf-dist/doc/latex/interval/interval.pdfbin308061 -> 312511 bytes
-rw-r--r--Master/texmf-dist/doc/latex/interval/interval.tex13
3 files changed, 38 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/interval/README b/Master/texmf-dist/doc/latex/interval/README
new file mode 100644
index 00000000000..d4c27853a61
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/interval/README
@@ -0,0 +1,26 @@
+% (C) Lars Madsen, daleif@imf.au.dk, 2014/08/04
+% 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.2: typo in manual
+* v0.3: added the colorize option
+
diff --git a/Master/texmf-dist/doc/latex/interval/interval.pdf b/Master/texmf-dist/doc/latex/interval/interval.pdf
index 7f2e8b233f3..c87b9bc452c 100644
--- a/Master/texmf-dist/doc/latex/interval/interval.pdf
+++ b/Master/texmf-dist/doc/latex/interval/interval.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/interval/interval.tex b/Master/texmf-dist/doc/latex/interval/interval.tex
index c0c92d845f6..0413707a6f7 100644
--- a/Master/texmf-dist/doc/latex/interval/interval.tex
+++ b/Master/texmf-dist/doc/latex/interval/interval.tex
@@ -85,7 +85,18 @@ We note that the interval separator symbol is hidden inside the
left open fence=(,
right open fence=)
\end{quote}
-
+\item[colorize]
+ Default: \meta{empty}. When rewriting an existing document into
+ using the \textsf{interval} package, it turns out to be \emph{very}
+ handy to color the result of the \cs{interval} macro to keep track
+ of which have been rewritten and which has not.
+ This can be done using
+\begin{lstlisting}[basicstyle=\ttfamily,columns=flexible]
+ \usepackage{xcolor}
+ \intervalconfig{ colorize=\color{red} }
+\end{lstlisting}
+It will colorize the entire interval including the fences.
+
\end{description}
\subsection{Usage options}