Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\shadedraw[draw=blue] 
    (0,0) circle (1);
\end{tikzpicture}
\end{document}

can produce a shaded circle when it is compiled with latex-dvips-ps2pdf. However, compiling it with pdflatex only produces a circle without shading.

I use the latest TeX Live 2011 distribution. I have updated the package several days ago.

What is the source of problem?

share|improve this question
2  
It could be a (pre)viewer issue, try another PDF viewer. –  Stefan Kottwitz Jan 13 '12 at 11:03
    
@StefanKottwitz: I use Adobe Reader 9.x. –  cyanide-based food Jan 13 '12 at 11:04
    
Works perfectly for me. I guess that it's your PDF viewer, which might have issues with shadings. Try using Adobe Acrobat Reader to see if it works with it. The funny thing is that it works with DVI->PDF, but it might use slightly different PDF commands which might be supported by your viewer. –  Martin Scharrer Jan 13 '12 at 11:05
    
No, we don't need the log in this form. Maybe the very first line. The output of \listfiles would be more interesting, but simply stating your TeXLive version and the one of PGF/TikZ would be just fine. –  Martin Scharrer Jan 13 '12 at 11:10
    
After installing Adobe Reader X (ten), the problem does not happen anymore. So do I need to remove this question? –  cyanide-based food Jan 13 '12 at 11:17

2 Answers 2

up vote 4 down vote accepted
+50

Missing or wrongly displayed shading can be a viewer issue. In this case, and in case of other unexpected display problems, such as for example color gradients, it's recommendable to check the PDF output with a different PDF viewer.

A list of viewers can be found here: Output viewers for use with LaTeX.

Here the problem occured with the Adobe Reader 9.X, it was gone after installing Adobe Reader X, according to the OP.

share|improve this answer

I had a similar problem, which I posted on the LaTeX Community Forum. Some who replied had similar problems while others did not. The thread also lists possible solutions.

share|improve this answer

Your Answer

 
discard

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.