summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-28 22:44:57 +0000
committerKarl Berry <karl@freefriends.org>2012-09-28 22:44:57 +0000
commitc954ba7a2ddb829c997db2e90c6629c766738900 (patch)
treeeb47bbc53c741998259e5bbf0a55261ddf6ec077 /Master/texmf-dist/doc/generic
parenteceed410aed51a59b7dabadf39d0df14a44e90ce (diff)
pstricks-add (28sep12)
git-svn-id: svn://tug.org/texlive/trunk@27836 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes6
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin1886721 -> 1901244 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex58
3 files changed, 62 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index 0a77d7ca705..9f1444a33a1 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes
@@ -1,4 +1,4 @@
-%% $Id: Changes 606 2011-12-11 17:32:58Z herbert $
+%% $Id: Changes 710 2012-09-28 07:27:01Z herbert $
%%
pstricks-add.pro -----------
0.23 2009-12-17 - add RGBtoGRAY and WavelengthToGRAY
@@ -39,6 +39,10 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (Dominik Rodriguez/hv)
+ v 3.59 2012-09-27 - added uselinecolor option for \psChart
+ v 3.58 2012-06-04 - don't close data file
+ v 3.57 2011-12-20 - added \psparallelogrambox
+ v 3.56 2011-12-12 - added node definitions for \psTangentLine
v 3.55 2011-12-11 - fix bug in \psplotTangent for arrows and linewidth
v 3.54 2011-08-20 - new optional argument for the vee arrow line style
v 3.53 2011-08-03 - use setting of \Pst@Debug for shownode()
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
index c9939ccdaa4..cdd2654a9ed 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
index 0de24ab45d8..c98a703caad 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add-doc.tex 566 2011-08-20 07:19:32Z herbert $
+%% $Id: pstricks-add-doc.tex 710 2012-09-28 07:27:01Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -660,6 +660,47 @@ and can be used by the user for coloring lines or text.
\end{lstlisting}
+The linecolor of the pies is by default identical to the fillcolor. If you want another line color
+for all pies then use the optional argument \Lkeyword{uselinecolor}. In this case the current
+setting of \Lkeyword{linecolor} is taken into account:
+
+
+%\begin{LTXexample}[pos=t]
+\psset{unit=1.5}
+\begin{pspicture}(-3,-3)(3,3)
+\psChart[chartSep=30pt,shadow=true,shadowsize=5pt,
+ uselinecolor,linecolor=black!20]{34.5,17.2,20.7,15.5,5.2,6.9}{6}{2}
+\psset{nodesepA=5pt,nodesepB=-10pt}
+\ncline{psChartO1}{psChart1}\nput{0}{psChartO1}{1000 (34.5\%)}
+\ncline{psChartO2}{psChart2}\nput{150}{psChartO2}{500 (17.2\%)}
+\ncline{psChartO3}{psChart3}\nput{-90}{psChartO3}{600 (20.7\%)}
+\ncline{psChartO4}{psChart4}\nput{0}{psChartO4}{450 (15.5\%)}
+\ncline{psChartO5}{psChart5}\nput{0}{psChartO5}{150 (5.2\%)}
+\ncline{psChartO6}{psChart6}\nput{0}{psChartO6}{200 (6.9\%)}
+\bfseries\color{white}%
+\rput(psChartI1){Taxes}\rput(psChartI2){Rent}\rput(psChartI3){Bills}
+\rput(psChartI4){Car}\rput(psChartI5){Gas}\rput(psChartI6){Food}
+\end{pspicture}
+%\end{LTXexample}
+\psset{unit=1cm}
+
+\begin{lstlisting}
+\psset{unit=1.5}
+\begin{pspicture}(-3,-3)(3,3)
+\psChart[chartSep=30pt,shadow=true,shadowsize=5pt,
+ uselinecolor,linecolor=black!20]{34.5,17.2,20.7,15.5,5.2,6.9}{6}{2}
+\psset{nodesepA=5pt,nodesepB=-10pt}
+\ncline{psChartO1}{psChart1}\nput{0}{psChartO1}{1000 (34.5\%)}
+\ncline{psChartO2}{psChart2}\nput{150}{psChartO2}{500 (17.2\%)}
+\ncline{psChartO3}{psChart3}\nput{-90}{psChartO3}{600 (20.7\%)}
+\ncline{psChartO4}{psChart4}\nput{0}{psChartO4}{450 (15.5\%)}
+\ncline{psChartO5}{psChart5}\nput{0}{psChartO5}{150 (5.2\%)}
+\ncline{psChartO6}{psChart6}\nput{0}{psChartO6}{200 (6.9\%)}
+\bfseries\color{white}%
+\rput(psChartI1){Taxes}\rput(psChartI2){Rent}\rput(psChartI3){Bills}
+\rput(psChartI4){Car}\rput(psChartI5){Gas}\rput(psChartI6){Food}
+\end{pspicture}
+\end{lstlisting}
\clearpage
%--------------------------------------------------------------------------------------
@@ -1578,6 +1619,21 @@ to get the same equation for the curve as \Lcs{psplotTangentLine} does.
\end{LTXexample}
+The end points are saved as nodes \verb=OCurve=, \verb=ETangent=, and \verb=ENormal=. They can
+be used in the default ways for nodes:
+
+\begin{LTXexample}[pos=t,preset=\centering,wide]
+\psset{unit=4,arrowscale=2}
+\begin{pspicture}(0.1,-0.1)(4,1)
+\pscurve[showpoints=true](2.1,-0.2)(2.5,0.2)(3.2,0.4)(3.8,-0.2)
+\psTangentLine[Tnormal,arrows=->,linecolor=red](2.5,0.2)(3.2,0.4)(3.8,-0.2){3.5}{0.5}
+\psTangentLine[arrows=->,linecolor=blue](2.5,0.2)(3.2,0.4)(3.8,-0.2){3.5}{0.5}
+\pcline[linestyle=dashed]{->}(OCurve)(ETangent|OCurve)\naput{$v_x$}
+\pcline[linestyle=dashed]{->}(ETangent|OCurve)(ETangent)\naput{$v_y$}% double coordinate (x,y|x,y)
+\end{pspicture}
+\end{LTXexample}
+
+
\subsection{\nxLcs{psplotTangent} and option \nxLkeyword{Tnormal}}
%--------------------------------------------------------------------------------------
There is an additional option, named \Lkeyword{Derive} for an