18
$\begingroup$

Is there a way in which when you choose to format the size of the font within your notebook, for a particular cell, when you go into another cell, the default size font (12pt) will not be re-activated. I want the font size to stay constant throughout the entire notebook, until I go back and need to manually change it by hand.

Example:

Format -> Size -> 16 Point

$\endgroup$
17
$\begingroup$

There are a variety of ways to do this. One can use Stylesheets as noted by acl. Perhaps the most direct way is this:

For one Notebook:

SetOptions[EvaluationNotebook[], FontSize -> 16]

For all Notebooks:

SetOptions[$FrontEnd, FontSize -> 16]

You can also set FontSize for different Box types, such as GraphicsBox:

SetOptions[$FrontEnd, GraphicsBoxOptions -> {BaseStyle -> {FontSize -> 15}}]

If you are more comfortable with a GUI, all of these options are available through the Options Inspector in the Format menu.


If you decide to go the advanced route and use style sheets here is a guide to get you started:

David Park's StyleSheet creation notes (.zip file)


Depending on your goals, this question may also be of interest:

How to set default magnification for all windows

$\endgroup$
  • $\begingroup$ good point, more direct if less general $\endgroup$ – acl Feb 18 '12 at 23:44
  • $\begingroup$ Mr. Wizard. Thank You so much, this works perfect. One thing, you forgot to add the s to the end of Option for the first two dealing with the notebooks. $\endgroup$ – night owl Feb 19 '12 at 0:31
  • $\begingroup$ @nightowl I'm glad I could help. I rely heavily on spell-check and I was typing that from memory. Thanks for the catch. $\endgroup$ – Mr.Wizard Feb 19 '12 at 0:41
  • $\begingroup$ @NoEscape could you give me an example of what you mean? $\endgroup$ – Mr.Wizard Oct 16 '12 at 15:48
  • $\begingroup$ Found it: Some of my inline math has an internal FontSize->12. I entered it via copy/paste from somewhere else. If you have such (hidden) FontSize assignments, the approach will fail. $\endgroup$ – NoEscape Oct 16 '12 at 16:24
6
$\begingroup$

Yes: you may use stylesheets for this. See also this.

$\endgroup$
  • 1
    $\begingroup$ I don't feel up to explaining in detail how to set up, use and modify stylesheets; if someone else does, please do so and I'll remove my answer $\endgroup$ – acl Feb 18 '12 at 23:39
0
$\begingroup$

You can zoom in and out the entire stylesheet (text and figures) by holding Crtl while rolling the mouse wheel.

Note that this won't scale the text menus nor Mathematica's hints.

$\endgroup$
  • $\begingroup$ This is about as useful as advising the OP to sit closer to, or further away from, his (or her) screen. It can certainly make text look bigger or smaller, but it won't reset the size of the fonts used. $\endgroup$ – High Performance Mark Mar 14 '18 at 11:11
  • $\begingroup$ @HighPerformanceMark it has the same visual effect, and since most of the time, people change the font size for readibility issues, this is actually relevant. $\endgroup$ – P-Gn Mar 14 '18 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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