summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/sparklines/sparklines.pdfbin71033 -> 35574 bytes
-rw-r--r--Master/texmf-dist/doc/latex/sparklines/sparklines.tex30
2 files changed, 28 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/sparklines/sparklines.pdf b/Master/texmf-dist/doc/latex/sparklines/sparklines.pdf
index 1216b19649a..487d09fdb00 100644
--- a/Master/texmf-dist/doc/latex/sparklines/sparklines.pdf
+++ b/Master/texmf-dist/doc/latex/sparklines/sparklines.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/sparklines/sparklines.tex b/Master/texmf-dist/doc/latex/sparklines/sparklines.tex
index 2bc3eae5a2b..a489d7d7e22 100644
--- a/Master/texmf-dist/doc/latex/sparklines/sparklines.tex
+++ b/Master/texmf-dist/doc/latex/sparklines/sparklines.tex
@@ -15,7 +15,7 @@
\title{Sparklines}
\author{Andreas Loeffler \and Dan Luecking}
-\date{updated 21.~November 2009 (version 1.5)}\maketitle
+\date{updated 19.~October 2014 (version 1.6)}\maketitle
\section{What are sparklines?}
@@ -157,10 +157,36 @@ user may change (with \verb$\setlength$). The default is \texttt{2pt}.
\end{verbatim}
before the sparkline environment (see a manual about defining colors in \LaTeX{} if you do not understand the definition of \emph{named} etc.).
-
+\paragraph{Bottom line} This adds a bottom line (the x-axis) which can be useful to visually separate different bar charts that are next to each other:
+\begin{sparkline}{5}
+\definecolor{sparkbottomlinecolor}{gray}{0.9}
+\sparkspike .15 .55
+\sparkspike .317 1
+\sparkspike .483 .62
+\sparkspike .65 .42
+\sparkspike .817 .5
+\sparkbottomline 0.9
+\end{sparkline}.
+The code used was
+\begin{verbatim}
+ \begin{sparkline}{5}
+ \definecolor{sparkbottomlinecolor}{gray}{0.9}
+ \sparkspike .15 .55
+ \sparkspike .317 1
+ \sparkspike .483 .62
+ \sparkspike .65 .42
+ \sparkspike .817 .5
+ \sparkbottomline 0.9
+ \end{sparkline}.
+\end{verbatim}
+Changing the color of the bottom line is quite easy using the command
\section*{Version history}
\begin{description}
+ \item[] Oct 19, 2014
+
+ version 1.6: Emiel van Miltenburg (emiel.van.miltenburg@vu.nl) - Adding a bottom line (the x-axis, this is useful to visually separate different bar charts that are next to each other) and changing the color of the bottom line.
+
\item[] Nov 21, 2009
version 1.5: Benno Puetz (puetz@mpipsykl.mpg.de) made change of colors possible.