% kræver mathtools
\DeclareRobustCommand\altoverline[2][0.8]{%
\mathmakebox[\widthof{#2}][c]{\overline{\mathmakebox[\widthof{#2}*\real{#1}][c]{#2}}}}