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 ...