[pstricks] Undefined fill style: `transparent'

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Jul 30 09:52:25 CEST 2010


Am 30.07.2010 09:22, schrieb Olga Lyashevska:

> Since I have updated pstricks I get the following error:
> 
> 
> [45]
> PSTricks error.  See User's Guide for further information.
>                  Type  H <return>  for immediate help.
> ! Undefined fill style: `transparent'.
> \@pstrickserr ... immediate help.}\errmessage {#1}
>                                                   \endgroup 
> l.110 ...,fillstyle=transparent](4.5,4.5)(6.5,6.5)

Olga,
that was an experimental feature. Now there
is a new syntax:

\documentclass{article}
\usepackage{pstricks}
\begin{document}

\begin{pspicture}(4,4)
  \pscircle[fillstyle=solid,fillcolor=blue!60]{2}
  \pscircle[fillstyle=solid,fillcolor=red,opacity=0.4](-1.5,-1.5){2}
  \pscircle[fillstyle=solid,fillcolor=cyan,opacity=0.6](-1.5,1.5){2}
  \pscircle[fillstyle=solid,fillcolor=black!40,opacity=0.3](1.5,1.5){2}
  \pscircle[fillstyle=solid,fillcolor=yellow,opacity=0.7](1.5,-1.5){2}
\end{pspicture}

\end{document}

Herbert


More information about the PSTricks mailing list