I am trying to use the chosen solution shown here, for being able to use numbers in the alias I need for \newcommand. (That one is not able to use numbers in the alias directly strikes me as ... well, let me remain polite).
Anyway, even if I implement the top solution there, I get an error and the code cannot compile. My usage:
\newcommand{\H}[1]{H^{(1)}_{#1}}
And so \H1 is now equal to foo.
Perhaps there is something small I am missing, (I am a tex noob), and so any help would be appreciated.