I am struggling with a computer science document that makes liberal use of overline characters to indicate negation, i.e. NOT. Using a hook instead of an overline is not suitable for this material as it accompanies a textbook that uses overline.
I have kinda-sorta made this work with a strikethough character format with a 9pt offset. It looks somewhat OK, although it won't transfer to ePub format without some manual labor on the CSS.
So, is there a better way to do this, please? I'm primarily interested in something that looks better; I can deal with the ePub problem by hand if necessary.