TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working with MikTex2.9 and I couldn't get rid of this warning message:

Package pgf Warning: Your graphic driver pgfsys-dvips.def does not support fadings. This warning is given only once on input line 31.

By trying this example:

\tikzstyle{ball} = [circle,shading=ball, ball color=red!80!white,  drop shadow=black, minimum size=1cm]
\node [style=ball] {blah blah blah};

I got a .pdf slightly different from the .dvi file (the shadow is a little lighter) and I was wondering if this problem could be linked with the warning or if it's only a problem of the reader (as reported in: Tikz: Strange color change. ).

Thanks in advance for any suggestions.

share|improve this question
@Arianna: why don't you compile to PDF directly? With pdfTeX I don't get that warning. – Stefan Kottwitz Dec 13 '10 at 18:33
By compiling to PDF I don't get the warning, but the shadow is always lighter (it should be black) – Arianna Dec 13 '10 at 18:39
@Arianna: ok, "I got a .pdf slightly different from the .dvi file" just read to me like you created the .pdf from the .dvi (dvips/ps2pdf or dvipdfmx), that's why my pdfTeX suggestion. – Stefan Kottwitz Dec 13 '10 at 18:58
from .dvi (with dvips/ps2pdf); from .tex to .pdf with LaTeX => PS => PDF(latex.exe) and with LaTeX => PDF(pdflatex.exe) – Arianna Dec 13 '10 at 19:15
I have to try dvipdfmx. Thanks Stefan! – Arianna Dec 13 '10 at 19:17
up vote 4 down vote accepted

By default the drop shadow is slightly transparent, which often results in unpredictable behavior when rendering via dvi/postscript.

The default settings for the shadow are opacity=.5, fill=black!50, i.e. medium gray and half transparent.

To turn off the transparency use something like drop shadow={black,opacity=1}.

ball with black shadow

share|improve this answer
Thanks Caradmir for your suggestion. Now I get what I expected. – Arianna Dec 15 '10 at 12:37
@Arianna. As this answer seems to solve your problem, please 'accept' it by selecting the tick you should see under the voting arrows. – Joseph Wright Feb 2 '11 at 20:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.