I was trying to change my TeXworks editor's background to black, some suggested it is possible to edit this file :
~/.TexWorks/configuration/syntax-pattern.txt
but I could not locate this .txt file.
Thank you for your help!
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI was trying to change my TeXworks editor's background to black, some suggested it is possible to edit this file :
~/.TexWorks/configuration/syntax-pattern.txt
but I could not locate this .txt file.
Thank you for your help!
In Windows, with MiKTeX 2.9 distribution, you can get the required file on the following path:
"C:\Users\Username\AppData\Local\MiKTeX\2.9\TeXworks\0.4\configuration\syntax-patterns.txt"
Of course Username
is your Windows user name.
Note also that this file is not for background colors but for text syntax highlighting. You can find more details in this link on how to customize colors and syntax highlighting.
css colors
in order to get a list of what's available). The code after the color (such as \\(?:[A-Za-z@]+|.)
) is to do with which characters escape the color mode (I think).
– ahorn
Mar 27 '19 at 7:47
syntax-pattern.txt
? – jon Jul 22 '15 at 2:44