summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sparklines
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-10-19 21:47:10 +0000
committerKarl Berry <karl@freefriends.org>2014-10-19 21:47:10 +0000
commitc07d0b959c7e9bbc2b3beeeab1ebf9ab11489255 (patch)
treeec3fe659eef8e37bc5bff6932e145f9f0c72fd11 /Master/texmf-dist/doc/latex/sparklines
parent416f9a1ed6283aa2de2f1c4961c6d68f3d28f30f (diff)
sparklines (19oct14)
git-svn-id: svn://tug.org/texlive/trunk@35400 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/sparklines')
-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.