Seemingly randomly nicely formatted superscripts and subscripts (e.g. to look like $f_1$) in math in text cells will revert to their long form e.g. Subscript[f, 1]. I am not sure what causes this or why this behavior would ever be desirable. They can be reverted back to the nicer formatting by selecting the expression and clicking Evaluate in place. However, this is complicated for longer expressions where one has to be careful to select to correct units. For example when I have $f_1=g_1$ obviously selecting and evaluating the whole expression does not give the desired result.
Are there any work-arounds for this "bug"? Either to avoid the long form suddenly appearing completely. Or too quickly change these expressions back to their nicer formatting.
"13.2.0 for Linux x86 (64-bit) (December 7, 2022)" Although I have had this issue with many older versions of Mathematica as well.
I can reproduce this by typing just outside a math box containing a superscript but I'm not sure that this is the only thing that causes this behavior.
Constructing a minimal example:
- Open a notebook.
- Create a text cell (and place your cursor in it).
- Type
ffollowed by a subscript1(i.e. `ctrl+_ followed by 1 for me.) - Press the right arrow twice. (The first press will take you outside the subscript. The second outside the math box that was created in the text cell when you first used a subscript.)
- Type
fwith a subscript 1 again. (i.e. repeat step 3.)
Voila, the first subscript will be replaced by its long form (at least for me, it might be a Linux thing...)





