No, I need to overline and underline various sequences of symbols (numbers, letters, accented symbols, all sorts of stuff), in various combinations, several times, etc. This is in appearance very similar to Wick contraction symbols (see the first example equation in
http://www.fzu.cz/~kolorenc/tex/simplew ... lewick.pdf ). The code that generates those Wick contractions is way to complicated for me to understand and modify for \overline and \underline, so I am looking for some way to deal with this problem in the easiest way possible.
I need a generic solution to tell TeX that the argument of a command (say, \underline) starts here and ends there, but not using generic { and }, since they will get mixed and confused with arguments of other commands.
I've read about \mkern in the meantime, but I have a feeling it is more of a hack for the first case I gave you, and hardly extendible to more general cases.
Any thoughts?
Thanks,

Marko