Some time ago there was a question of how to typeset subscripts automatically upright (Typeset subscript material automatically in upright font shape). The answer works, but it seems like a hack.
Is there any package out there which solves this problem just by loading the package? I.e. a package which does typeset subscripts automatically upright or provides an easy syntax to do to so?
A_a
andA_{abc}
for instance, to be upright, just remove the verticals bar in that hack, converting|#1|
into#1
.upsubs.sty
. Just start with\ProvidesPackage{upsubs} [2016/04/12 V1.0]
, insert the hack, and end with\endinput
. Voila! Now you have it in a package.