When using the feature, which inserts a "\rm", when typing '_' or '^' twice, (which worked fine), I got an compiling error stating "Class scrartcl Error: undefined old font command '\rm'.".
Further research yielded the result, that the commands "\rm", "\bf" and "\it" should never be used in Latex2ε and instead their newer versions "\rmfamily", "\bfseries" and "\itshape" should be used. The KomaScript-Classes even enforce this behaviour and thus lead to this error.
However, "\rmfamily" does not work in math mode, while "\mathrm" does. Because of this, I suggest, changing the "\rm" to a "\mathrm". This should be fine in most cases and be the prefered solution.
When using the feature, which inserts a "\rm", when typing '_' or '^' twice, (which worked fine), I got an compiling error stating "Class scrartcl Error: undefined old font command '\rm'.".
Further research yielded the result, that the commands "\rm", "\bf" and "\it" should never be used in Latex2ε and instead their newer versions "\rmfamily", "\bfseries" and "\itshape" should be used. The KomaScript-Classes even enforce this behaviour and thus lead to this error. However, "\rmfamily" does not work in math mode, while "\mathrm" does. Because of this, I suggest, changing the "\rm" to a "\mathrm". This should be fine in most cases and be the prefered solution.
Thank you!