This question already has an answer here:
As I understand I can define new commands using
An example is
Now I can use this in my text as follows
Is it possible to pass the argument as a subscript instead of coding it between braces?
I would like to code it as
which is more natural for me. I would also like to add a second argument so that I get
by coding it with