3

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?

Alexey Popkov
  • 61,809
  • 7
  • 149
  • 368

1 Answers1

3
 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}]
kglr
  • 394,356
  • 18
  • 477
  • 896