I want to overline a piece of text, but the line is too close to the number, which is not nice, so I want to add some kind of padding between the overline and the text. This is what I've made up so far:
$\overline{\mbox{XXX\raisebox{0.8cm}{}}}$
where XXX is the text I want to overline.
This looks very ugly for me, so I was wondering whether there is any better way to do it.


\overline{\strut XXX}(or make a similar different strut if that isn't the correct spacing, but strut is used in other places to get even vertical spaces) – David Carlisle Dec 19 '12 at 11:12