Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any option Mathematica's preferences to change the font for the whole notebook? I know how to change the font of individual cells.

share|improve this question
You mean the text cells, or the input and output cells too? The latter will be a problem, because you would need a font that has all of Mathematica's symbols in order to work fine. – Sjoerd C. de Vries Oct 25 '13 at 20:10
One would think that SetOptions[InputNotebook[], FontFamily -> "Calibri", StyleDefinitions -> False] does this, but no ... – Rolf Mertig Oct 25 '13 at 21:36
Ok! I remark that there is a lot of not confortable things in mathematica like CTRl-Z and so on. But I like this software! – phdstudent Oct 25 '13 at 21:48
To take the question a bit less literally, you can change the appearance of nearly everything in the notebook by changing the style sheets. Go to Format->StyleSheet and pick one of the sheets. Of course you can make up your own. – bill s Oct 25 '13 at 22:17
Stylesheets inherit but it appears that you cannot switch off core.nb being the top level parent so therefore you would need to set the font on a cell type by cell type basis because font type would be defined "locally" for each cell type in the core.nb therefore setting a type at the notebook level won't override unless you switch off core.nb(somehow) – Mike Honeychurch Oct 25 '13 at 23:55

Stylesheets (as "bill s" said) seem the best idea to me. Just modify the font of the type of cells(Title, section, subsection...) you want on the stylesheet (using the writing assistant palette, for instance) and the changes will be applied to the same cell types on the notebook.


Here are more detailed steps (tested in mathematica 9 front-end):

  • Go to "Format"-> "Edit Stylesheet"
    • This opens the "Private style definitions" stylesheet, whose definitions override the base stylesheet all notebooks have by default.
  • From the "Choose style" drop-down menu select the style you want to modify.
    • A new cell will be created with the contents: "Local definition for style "stylename"" and below: "stylename" formatted according to that particular style.
  • With the "Writing Assistant" palette change the desired feature (text size, color, font...)
    • Note that only the features you set will be overriden, all the other will be inherited from the base stylesheet.
    • You can also modify the cell expression directly if you know how (Ctrl+Shift+e to toggle it on the current cell)

Also, note that the cells in the stylesheet are not regular cells, thus you can't just insert a regular cell in it, use the dropdown "Choose style" instead.

This is what the expression of a stylesheet cell for "Title" looks like (you can toggle between displaying a cell in normal mode and expression mode with Ctrl+Shift+e ): Cell[StyleData["Title"]]. If we changed the color to blue, it would look like this: Cell[StyleData["Title"], FontColor->RGBColor[0, 0, 1]]

And this is what a regular (blank) title cell expression looks like: Cell["", "Title"] (The empty string is the content of the cell)

share|improve this answer

Your Answer


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.