Formulas Onscreen - Default Stylesheet

Input

(∫_0^(2  π))((1 - (r^2))/(1 - 
              2  r cos (θ) + 
              (r^2))) \[DifferentialD]θ

(∫_0^(2  π))((1 - (r^2))/(1 - 
              2 r cos (θ)  + 
              (r^2))) \[DifferentialD]θ

Text

(T1) So I said to her, (∫_0^(2  π))((1 - 
              (r^2))/(1 - 2  r cos (θ) + 
              (r^2))) dθ

(T2) So I said to her, (∫_0^(2  π))((1 - (r^2))/(1 - 
                2  r cos (θ) + 
                (r^2))) dθ

(T3) So I said to her, (∫_0^(2  π))((1 - (r^2))/(1 - 
                2  r cos(θ) + 
                (r^2))) dθ

The above are all text cells, but they were created in different ways.

Cell (T1) was created by making a copy of the StandardForm input cell above, changing it to a text cell, then typing in the leading text.

Cell (T2) was created by first typing the leading text into a text cell, then pasting the formula from the StandardForm input cell as an inline cell.

In (T1) and (T2), pasting from the TraditionalForm cell instead has no effect; the format type is not carried along.

Cell (T3) was created by first typing the leading text into a text cell, then creating an inline cell and typing in the integral by hand.

Common Problem #1: Formulas look ugly because they're in Courier font.

The default StandardForm specification specifically lists the Courier font , as does the InputForm specification. This is done so that these types of input cells use a boldface Courier font. But it has the unfortunate side effect that inline cells may also end up using the Courier font, especially if they are set to use StandardForm.

Removing the Courier font from the StandardForm specification will fix the inline cells, but then StandardForm input cells also lose the Courier font, which is not desirable.

There are a number of options that affect the the format applied to a particular cell style or inline cell. Here are

Stylesheets

(1) DefaultFormatType-><StandardForm TraditionalForm InputForm OutputForm>
(2) DefaultInlineFormatType-><StandardForm TraditionalForm InputForm OutputForm>

These options may be applied to the definition of any cell style.

Menus

(2) Menu: Cell/DefaultInlineFormatType

Options Inspector

(1) Cell Options/New Cell Defaults/DefaultFormatType
(2) Cell Options/New Cell Defaults/DefaultInlineFormatType
(3) Cell Options/New Cell Defaults/DefaultNewInlineCellStyle
(1) Cell Options/New Cell Defaults/CommonDefaultFormatTypes
(4) Formatting Options/Expression Formatting/FormatType

Notes

(1) These options are related; see online documentation for details.
(2) These options are related; see online documentation for details.
(3) Affects only inline cells created interactively.
(4) For use in individual cells.

Fix #1a: Use a Stylesheet to change the InlineFormula and DisplayFormula specifications (under Formulas and Programming) to a different font such as Times.

Fix #1b: Set the default  format for Inline cells to TraditionalForm. (default as installed)

Common Problem #2: Fractions have tiny numerators and denominators.

The cause of this is that the option ScriptSizeMultipliers is applied to fraction expressions as well as subscripts and superscripts.

Fix #2a: Apply the DisplayFormula style to inline cells.

The stylesheet description of the DisplayFormula style contains the option ScriptLevel->0, which prevents the use of ScriptSizeMultipliers on the first level of fractions. You can apply any style from the Style menu to any selection of text, in particular to an entire inline cell.

(Inline) DisplayFormula

(T2) So I said to her, (∫_0^(2  π))((1 - (r^2))/(1 - 
                  2  r cos (θ) + 
                  (r^2))) dθ

(T3) So I said to her, (∫_0^(2  π))((1 - (r^2))/(1 - 
                    2  r cos(θ) + 
                    (r^2))) dθ

Fix #2b: Set ScriptLevel->0 in the stylesheet definition of InlineFormula.

Common Problem #3: Overscripts and Underscripts won't stay put.

(T3) So I said to her, (∑_(n = 1)^∞) (1/(n^2)).

This behavior is controlled by the LimitsPositioning option.
Formatting Options/Specific Box Options/
UnderoverscriptBoxOptions/LimitsPositioning->False

Fix #3a: Select the offending inline cell and apply the option 
Formatting Options/Specific Box Options/
UnderoverscriptBoxOptions/LimitsPositioning->False.

Fix #3b: In the InlineFormula style, apply the option 
UnderoverscriptBoxOptions->{LimitsPositioning->False}