I apply a dark theme to TeXstudio. Is it possible to make the internal pdf viewer dark, too? Is there at least an option to invert colors?

I do not want to use an external reader because I like the integration with the internal one. However the white background of the internal reader breaks my style.


3 Answers 3


You can invert the colors. The setting is only accessible via the menu of the windowed viewer:

  1. Open Viewer (embedded)
  2. Switch to windowed mode using the toolbar.
  3. Menu -> Configure -> Invert Colors.
  4. Switch back to embedded mode using the toolbar.

The setting is persistent across viewer and program restart, so you have to do it onle once.

  • Awesome, that option is well hidden. :) Thanks for that!
    – Johannes
    Sep 14, 2015 at 19:39
  • Really great! I couldn't believe there could be a possibility of having such an option.
    – Habib
    Jul 27, 2016 at 9:32

Strict inversion doesn't alter the contrast, so I prefer to change the page background while writing



  • 2
    If it's just about the background, there's also Options -> Internal PDF Viewer -> Paper Color. Of course, this does not affect texts and other elements in the image. So when changing to very dark paper colors, the contrast will become low. Nov 1, 2017 at 12:01
  • Changing the paper color is exactly what I want.
    – Duke
    Feb 15, 2019 at 13:26

I don't like the pure black background through the setting of Tim Hoffmann. Meanwhile I notice that we can apply the trick Tim Hoffmann proposed, "Options -> Internal PDF Viewer -> Paper Color", more flexibly. I just set paper color to light gray "#d1cfcf". Then I invert the colors to get deep gray background, which is the type I prefer.

  • 1
    Thanks. Your answer made this question recently active and I was able to find it. Welcome to TeX.SE
    – phollox
    May 17, 2020 at 19:18

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.