答案1
除了更改背景颜色外,您还可以通过修改文件轻松更改突出显示颜色~/.TeXworks/configuration/syntax-patterns.txt
:
[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 %.*