( expr: MathJsonExpression | null, dict: IndexedLatexDictionary, options: Readonly<SerializeLatexOptions> )
| 711 | rest = nextRest; |
| 712 | } |
| 713 | |
| 714 | // Only the top level can have superscripts and subscripts |
| 715 | let baseBody = body; |
| 716 | if (topLevel) { |
| 717 | const sups: string[] = []; |
| 718 | const subs: string[] = []; |
| 719 | |
| 720 | // Check if we have a string of digits at the end of the body. |
| 721 | // |
| 722 | // Only a name that already uses the `_` subscript convention gets this |
| 723 | // prettification: promoting the trailing digits of a PLAIN name would |
no test coverage detected