0

I change the color of TeXworks, then spellchecker is red on the black background. So it is difficult to find. I want to change the color of the underline which indicate the miss spelling. In .css file, where should be changed ?

In the following figure, under the ward FPs, there is a red line to indicate miss-spelling. I want to change the color from red to, e.g., yellow.

My .css file located in C:\Users\User\TeXworks\configuration is the following:

# Each entry consists of three whitespace-separated fields:

# <style> <spell?> <regex>



# <style> is a combination of color and style flags

# Valid syntax:

# <fgcolor>

# <fgcolor>/<bgcolor>

# ;<fontflags>

# <fgcolor>;<fontflags>

# <fgcolor>/<bgcolor>;<fontflags>

#

# The color fields <fgcolor> and <bgcolor> are either:

# *) a color name from the list defined in the SVG standard;

#    see http://www.w3.org/TR/SVG/types.html#ColorKeywords

# *) a hexadecimal color value of the form #rrggbb; note that if this is used at

#    the beginning of a line, a space " " must be added in front of it so the

#    line is not interpreted as a comment (e.g., " #aabbcc" instead of "#aabbcc")

#

# The <fontflags> field is a combination of the letters

# B (bold)

# I (italic)

# U (underlined)



# <spell> is a flag controlling whether this style is subject to spell-checking;

# "Y" or "y" for yes, "N" (or anything else, actually) for no.



# <regex> is the regular expression to match.



# Note that order of rules may be important if several rules could match at the same position;

# this is why the generic "control sequence" rule comes AFTER the specific \begin/\end one.



[LaTeX]

# special characters

# PURPLE

 #ae8ef0    N   [$#^_{}&] 



# LaTeX environments

# ORANGE

 #dc861f;I  N   \\(?:begin|end)\s*\{[^}]*\} 



# LaTeX packages

# PINK

 #ec4271;I  N   \\usepackage\s*(?:\[[^]]*\]\s*)?\{[^}]*\}



# control sequences

# LIGHTBLUE

 #5dd4ef    N   \\(?:[A-Za-z@]+|.) 



# comments

# DARKBROWN

 #797666;I  Y   %.* 



[ConTeXt]

# special characters

# PURPLE

 #ae8ef0    N   [$#^_{}&] 



# start/stop

# ORANGE

 #dc861f;I  N   \\(?:start|stop)[A-Za-z]+ 



# control sequences

# LIGHTBLUE

 #5dd4ef    N   \\(?:[A-Za-z@]+|.) 



# comments

# DARKBROWN

 #797666;I  Y   %.* 



# other possibilities to be added....

# [BibTeX]

# [Metapost]

# etc

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.