0

I am using texworks for the first time, I want to change the background of the editor from dark to white, as the code is not visible in dark background. I am using texworks in Manjaro Linux on GNOME desktop environment. Please help me.

editor background

  • Welcome to TeX.SX! It is also very simple to change the colors and keep the dark background. – TeXnician Sep 26 '18 at 9:33
  • Maybe this question can help you. – Pidrittel Sep 26 '18 at 9:37
2

As an alternative to changing the background color you may easily change the highlighting colors by altering the file ~/.TeXworks/configuration/syntax-patterns.txt:

dark theme

[LaTeX]
# special characters
orangered               N       [\$#\^_\{\}&]

# LaTeX environments
lightseagreen        N       \\(?:begin|end)\s*\{[^\}]*\}

# LaTeX packages
lightskyblue       N       \\usepackage\s*(?:\[[^\]]*\]\s*)?\{[^\}]*\}

# control sequences
lightsteelblue               N       \\(?:[A-Za-z@]+|.)

# comments
grey                    Y       %.*

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.