This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 264,431 times.
Learn more...
Typing an x bar symbol (x̄) into your Word document isn't as straightforward as typing other accent symbols, but it's still easy to do. This wikiHow guide will teach you how to add the X bar symbol, which is an x with an overline, to your Word document on your Windows PC or Mac.
Steps
-
Type an x into your Word document. You must first type an "x" to create the X bar symbol. Your cursor should be to the right of the "x".
-
Type 0304 after the X. You should now have x0304.Advertisement
-
Highlight just the 0304 with your mouse. Don't include the "x" in the text you're highlighting.
-
Press Alt+X. This shortcut replaces what you've typed with x̄.
-
Enable the Unicode Hex input. This feature makes it easy to enter Unicode symbols.
- Click the Apple menu and select System Settings.
- Click Keyboard.
- Click Edit… next to "Input Sources."
- Click + to add a new input source.
- Search for and select Unicode Hex Input.
-
Type an x into your Word document. You must first type an "x" to create the X bar symbol.
-
Select the Unicode Hex Input keyboard. Click the little keyboard icon at the top of the screen, and make sure "Unicode Hex Input" is selected.
- If you don't see the keyboard icon, return to System Settings > Keyboard, click Edit… next to "Input Sources," and toggle on "Show Input menu in menu bar."
-
Hold down the ⌥ Option as you type 0304. When you lift your finger from the Option key, the X will turn into the X bar x̄.
-
Click the Insert menu. It’s at the top of the screen between Home and Draw.
-
Click Equation. It’s the icon with a pi symbol in the toolbar. This adds a place to type an equation into your Word document.
- If a menu opens, click Insert New Equation to continue.
-
Type \overline into the box and press the Spacebar. An overline will appear.
-
Type x and press the Spacebar. The overline is now over the X, creating an X bar.
- There's also another way to insert an X bar in Word using the Equation Editor:
- Click Insert and select Equation.
- Type x, then highlight the x with your mouse.
- Click Accent in the Equation toolbar at the top.
- Click the Bar icon, a square with a bar over it. This places a bar over the selected X, turning it into an X bar.
- There's also another way to insert an X bar in Word using the Equation Editor:
-
Type an x into your Word document. You must first type an "x" to create the X bar symbol. Your cursor should be to the right of the "x".
- This method requires using the numeric keypad on the right side of your keyboard to type an alt code. If you are using a smaller keyboard that doesn't have a separate set of number keys on the right, it will be easier to use a different method.
- If you have a laptop without a numeric keypad, you may still be able to type alt codes.
-
Hold down the Alt key. Do not lift your finger from this key.
-
Type 0773 on the numeric keypad. Don't use the number keys at the top of the keyboard, as that won't work. When you lift your finger from the Alt key, you'll have an X bar.
-
Type an x into your Word document. You first need to type an "x" to create the X bar symbol. Your cursor should be to the right of the "x".
-
Click the Insert tab. The Insert tab is at the top of Word between Home and Draw.
-
Click Symbol in the toolbar. It looks like a horseshoe.
-
Click More Symbols. This is the last option in the drop-down menu.
-
Select the correct font and subset. To locate the bar symbol:
- From the Font menu, select (normal text).
- From the Subset menu, select Combining Diacritical Marks.
-
Enter the character code for the bar symbol. To do this, type 0304 into the "Character code" field. This finds and selects the bar symbol.
-
Click Insert. This turns the X you typed into x̄.
-
Type an x where you want the X bar to appear. You can type it anywhere in your document.
-
Press Ctrl+⌘ Command+Space. This opens the Character Viewer.[1] It will initially open to the Emoji panel.
- Alternatively, you can click the Insert menu and then Advanced Symbol.
-
Click the Symbol tab. To switch to symbols from emoji, scroll to the top, then click the Symbol toggle icon in the right corner.[2]
-
Type combining overline into the Search box. It’s at the top of the Character Viewer. You’ll see a solid black line appear just beneath the search bar. That’s called a Combining Overline.
-
Double-click the Combining Overline. The “x” you typed will now appear as an X bar x̄.
- Next time you open the Character Viewer, you can find the Combining Overline quickly by clicking “Recently Used” at the top of the left panel.[3]
Expert Q&A
Tips
-
It's just as easy to overline other characters in Word.Thanks