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

Today I have been realized some drawings for my scientific article using PGF. After converting the DVI to the PDF file I have noticed that my grid which has been supposed to be gray was somewhat darker in Adobe Reader than Yap. Why do colors display differently in Adobe Reader (PDF version) compared with Yap (DVI version)?

share|improve this question
possibly related: tex.stackexchange.com/questions/16061/… – matth Jan 29 '12 at 21:56
up vote 1 down vote accepted

In YAP you are probably using the dvips render method. This means you are actually viewing a postscript (PS) file (generated on the fly with dvips) rendered with the ghostscript of miktex and not a DVI.

Besides this: Different viewers (which actually show different file formats) can always be different. Don't forget that your screen uses pixels and if the width of a line is somewhere between two pixel numbers the viewers have to decide if to use one pixel more or less. I often had documents where lines appeared and disappeared depending on the zoom. And colors add an additional level of complexity.

YAP is a *pre*viewer. Don't expect its output to be exactly like the end product. Check sometimes the end product (at different zooms and if possible on different screens or - if you will print your document at the end - on paper).

share|improve this answer

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.