From 2ad99864320c53576bcc36ed5f06c55a265d92fc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 23 Nov 2009 00:09:17 +0000 Subject: sparklines update (22nov09) git-svn-id: svn://tug.org/texlive/trunk@16131 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/sparklines/sparklines.sty | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex') 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}} -- cgit v1.2.3