summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-23 00:09:17 +0000
committerKarl Berry <karl@freefriends.org>2009-11-23 00:09:17 +0000
commit2ad99864320c53576bcc36ed5f06c55a265d92fc (patch)
tree60ef1bb2e2ee3dae0865349c08ce830b280ed219 /Master/texmf-dist/tex
parent4f453c2ddb846146a153d122f584535aee4304b3 (diff)
sparklines update (22nov09)
git-svn-id: svn://tug.org/texlive/trunk@16131 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/sparklines/sparklines.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/sparklines/sparklines.sty b/Master/texmf-dist/tex/latex/sparklines/sparklines.sty
index 33eff2183a1..1b1e686b26b 100644
--- a/Master/texmf-dist/tex/latex/sparklines/sparklines.sty
+++ b/Master/texmf-dist/tex/latex/sparklines/sparklines.sty
@@ -1,4 +1,4 @@
-%%% sparklines.sty Version 1.4
+%%% sparklines.sty Version 1.5
%%%
%%% What Are Sparklines?
%%% Sparklines are intense, simple, wordlike graphics (so named by Edward Tufte).
@@ -16,6 +16,8 @@
%%% al@wacc.de
%%%
%%% MODIFICATION HISTORY:
+%%% Nov 21, 2009
+%%% version 1.5: Benno Puetz (puetz@mpipsykl.mpg.de) made change of colors possible.
%%% Apr 20, 2009
%%% version 1.4: Alexander Kowalski (Alexander.Kowarik@statistik.gv.at) found an error concerning spark-rectangles
%%% Mar 21, 2007
@@ -29,14 +31,15 @@
%%% version 1.0: first version of sparklines
\ProvidesPackage{sparklines}
- [2007/04/20 v1.4 Sparklines (see more on sparklines at www.EdwardTufte.com)]
- \typeout {Package: `sparklines' 1.4 \space 2007/04/20}
+ [2007/11/21 v1.5 Sparklines (see more about sparklines at www.EdwardTufte.com)]
+ \typeout {Package: `sparklines' 1.5bp \space 2009/11/21}
\RequirePackage{pgf}
% We define the colors of two features: the background rectangle and
% the spikes in a bar graph
\definecolor{sparkrectanglecolor}{gray}{0.9}
\definecolor{sparkspikecolor}{named}{black}
+\definecolor{sparklinecolor}{named}{black}
% We define parameters for changing the sizes. These are
% \sparklinethickness -- thickness of the line drawn by \spark,
@@ -83,6 +86,7 @@
\pgfmoveto{\pgfxy(#1,#2)} %
\@SPARK}
\def\@SPARK#1 #2 {%
+ \pgfsetstrokecolor{sparklinecolor}%
\pgflineto{\pgfxy(#1,#2)} %
\@ifnextchar/{\pgfstroke\ignorespaces}{\@SPARK}}