diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 45 |
1 files changed, 33 insertions, 12 deletions
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 e27102dba61..7857b51a165 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 @@ -6271,7 +6271,7 @@ est remarquable. %-------------------------------------------------------------------------------------- -\subsection{\CMD{psMatrixPlot}} +\section{\CMD{psMatrixPlot}} %-------------------------------------------------------------------------------------- \begin{filecontents}{matrix.dat} /dotmatrix [ % @@ -6346,9 +6346,39 @@ the above view. \end{center} \egroup +%-------------------------------------------------------------------------------------- +\section{\CMD{psforeach}} +%-------------------------------------------------------------------------------------- + +The macro \CMD{psforeach} allows a loop with an individuell increment. + +\begin{verbatim} +\psforeach{variable}{value list}{action} +\end{verbatim} + +\begin{LTXexample} +\begin{pspicture}[showgrid=true](5,5) + \psforeach{\nA}{0, 1, 1.5, 3, 5}{% + \psdot[dotscale=3](\nA,\nA)} +\end{pspicture} +\end{LTXexample} + %-------------------------------------------------------------------------------------- -\subsection{PostScript} +\section{\CMD{resetOptions}} +%-------------------------------------------------------------------------------------- + +Sometimes it is difficult to know what options, which are changed inside a long document, +are different to the default one. With this +macro all options depending to \verb+pst-plot+ can be reset. This depends to all +options of the packages \verb+pstricks+, \verb+pst-plot+ and \verb+pst-node+. + + +\appendix + + +%-------------------------------------------------------------------------------------- +\section{PostScript} %-------------------------------------------------------------------------------------- PostScript uses the stack system and the LIFO system, "'Last In, First Out"`. @@ -6385,16 +6415,6 @@ PostScript uses the stack system and the LIFO system, "'Last In, First Out"`. %-------------------------------------------------------------------------------------- -\section{\CMD{resetOptions}} -%-------------------------------------------------------------------------------------- - -Sometimes it is difficult to know what options, which are changed inside a long document, -are different to the default one. With this -macro all options depending to \verb+pst-plot+ can be reset. This depends to all -options of the packages \verb+pstricks+, \verb+pst-plot+ and \verb+pst-node+. - - -%-------------------------------------------------------------------------------------- \section{Credits} %-------------------------------------------------------------------------------------- {Hendri Adriaens | } @@ -6409,6 +6429,7 @@ options of the packages \verb+pstricks+, \verb+pst-plot+ and \verb+pst-node+. {Jens-Uwe Morawski |} {Tobias N\"ahring |} {Rolf Niepraschk |} +{Alan Ristow |} {Arnaud Schmittbuhl |} {Timothy Van Zandt} |