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.

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

share|improve this question

2 Answers 2

up vote 14 down vote accepted

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

share|improve this answer
    
good point, more direct if less general –  acl Feb 18 '12 at 23:44
    
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. –  night owl Feb 19 '12 at 0:31
    
@nightowl I'm glad I could help. I rely heavily on spell-check and I was typing that from memory. Thanks for the catch. –  Mr.Wizard Feb 19 '12 at 0:41
    
@NoEscape could you give me an example of what you mean? –  Mr.Wizard Oct 16 '12 at 15:48
    
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. –  NoEscape Oct 16 '12 at 16:24

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

share|improve this answer
    
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 –  acl Feb 18 '12 at 23:39

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.