summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-17 14:28:18 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-17 14:28:18 +0000
commit5bb3d3a90123ee043d1502d4bc9d8d50b063904c (patch)
treeda549deeb84d609f06fdb70d197ebab09c440bea /Master/texmf-dist/doc
parentec1024d29e6ef9979eff704128f6dba53e72987e (diff)
pstricks-add v 3.02 2008-04-25
git-svn-id: svn://tug.org/texlive/trunk@8190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes5
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.bib4
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin1653269 -> 1669809 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex90
4 files changed, 96 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index 6849ace2dd5..9a0b34faa3e 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 20 2008-04-15 18:40:18Z herbert $
+%% $Id: Changes 23 2008-05-15 21:51:18Z herbert $
%%
pstricks-add.pro ----------- (Dominik Rodriguez/hv)
v 0.20 2008-01-12 - moved the AlgParser into pst-algparser.pro
@@ -33,6 +33,9 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (Dominik Rodriguez/hv)
+ v 3.02 2008-04-25 - set correct labelFontSize for math mode
+ - add macro \psPie with some additional
+ optional arguments
v 3.01 2008-04-15 - import changes from pst-plot in \ps@axisiv
new option mathLabel for setting labels in text
or math mode
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.bib b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.bib
index 3b2d2e236e0..d7ec06279cf 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.bib
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.bib
@@ -38,7 +38,7 @@
edition = {zweite},
publisher = {Pearson Education},
year = {2005},
- address = {München}
+ address = {M\"unchen}
}
@Book{unbound,
@@ -176,6 +176,6 @@
Author = {Herbert Vo\ss},
Publisher = {Franzis Verlag},
Edition= {first},
- Address= {München},
+ Address= {M\"unchen},
Year= {2006},
}
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 8ccd6bdec9a..e672d042e3d 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 be94d8f35e6..ccfe20c18ea 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
@@ -1333,8 +1333,98 @@ macro.
\end{pspicture}
\end{LTXexample}
+
\clearpage
%--------------------------------------------------------------------------------------
+\section{\CMD{psPie}: a pie chart}
+%--------------------------------------------------------------------------------------
+
+\begin{lstlisting}[style=syntax]
+\psPie[<options>]{comma separated value list}{comma separated value list}{radius}
+\end{lstlisting}
+
+The special optional arguments for the \CMD{psPie} macro are as follows:
+
+\begin{tabularx}{\linewidth}{@{}>{\ttfamily}lX>{\ttfamily}l@{}}
+\textrm{\emph{name}} & \textrm{\emph{description}} & \textrm{\emph{default}}\\\hline
+pieSep & distance from the pie chart center center to an outraged pie piece & 10pt\\
+pieColor & gray or colored pie (values are: \texttt{gray} or \texttt{color})& gray\\
+userColor & a comma separated list of user defined colors for the pie & \{\}
+\end{tabularx}
+
+\bigskip
+The first mandatory argument is the list of the values and may not be empty. The second
+one is a list of outraged pieces, numbered consecutively from 1 to up the total number
+of values. The list of user defined colors must be enclosed in braces!
+
+The macro \CMD{psPie} defines for every value three nodes at the half angle and
+in distances from 0.75, 1, and 1.25 times of the radius from the origin. The nodes
+are named as \verb+psPieI?+, \verb+psPie?+, and \verb+psPieO?+, where ? is the number of
+the pie. The letter I leads to the inner node and the letter O to the outer node. The
+other one is the node on the circle line.
+The
+origin is by default \texttt{(0,0)}. Moving the pie to another position can be done as
+usual with the \CMD{rput}-macro. The used colors are named internally as \verb+pieFillColor?+
+and can be used by the user for coloring lines or text.
+
+
+\begin{LTXexample}[width=6cm]
+\begin{pspicture}(-3,-3)(3,3)
+\psPie{ 23, 29, 3, 26, 28, 14 }{}{2}
+\multido{\iA=1+1}{6}{%
+ \psdot(psPie\iA)\psdot(psPieI\iA)\psdot(psPieO\iA)%
+ \psline[linestyle=dashed,linecolor=white](psPie\iA)
+ \psline[linestyle=dashed](psPie\iA)(psPieO\iA)}
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[width=6cm]
+\begin{pspicture}(-3,-3)(3,3)
+\psPie[pieColor=color]{ 45, 90 }{ 1 }{2}
+\ncline[linecolor=-pieFillColor1,
+ nodesepB=-20pt]{psPieO1}{psPie1}
+\rput[l](psPieO1){%
+ \textcolor{pieFillColor1}{pie no 1}}
+\ncline[linecolor=-pieFillColor2,
+ nodesepB=-20pt]{psPieO2}{psPie2}
+\rput[lt](psPieO2){%
+ \textcolor{pieFillColor2}{pie no 2}}
+\end{pspicture}
+\end{LTXexample}
+
+\begin{LTXexample}[width=7.5cm]
+\psframebox[fillcolor=black!20,
+ fillstyle=solid]{%
+\begin{pspicture}(-3.5,-3.5)(4.25,3.5)
+\psPie[pieColor=color]%
+ {23, 29, 3, 26, 28, 14, 17, 4, 9}{}{2}
+\multido{\iA=1+1}{9}{%
+ \ncline[linecolor=-pieFillColor\iA,
+ nodesepB=-10pt]{psPieO\iA}{psPie\iA}
+ \rput[l](psPieO\iA){%
+ \textcolor{pieFillColor\iA}{pie no \iA}}}
+\end{pspicture}}
+\end{LTXexample}
+
+\begin{LTXexample}[width=6cm]
+\begin{pspicture}(-3,-3)(3,3)
+\psPie[userColor={red!30,green!30,
+ blue!40,gray,magenta!60,cyan}]%
+ { 23, 29, 3, 26, 28, 14 }{1,4}{2}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+\begin{LTXexample}[width=6cm]
+\begin{pspicture}(-3,-3)(3,3)
+\psPie{ 23, 29, 3, 26, 28, 14 }{}{2}
+\multido{\iA=1+1}{6}{\rput*(psPieI\iA){\iA}}
+\end{pspicture}
+\end{LTXexample}
+
+
+%--------------------------------------------------------------------------------------
\section{\CMD{psHomothetie}: central dilatation}
%--------------------------------------------------------------------------------------