Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Trying out Mathematica 10 and I still get the Courier font, not the new font shown in all of the examples on Wolfram's website. Anybody have any ideas how to get the new font working? Running on Mac OS X if that helps. I also deleted my entire Library/Mathematica folder, but that did not help.

share|improve this question
    
WHat does your DefaultStyleDefinitions say in advanced preferences? (ps. I am not sure I understand what you mean by I also deleted my entire Library/Mathematica The default style sheet should use Default.nb –  Nasser Jul 10 at 4:00
    
DefaultStyleDefinitions is Default.nb. I'm referring to the ~/Library/Mathematica folder which contains local Mathematica configuration/preferences files on Mac OS X. I thought maybe a preference was set from the previous version 9 installation. –  bridges2 Jul 10 at 4:05
1  
Also related (I'm curious if version 10 fixes my issues): Inconsistent display of TraditionalForm in version 9 –  Jens Jul 10 at 5:07

2 Answers 2

up vote 18 down vote accepted

Mathematica still works with Courier by default. Nothing is broken about your copy of Mathematica. It is the case, however, that if you use any sans serif font (or at least any font that properly advertises itself as sans serif...many amateur font designers don't bother setting font metadata bits correctly), you'll see the new MathematicaSans font in use for the Mathematica characters. It was a lot of work and long overdue, and we're very proud of it.

So why are the examples different? The short answer is we're doing different things on the web and on the desktop. For now.

The long answer is that there's been a bit of a row within the company of which, I confess, I'm one of the chief instigators...but I won't say for which side. I think that most people would like to see us retire the tired old Courier for something a bit more modern, but the big question is whether that font should be proportionally or mono-spaced.

On the one hand, Mathematica has never offered a strictly monospaced environment. That would be impossible with true typesetting, but even without it we do things like putting little spacing hints around operators and such.

On the other hand, Mathematica is a full coding environment for the Wolfram Language, and it's pretty uncommon for a coding environment to use anything but a monospaced font. It can really play havoc with attempting to do proper indenting, and arguments can be made that code is just not as readable in proportional fonts, especially in regards to the treatment of punctuation and delimiters.

So we've split the difference between the web and desktop environments for now, which is probably not a permanent solution.

I'm curious what SEers think about the situation. Maybe those who care might look at the comments below and upvote what most closely represents your opinion

share|improve this answer
3  
Upvote if this describes you: Proportional is totally the future, and a brilliant break from stodgy tradition! I'm so tired of being kicked around by pseudo-modern coding environments that can't even figure out modern typesetting! –  John Fultz Jul 10 at 5:45
28  
Upvote if this describes you: Proportional for coding? Are you insane? Do the people who thought this stinker up actually ever write code? There are so many great coding fonts out there today...let's modernize on one of those! –  John Fultz Jul 10 at 5:46
9  
Upvote if this describes you: Wait...are you suggesting that you're going to take away my Courier font? You'll have to pry it from my lifeless limbs. It was an inspired choice when Wolfram did it in 1988, and it's no less inspired today. –  John Fultz Jul 10 at 5:48
4  
I think that proportional vs monospace is less important than clear distinguishability of characters. In the Wolfram Cloud input font, In and ln looks much too similar, especially if ln has a value assigned to make it black (not blue). When looking at In as part of an input (not cell label!), my brain wants to see ln (probably too used to natural logarithms). –  Szabolcs Jul 10 at 16:49
3  
... There's also the annoying bug where lines won't be auto-indented after an edit (e.g. adding a wrapper f[ ... ]) until I manually remove and re-add each newline in the input. –  Szabolcs Jul 10 at 17:05

Nothing is wrong with your settings. Mathematica 10 is supposed to be using the old fonts. The old fonts are shown in the blog post introducing Mathematica 10.


Note: People report that the hack described below doesn't work on Windows or Linux. It works on OS X, where I tried it.

But you can play with the new fonts if you like. Go to Format -> Edit Stylesheet.... Create a new cell in the style definitions window. Show the cell expression by selecting the cell bracket and pressing Command-Shift-E. Then change the cell expression to

Cell[StyleData["StandardForm"], FontFamily -> "MathematicaSans", FontSize -> 12]

convert the cell back (Command-Shift-E), then close the style definitions window. Now the notebook will use Mathematica Sans for standard form expressions.

Here's a better example showing actual code:

You can also try Mathematica (serif) or MathematicaMono (fixed width). The fonts are located in $InstallationDirectory/SystemFiles/Fonts.

share|improve this answer
    
Seems weird they would do this when all of their examples are shown with the new font, in addition to the Cloud interface (which essentially is a mathematica notebook). –  bridges2 Jul 10 at 4:20
    
@bridges2 For what it's worth I personally loathe the new font. I'm glad they stuck with the current one. :) –  RunnyKine Jul 10 at 5:30
    
Ugly. I am almost tempted to use the term fugly, but shall refrain from doing that. –  wolfies Jul 10 at 16:13
    
@wolfies I guess I posted the wrong kind of screenshot of a 2D math expression. It doesn't look bad when used for more usual inputs. –  Szabolcs Jul 10 at 16:47
1  
This doesn't work for me. I just get a bunch of empty boxes. –  Sjoerd C. de Vries Jul 10 at 19:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.