4

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.

7

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 '15 at 19:39
  • Really great! I couldn't believe there could be a possibility of having such an option. – Habib Jul 27 '16 at 9:32
1

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

\documentclass[letterpaper,12pt]{article}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
  \pagecolor{gray}
\usepackage[english]{babel}
  \usepackage{blindtext}

\begin{document}
  \section{BlindText}
  \blindtext

  \blindtext
\end{document}
  • 1
    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. – Tim Hoffmann Nov 1 '17 at 12:01
  • Changing the paper color is exactly what I want. – Duke Feb 15 at 13:26

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.