# What's the name of the default font used in Mathematica 11?

There are a few user interface changes in Mathematica 11, and the new font is what I'm interested in. Unfortunately, the official document doesn't say what the font's name is.

I attempted to find the answer using this command:

In[1]:= System\$DefaultFont

Out[1]:= {"Courier", 10.}


which is obviously the same result as in version 10 (see here). I don't think Courier is the right answer.

Some comments below suggest the answer varies from one platform to another. My system is Linux Mint 17.3 KDE. I'm sure the font isn't Source Code Pro, although it does exist in my font folder. It should be one of DejaVu Sans Mono Bold and Bitstream Vera Sans Mono Bold, but I can't tell exactly which one is correct, because they look identical:

Comments are welcomed and if you have a different font, please attach a sample screenshot in your answer.

• Isn't it Source Code Pro? I like it because it reminds me of the default Ubuntu font – Jason B. Aug 12 '16 at 0:25
• Try CurrentValue[{StyleHints, "CodeFont"}] – Michael E2 Aug 12 '16 at 0:41
• If anyone was in their prerelease program I believe these new 11 fonts were mentioned in some of the materials that were sent out. Unfortunately I am traveling currently so I cannot access the information at the moment. – user6014 Aug 12 '16 at 4:30
• @JasonB I knew that I recognized it when I installed it last night, and was thinking the exact same thing! – Ben Kalziqi Aug 12 '16 at 17:52
• @user6014 Quoteth: Default font changed to Source Code Pro on Mac, Consolas on Windows, and Bitstream Vera Sans Mono on Linux. – kale Aug 13 '16 at 2:51

## 2 Answers

Straight from the proverbial horse's mouth:

Default font changed to Source Code Pro on Mac, Consolas on Windows, and Bitstream Vera Sans Mono on Linux.

On my Windows 7 system, CurrentValue[{StyleHints, "CodeFont"}] gives Consolas. A perhaps more intuitive way to find it is to simply highlight a piece of text/output/input/etc. the font of which you're interested in, then go to Format->Font..., and you'll see the font highlighted.

Having said that, I am a bit surprised, too, that they use the somewhat dated Consolas as the default, given that they do have Source Sans Pro, a much nicer font IMHO, in their installation folder (Wolfram Research\Mathematica\11.0\SystemFiles\Fonts\TrueType on Windows). Of course, it's easy to change your style so you get that font.

• @navigaid: Yep, and I'm getting really curious now as to where those fonts that Mathematica uses are coming from. Is it possible they scan the system for pre-existing fonts, and pick one of these in some order of preference if possible? – Pirx Aug 12 '16 at 1:29
• Is it possible to change the default code font of Mathematica 11 (back to Courier, for example) by changing the value of {StyleHints, "CodeFont"}? – User18 Aug 12 '16 at 18:00
• @User18 Yes, you can change it: {"CodeFont" -> "Courier"}. Then it looks like Mathematica 10 and older. But to be honest, the "Source Code Pro" font looks nice too. – QuantumDot Aug 12 '16 at 19:14
• @navigaid, I just checked on my Xubuntu machine, and 11 does use that font. I wonder if this is indeed used for all *nix distributions… – J. M. is away Aug 13 '16 at 0:21
• @User18 I'm using a Mac. And I changed it simply by navigating in the Options Inspector: Formatting Options -> Font Options, and changing the field StyleHints to {"CodeFont" -> "Courier"}` – QuantumDot Aug 13 '16 at 5:31