This is a continuation of the previous post: How to enter textual subscripts and superscripts?.

When dealing with complex in-line math expressions inside a "Text" cell Mathematica by default formats them in TraditionalForm. Is it possible to force Mathematica to create in-line cells with the same style as the style of enclosing cell?

 Options[EvaluationNotebook[], CommonDefaultFormatTypes]
 {CommonDefaultFormatTypes -> {"Input" -> StandardForm, 
 "InputInline" -> StandardForm, "Output" -> StandardForm, 
 "OutputInline" -> StandardForm, "Text" -> TextForm, 
 "TextInline" -> TraditionalForm}}

So changing the setting for "TextInLine" to TextForm should give what you need:

 SetOptions[EvaluationNotebook[],  CommonDefaultFormatTypes -> {"TextInline" -> TextForm}]

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.