

SumatraPDF > Settings > Options > Set inverse search command-line "C:/Program Files/texstudio/texstudio.exe" "%f" -line %l Shortcuts > Menus > Tools > User: change current shortcut to F2 Build > User Commands > Add user0:Forward Searchĭde:///"C:/Program Files/SumatraPDF/SumatraPDF.exe":SUMATRA/control/ 4. Step 2 Commands > External PDF Viewer: "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance %.pdf

Open configurations - TexStudio > Options > Configure TeXstudio. GradientColors will change the background window of Sumatra PDF.I found Alper Yazar's blog helpful. Background color changes, well the background color of the PDF document. TextColor changes the text color of the PDF document. Change the following 3 lines under the heading FixedPageUI: This should open the SumatraPDF-settings.txt file in your text editor. In Sumatra PDF, click on the Menu -> Settings -> Advanced Options It can be really jarring for the eyes and nerves. It’s as if you were relaxing in a room with the lights switched off and suddenly someone walked in and abruptly turned the lights on.Īs you are coding along you have to switch back and forth multiple times between your PDF reader and code editor. Immediately your eyes are shocked with bright luminescent white light. The default setting is black text on white background. This greatly reduces the strain on the eyes.īut let’s say you are also following along an e-book, maybe a PDF and you switch to Sumatra PDF. If you code for long periods of time, then it’s really great to have your code editor run in dark mode. It’s small in size, super-fast and doesn’t have any annoying cruft. A dark mode for Sumatra PDF is really easy – you just need to tinker with 3 lines of code in the settings.
