5
$\begingroup$

I would like user-assigned symbols to be colored dark blue instead of black, to distinguish them from built-in symbols. Is this possible? I wasn't able to find any option available for this in the Mathematica front-end.

The options shown in this answer: https://mathematica.stackexchange.com/a/22524/46327 Suggest that maybe this is something that requires a little code to implement.

$\endgroup$

1 Answer 1

8
$\begingroup$

Pick your desired color (and perhaps your favorite context):

SetOptions[EvaluationNotebook[], AutoStyleOptions -> {"SymbolContextStyles" -> {"Global`" -> {FontColor -> RGBColor[0.5, 0.5, 1.]}}}] 

You can use $FrontEnd, $FrontEndSession, or another notebook instead of EvaluationNotebook[].

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.