Using Google Docs, I need an X with a line on top, the equivalent to latex \bar{x} and what statisticians call "x bar". I was using an equation field and \overline but it adds the line over the entire equation. Is there a way to do this?


Under the "math operations" button on the equation bar, there's the symbol you are looking for.


Or... you can search for "x bar" in Google and do a copy/paste from one of the web pages that come up. It looks a lot better than the x bar in Google Docs: x̄


The answer is just to press enter after you are finished writing characters with the overline, and it will toggle it off.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.