# How to stop font size reduction in typesetting fractions and sub- and superscripts

When typesetting equations in Mathematica text cell if I press Ctrl+/ the numerator and denominator font is smaller than the base font. Similarly for sub- and superscripts. How do I tell Mathematica notebook to stop changing font size when going into fraction and subscript or superscript mode?

• You may want to look at ScriptSizeMultipliers function, or ScriptMinSize May 13, 2018 at 23:18

## 1 Answer

This is controlled by the option AllowScriptLevelChange. If it is set to False, the font will not be smaller in the fractions.

There are several ways to do this.

A. This will only keep the size of the fractions. The easiest is probably the switch off the script level changes that are taking place by selecting the cell bracket and setting

AllowScriptLevelChange -> False


in the options inspector. This is done as follows:

1. Open Menu/Format/OptionInspector.

2. Select the cell in question. It might be good to not only select the right bracket, but also the formula itself.

3. In the Option Inspector dialog the field "Show Option Values" should show "Selected". In the lookup text field type AllowScriptLevelChange.

4. In the bottom right window uncheck the checkbox at the option AllowScriptLevelChange.

Done.

B. This will control both the size of the fractions and of the exponents. You may adjust ScriptSizeMultipliers directly in the CellBox:

1. After you have typed the formula select the cell bracket and press Sift+Ctrl+E (Cmnd+Shift+E in Mac). The cell structure will open.

2. Add

ScriptSizeMultipliers -> {1.0}

as the option for the function Cell and again press Sift+Ctrl+E (Cmnd+Shift+E in Mac). This will close the CellBox and return you to the normal view. In this case not only fractions, but also exponents will show 100%.

C.

As the variant of B one can add the option FractionBoxOptions->{AllowScriptLevelChange->False} to the Cell function in the CellBox presentation making all actions described in B.

Have fun!

• @ Michael E2 Yes, but this is what I have written, have not I? May 14, 2018 at 13:05
• @Michael E2 No, of course not. But it is not written in A that the approach will do everything. Therefore, I specifically noted it in the approach B. One can then try and decide, which one to use in what case. May 14, 2018 at 13:20
• Thank you it works but how do i do this programmatically. May 14, 2018 at 16:16
• Thank you it works but how do i do this programmatically globally for the frontend. May 14, 2018 at 17:11
• @Michael E2 You are right. I introduced some correrections to make it clearer. May 15, 2018 at 7:22