Am using TeX Live 2012, pdflatex, and latexmk to produce the document, on Ubuntu Linux.


In the following image, Okular is shown on the left and Adobe Acrobat Reader is shown on the right.

Okular vs Acrobat Reader

The images in the document most likely contain various colour spaces. The colours in Okular are desired (and shown as coded in the LaTeX); whereas, the colours in Acrobat Reader are not desired.

I have read a few different questions on this topic, including:


What is most likely the problem with the colours in Adobe Acrobat Reader, and how should I resolve it?


I was thinking that the problem might be caused by having images in multiple color spaces. If that's the case, then I could resolve it by running the images through ImageMagick.

The alternative is to use xcolor, as suggested.

  • 3
    Why do you think that Okular (rather than Adobe) handles everything correctly? – Igor Kotelnikov Feb 26 '13 at 2:37
  • 3
    perhaps this answer helps tex.stackexchange.com/questions/9261/… – prettygully Feb 26 '13 at 2:52
  • 1
    Are you on a Linux machine? I found that the Linux version of the Acrobat Reader shows ugly colours for figures generated by R and RTikzDevice. The colours are fine in okular and in the Windows version of the Reader. – sebschub Feb 26 '13 at 9:15

The following lines were added to the preamble:

\pdfpageattr {/Group << /S /Transparency /I true /CS /DeviceRGB>>}

This seems to have resolved the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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