Blue variable name and black key words seem boring to me now. I find that the color scheme of this site is better. Can I apply that in my notebook?
Asked
Active
Viewed 120 times
1
-
FYI, the syntax highlighter in this site is extremely limited compared to the Mathematica front end. You can customize the colors of the built-in syntax highlighter in the menu: Edit > Preferences... > Appearance > Syntax coloring. – István Zachar Jan 06 '14 at 15:46
-
@IstvánZachar But I don't know which color I shall use. I want a recommended scheme. – zhangwfjh Jan 06 '14 at 15:48
-
1There are some finetuned color schemes (e.g. Solarize), but no ready-made one-click file (at least I know of) that applies it to your Mathematica front-end. – István Zachar Jan 06 '14 at 15:50
-
@IstvánZachar Thanks, anyway. – zhangwfjh Jan 06 '14 at 15:52
-
There are many Mathematica color schemes available in the stylesheet. Go to Format->Stylesheet and browse till you find one that suits your needs, or make up your own. – bill s Jan 06 '14 at 15:57
-
1@bills Does a stylesheet affect the syntax highlighter as well? If so, I didn't know about that! – István Zachar Jan 06 '14 at 15:59
-
Related: High Contrast Syntax-Highlighting, Is it possible to change the colors of the highlighted code in the Mathematica frontend? – Michael E2 Jan 06 '14 at 16:23
-
Here's the tutorial: http://reference.wolfram.com/mathematica/guide/AutomaticTextStylingFeatures.html which points to Preferences->Appearance and certainly looks like it includes color and highlighting. – bill s Jan 06 '14 at 16:24
-
@IstvánZachar See my answer here. If you like solarized, you can use the stylesheet that I created here (I didn't realize it has been download > 1000 times!). For a screenshot, see the image in halirutan's question (first link). BTW, it's not a "perfect stylesheet", in that smaller details have not been fine tuned and it was written and tested in v8. Still, it might be of use as a starting point... – rm -rf Jan 06 '14 at 16:36