1.10.10 Mixing Text and Formulas
The simplest way to mix text and formulas in a Mathematica notebook is to put each kind of material in a separate cell. Sometimes, however, you may want to embed a formula within a cell of text, or vice versa.
Entering a formula within text, or vice versa.
Here is a notebook with formulas embedded in a text cell.
Mathematica notebooks often contain both formulas that are intended for actual evaluation by Mathematica, and ones that are intended just to be read in a more passive way.
When you insert a formula in text, you can use the Convert to StandardForm and Convert to TraditionalForm menu items within the formula to convert it to StandardForm or TraditionalForm. StandardForm is normally appropriate whenever the formula is thought of as a Mathematica program fragment.
In general, however, you can use exactly the same mechanisms for entering formulas, whether or not they will ultimately be given as Mathematica input.
You should realize, however, that to make the detailed typography of typical formulas look as good as possible, Mathematica automatically does things such as inserting spaces around certain operators. But these kinds of adjustments can potentially be inappropriate if you use notation in very different ways from the ones Mathematica is expecting.
In such cases, you may have to make detailed typographical adjustments by hand, using the mechanisms discussed in Section 2.8.11.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.