diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/Changes | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf | bin | 1497801 -> 1493444 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 51 |
3 files changed, 53 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes index 951c45a1d33..2d016009a1e 100644 --- a/Master/texmf-dist/doc/generic/pstricks-add/Changes +++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes @@ -12,6 +12,11 @@ pstricks-add.pro ----------- (Dominik Rodriguez/hv) pstricks-add ----------- + v 2.79 2006-09-21 - make ! not active (for french language and SpecialCoor) + - added macro \psforeach + - added transalpha option for tranparency color + - rename the family name to pstricksadd (pst-xkey) + allows using the interla macros of xkeyval v 2.78 2006-08-07 - allow ! for the y Length in \psgraph fix bug with undefined \psk@barwidth (missing \psset} v 2.77 2006-07-12 - use of abs(dx) to get labels for negative \pst@dx 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 Binary files differindex 6ad86fc8626..80c3a7ff8f8 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 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 574dfebd400..e27102dba61 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 @@ -14,6 +14,7 @@ This version of \verb+pstricks-add+ needs \verb+pstricks.tex+ version >1.04 from June 2004, otherwise the additional macros may not work as espected. The ellipsis material and the option \verb+asolid+ (renamed to \verb+eofill+) are +\index{fillstyle!eofill@\texttt{eofill}} now part of the new \verb+pstricks.tex+ package, available at CTAN or at \url{http://perce.de/LaTeX/}. \verb+pstricks-add+ will for ever be an experimental and dynamical package, try it at your own risk. @@ -57,8 +58,10 @@ or put the macro inside of the \verb+\makeatletter+ -- \verb+\makeatother+ seque \subsection{\CMD{pst\textat{}divide}} %-------------------------------------------------------------------------------------- -\verb+pstricks+ itself has its own divide macro, called \verb+\pst@divide+ which can divide two lengthes and saves the quotient as a floating point number: - +\verb+pstricks+ itself has its own divide macro, called \verb+\pst@divide+ which +can divide two lengthes and saves the quotient as a floating point number: +\index{Division} +% \begin{verbatim} \pst@divide{<dividend>}{<divisor>}{<result as a macro>} \end{verbatim} @@ -76,6 +79,7 @@ or put the macro inside of the \verb+\makeatletter+ -- \verb+\makeatother+ seque \subsection{\CMD{pst\textat{}mod}} %-------------------------------------------------------------------------------------- \verb+pstricks-add+ defines an additional numeric function for the modulus: +\index{Modulus} \begin{verbatim} \pst@mod{<integer>}{<integer>}{<result as a macro>} @@ -1274,9 +1278,50 @@ With the option \verb|intSeparator| the symbol can be changed to any any non-num %-------------------------------------------------------------------------------------- \section{Color} %-------------------------------------------------------------------------------------- +%-------------------------------------------------------------------------------------- +\subsection{Transparent colors} +%-------------------------------------------------------------------------------------- +With the new defined fillstyle \verb|transparent| +\index{transparent@\texttt{transparent}} +\index{fillstyle!transparent@\texttt{transparent}} +and running the \verb|ps2pdf14| script to create the \verb|pdf| document, one can use the +\verb+transpalpha+ keyword to define a value for the alpha channel to get a transparent +color. Possible values are $0\le\mathrm{transpalpha}\le1$ which is a range from +totally transparent and not transparent. Without using the \verb|pdf14| format +it is not possible to get the transparency effect. The following example shows +the transparency effect for the values \verb|transpalpha=0.4| and \verb|transpalpha=0.8|. + +% run through latex -> dvips -> ps2pdf14(!) and view +% with Acrobat >= 5.0 + +\vfill +\begin{center} +\bgroup +\psset{fillstyle=transparent,linestyle=none} +\multido{\rA=0.4+0.4}{2}{ + \begin{pspicture}(-3.25,-3.25)(3.25,3.25) + \pscircle[fillcolor=green,transpalpha=\rA](2;135){2cm} + \pscircle[fillcolor=red,transpalpha=\rA](2;45){2cm} + \pscircle[fillcolor=blue,transpalpha=\rA](1;-90){2cm} + \end{pspicture} +} +\egroup +\end{center} + + +\begin{lstlisting} +\psset{fillstyle=transparent,linestyle=none} +\multido{\rA=0.4+0.4}{2}{ + \begin{pspicture}(-3.25,-3.25)(3.25,3.25) + \pscircle[fillcolor=green,transpalpha=\rA](2;135){2cm} + \pscircle[fillcolor=red,transpalpha=\rA](2;45){2cm} + \pscircle[fillcolor=blue,transpalpha=\rA](1;-90){2cm} + \end{pspicture} +} +\end{lstlisting} %-------------------------------------------------------------------------------------- -\subsection{,,Transparent colors''} +\subsection{,,Manipulating Transparent colors''} %-------------------------------------------------------------------------------------- \verb+pstricks-add+ simulates transparency with hatch lines: |