[pstricks] transp option

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue May 23 17:05:28 CEST 2006

Aydin USTUN wrote:

> When i used the transp option in the fallowing code, the planes
> generated by pstThreeDSquare command are shifted in the output. What is the problem? 

> \documentclass[12pt]{article}
> \usepackage[latin1]{inputenc}
> \usepackage{pst-3dplot}
> \usepackage{multido}
> \makeatletter
> % use transpalpha=<mumber> to the the opacity level
> \define at key[psset]{}{transpalpha}{\pst at checknum{#1}\pstranspalpha}
> \psset{transpalpha=1}
> \def\psfs at transp{%
>   \addto at pscode{/Normal .setblendmode \pstranspalpha .setshapealpha }

\addto at pscode{/Normal .setblendmode \pstranspalpha .setshapealpha }%

the % at the end is important here.

btw: nice graphic


More information about the PSTricks mailing list