Georg Baum wrote: > command-sequence math-mode on; math-superscript ; font-free-apply; > > This is a bad hack indeed.
We should at least try to get the 1.3 behaviour back for 1.4 (and go for a proper textscriptinset in 1.5). The problem is, AFAICS, that it is not possible currently to insert the same superscript code in 1.4 than in 1.3 via the menu. In 1.3, the code is foo$^{\textrm{bar}}$ In 1.4, it currently is foo$^{{\normalcolor bar}}$ (the \normalcolor can be ommited by not using font-free-apply) Now, the textrm is necessary to get the same font shape as in the surrounding texted text (especially if the character dialog is being used for switching shapes). The only close thing I found is command-sequence math-mode on; math-superscript ; math-mode text ; which outputs foo$^{\mbox{bar}}$ textrm is now disabled (why?) outside math-mode text (which is the mbox). Inserting \textrm inside that mbox does not make any difference AFAICS. Now the remaining drawback wrt 1.3 is that the superscript is too large even with ams. When using ams, foo$^{\textrm{bar}}$ is sized correctly, while foo$^{\mbox{bar}}$ and foo$^{\mbox{\textrm{bar}}}$ are not. Conclusion: It is not possible to insert a scriptinset which is (1) shaped and (2) sized correctly via the menu, as long as it is not possible to switch to textrm outside textmode. Any ideas? Jürgen