diff options
author | Karl Berry <karl@freefriends.org> | 2007-09-26 17:54:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-09-26 17:54:09 +0000 |
commit | 8286e8f8443b365625bc4b24a1abc456129738ff (patch) | |
tree | 868826acd057768d68c23a794d737fef1486e80a /Master/texmf-dist/doc/generic/pst-fractal | |
parent | e681b05dbd6ec04a81ce0d7eb73de747c1a3113e (diff) |
pst-fractal 0.0.5 (25sep07)
git-svn-id: svn://tug.org/texlive/trunk@5050 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-fractal')
19 files changed, 92 insertions, 50 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-fractal/Changes b/Master/texmf-dist/doc/generic/pst-fractal/Changes index 950b39f641c..262966e76c1 100755 --- a/Master/texmf-dist/doc/generic/pst-fractal/Changes +++ b/Master/texmf-dist/doc/generic/pst-fractal/Changes @@ -3,6 +3,9 @@ pst-fractal.sty -------- pst-fractal.tex -------- +0.05 2007-09-25 - allow unbalanced trees with option 0<c<1 + - use option c for unballanced trees + - new option minWidth 0.04 2007-05-16 added the new macros \psPhyllotaxis \psFern @@ -12,3 +15,9 @@ pst-fractal.tex -------- \psFArrow all with several new options 0.03 2007-04-05 first CTAN version + + +pst-fractal.sty -------- +2007-09-25 add message for pst-fractal.pro +2007-04-05 first CTAN version + diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/1.png b/Master/texmf-dist/doc/generic/pst-fractal/images/1.png Binary files differindex 10bc561dd15..21fb2d78cbc 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/1.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/1.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/2.png b/Master/texmf-dist/doc/generic/pst-fractal/images/2.png Binary files differindex 09ee953ff62..10bc561dd15 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/2.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/2.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/3.png b/Master/texmf-dist/doc/generic/pst-fractal/images/3.png Binary files differindex aa274420d4f..09ee953ff62 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/3.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/3.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/36.png b/Master/texmf-dist/doc/generic/pst-fractal/images/36.png Binary files differindex 2a8e66daabe..4ff656584ea 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/36.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/36.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/37.png b/Master/texmf-dist/doc/generic/pst-fractal/images/37.png Binary files differindex 766df056681..24c97f736e1 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/37.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/37.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/38.png b/Master/texmf-dist/doc/generic/pst-fractal/images/38.png Binary files differindex 1304823e494..2a8e66daabe 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/38.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/38.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/39.png b/Master/texmf-dist/doc/generic/pst-fractal/images/39.png Binary files differindex e68fe33cbe1..766df056681 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/39.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/39.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/4.png b/Master/texmf-dist/doc/generic/pst-fractal/images/4.png Binary files differindex 6c1a0213435..aa274420d4f 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/4.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/4.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/40.png b/Master/texmf-dist/doc/generic/pst-fractal/images/40.png Binary files differindex 1f499f9e303..1304823e494 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/40.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/40.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/41.png b/Master/texmf-dist/doc/generic/pst-fractal/images/41.png Binary files differindex a180e40a97b..e68fe33cbe1 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/41.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/41.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/42.png b/Master/texmf-dist/doc/generic/pst-fractal/images/42.png Binary files differindex b237a48041b..1f499f9e303 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/42.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/42.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/43.png b/Master/texmf-dist/doc/generic/pst-fractal/images/43.png Binary files differindex a74adab8101..a180e40a97b 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/43.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/43.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/44.png b/Master/texmf-dist/doc/generic/pst-fractal/images/44.png Binary files differnew file mode 100644 index 00000000000..b237a48041b --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/44.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/45.png b/Master/texmf-dist/doc/generic/pst-fractal/images/45.png Binary files differnew file mode 100644 index 00000000000..a74adab8101 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/45.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/images/5.png b/Master/texmf-dist/doc/generic/pst-fractal/images/5.png Binary files differindex 21fb2d78cbc..6c1a0213435 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/images/5.png +++ b/Master/texmf-dist/doc/generic/pst-fractal/images/5.png diff --git a/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.bib b/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.bib index c8b11d8a899..8eef82786f7 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.bib +++ b/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.bib @@ -90,17 +90,16 @@ gezeigt. } } - -@Book{companion, - author = {Michel Goosens and Frank Mittelbach and Alexander - Samarin}, +@Book{tlgc2, + author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}}, title = {The {\LaTeX} {G}raphics {C}ompanion}, publisher = {{Addison-Wesley Publishing Company}}, - year = {2004}, - edition = {2.}, + edition = second, + year = {2007}, address = {Reading, Mass.} } + @Book{PSTricks2, author = {Herbert Vo\ss}, title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, diff --git a/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.pdf b/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.pdf Binary files differindex aa0705dd80f..182cc17deb6 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.tex b/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.tex index 9103b7a2394..6c27664676d 100644 --- a/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-fractal/pst-fractal-doc.tex @@ -5,7 +5,7 @@ \usepackage{amsmath} \usepackage{graphicx} \usepackage{geometry,lmodern} -\usepackage{xcolor} +\usepackage{xcolor,array} %\usepackage{pstricks} \usepackage{listings} %\usepackage{pst-pdf} @@ -48,6 +48,8 @@ captionpos=t,% xleftmargin=1em,% } +\lstdefinestyle{syntax}{backgroundcolor=\color{blue!20},numbers=none,xleftmargin=0pt,xrightmargin=0pt, + frame=single} \usepackage{pst-fractal} \let\myFV\fileversion @@ -92,19 +94,40 @@ this package together with the spcecial one \verb+pst-xkey+ for PSTricks. The \v package is available at \href{ftp://ftp.dante.de/pub/tex/macros/latex/contrib/xkeyval/}{CTAN:/macros/latex/contrib/xkeyval/}. It is also important that after \verb+pst-fractal+ no package is loaded, which uses the old keyval interface. -The fractals are really big, which is the reason why this document is about 15 MByte. +The fractals are really big, which is the reason why this document is about 15 MByte +when you run it without using the external png-images. \vspace*{2cm} \end{abstract}% \tableofcontents +\section{Sierpinski triangle} + +The triangle must be given by three mandatory arguments: + +\begin{lstlisting}[style=syntax] +\psSier[settings](x0,y0)(x1,y1)(x2,y2) +\end{lstlisting} + +In difference to \verb|psfractal| it doesn't reserve any space, this is the +reason why it should be part of a \verb|pspicture| environment. + +\img{1} +\begin{lstlisting} +\begin{pspicture}(5,5) + \psSier(0,0)(2,5)(5,0) +\end{pspicture} +\end{lstlisting} + + + \section{Julia and Mandelbrot sets} The syntax of the \verb+psfractal+ macro is simple -\begin{verbatim} +\begin{lstlisting}[style=syntax] \psfractal[settings](x0,y0)(x1,y1) -\end{verbatim} +\end{lstlisting} All Arguments are optional, \verb+psfractal+ is the same as \verb+\psfractal(-1,-1)(1,1)+. The Julia and Mandelbrot sets are a graphical representation of the following sequence @@ -126,12 +149,12 @@ z_0 &= (x_0;y_0) $(x_0;y_0)$ is the starting value. -\img{1} +\img{2} \begin{lstlisting} \psfractal \end{lstlisting} -\img{2} +\img{3} \begin{lstlisting} \psfractal[xWidth=4cm,yWidth=4cm, baseColor=white, dIter=20](-2,-2)(2,2) \end{lstlisting} @@ -149,36 +172,18 @@ C(x,y) &= (x_0;y_0) $(x_0;y_0)$ is the starting value. -\img{3} -\begin{lstlisting} -\psfractal[type=Mandel] -\end{lstlisting} - - \img{4} \begin{lstlisting} -\psfractal[type=Mandel, xWidth=6cm, yWidth=4.8cm, baseColor=white, dIter=10](-2,-1.2)(1,1.2) +\psfractal[type=Mandel] \end{lstlisting} -\subsection{Sierpinski triangle} - -The triangle must be given by three mandatory arguments: - -\begin{verbatim} -\psSier[settings](x0,y0)(x1,y1)(x2,y2) -\end{verbatim} - -In difference to \verb|psfractal| it doesn't reserve any space, this is the -reason why it should be part of a \verb|pspicture| environment. \img{5} \begin{lstlisting} -\begin{pspicture}(5,5) - \psSier(0,0)(2,5)(5,0) -\end{pspicture} +\psfractal[type=Mandel, xWidth=6cm, yWidth=4.8cm, baseColor=white, dIter=10](-2,-1.2)(1,1.2) \end{lstlisting} -\section{The options} +\subsection{The options} \subsection{\texttt{type}} @@ -268,6 +273,7 @@ This option is only valid for the Sierpinski triangle and preset by 2000. \end{lstlisting} + \section{Phyllotaxis} The beautiful arrangement of leaves in some plants, called phyllotaxis, obeys a number of subtle mathematical relationships. For instance, the florets @@ -275,9 +281,9 @@ in the head of a sunflower form two oppositely directed spirals: 55 of them cloc and 34 counterclockwise. Surprisingly, these numbers are consecutive Fibonacci numbers. The Phyllotaxis is like a Lindenmayer system. -\begin{verbatim} +\begin{lstlisting}[style=syntax] \psPhyllotaxis[settings](x,y) -\end{verbatim} +\end{lstlisting} The coordinates of the center are optional, if they are missing, then $(0,0)$ is assumed. @@ -338,9 +344,9 @@ This is the number for the iterations. \section{Fern} -\begin{verbatim} +\begin{lstlisting}[style=syntax] \psFern[settings](x,y) -\end{verbatim} +\end{lstlisting} The coordinates of the starting point are optional, if they are missing, then $(0,0)$ is assumed. @@ -369,9 +375,9 @@ is assumed. \section{Koch flake} -\begin{verbatim} +\begin{lstlisting}[style=syntax] \psKochflake[settings](x,y) -\end{verbatim} +\end{lstlisting} The coordinates of the starting point are optional, if they are missing, then $(0,0)$ is assumed. The origin is the lower left point of the flake, marked as red @@ -403,9 +409,9 @@ for the first rotation angle. \section{Apollonius circles} -\begin{verbatim} +\begin{lstlisting}[style=syntax] \psAppolonius[settings](x,y) -\end{verbatim} +\end{lstlisting} The coordinates of the starting point are optional, if they are missing, then $(0,0)$ is assumed. The origin is the center of the circle: @@ -428,17 +434,29 @@ is assumed. The origin is the center of the circle: \section{Trees} -\begin{verbatim} +\begin{lstlisting}[style=syntax] \psPTree[settings](x,y) \psFArrow[settings](x,y){fraction} -\end{verbatim} +\end{lstlisting} The coordinates of the starting point are optional, if they are missing, then $(0,0)$ is assumed. The origin is the center of the lower line, shown in the following examples by the dot. Special parameters are the width of the lower basic line for the tree and the height and angle for the arrow and for both the color option. The color step is given by \verb+dIter+ -and the depth by \verb+maxIter+. - +and the depth by \verb+maxIter+. Valid optional arguments are + +\medskip +\begin{center} +\begin{tabular}{@{}>{\ttfamily}lll@{}} +\emph{Name} & \emph{Meaning} & \emph{default}\\\hline +xWidth & first base width & 1cm\\ +minWidth & last base width & 1pt\\ +c & factor for unbalanced trees (0<c<1) & 0.5\\ +Color & colored tree & fasle +\end{tabular} +\end{center} + +\bigskip \img{34} \begin{lstlisting} \begin{pspicture}[showgrid=true](-3,0)(3,4) @@ -457,7 +475,23 @@ and the depth by \verb+maxIter+. \end{lstlisting} -\img[36][37]{38} +\img{36} +\begin{lstlisting} +\begin{pspicture}(-7,-1)(6,8) + \psPTree[xWidth=1.75cm,c=0.35] +\end{pspicture} +\end{lstlisting} + +\img{37} +\begin{lstlisting} +\begin{pspicture}(-5,-1)(7,8) + \psPTree[xWidth=1.75cm,Color=true,c=0.65] +\end{pspicture} +\end{lstlisting} + + + +\img[38][39]{40} \begin{lstlisting} \begin{pspicture}[showgrid=true](-1,0)(1,3) \psFArrow{0.5} @@ -473,7 +507,7 @@ and the depth by \verb+maxIter+. \end{lstlisting} -\img[39][40]{41} +\img[41][42]{43} \begin{lstlisting} \begin{pspicture}(-1,0)(1,3) \psFArrow[Color]{0.5} @@ -489,7 +523,7 @@ and the depth by \verb+maxIter+. \end{lstlisting} -\img[0][42]{43} +\img[0][44]{45} \begin{lstlisting} \begin{pspicture}(-3,-3)(2,3) \psFArrow[Color]{0.6} @@ -526,10 +560,10 @@ kdvi but not xdvi. It is better to run \verb|dvips| and then view the ps-file wi \item Unknown PostScript command: Be sure that you have the ''newest`` \verb|pstricks-add.tex| file -\begin{verbatim} +\begin{lstlisting}[style=syntax] \def\fileversion{2.85} \def\filedate{2007/04/01} -\end{verbatim} +\end{lstlisting} \end{itemize} |