Formatting Issues

How to Add an Overbar to Text in Word with Courier New Font

Elise WilliamsElise Williams Oct 23, 2026 873 views

Question details

The user needs to add an overbar to text in Microsoft Word, specifically when using the Courier New font, as standard combining characters fail to display properly.

How to Add an Overbar to Text in Word with Courier New Font
Product
Microsoft Word
Device & OS
not provided
Scenario
Typing mathematical or specific formatted text requiring a line above the characters in Courier New.
Observed behavior
The combining overbar character (U+0305) or Alt+0772 produces a regular character instead of placing a bar above the text in the Courier New font.
Before you start

Ensure you have your Microsoft Word document open and identify the specific text or character that requires an overbar.

Solution 1Recommended

Use an EQ Field to Create the Overbar

An EQ (Equation) field allows you to precisely place a line above any character or word, bypassing font-specific rendering issues like those in Courier New.

Unlike standard equation objects that may force a font change, the EQ field perfectly preserves the surrounding Courier New font while drawing a line over your specified text.

1
Insert Field Braces

Press Ctrl + F9 on your keyboard to insert a pair of special field braces { } in your document.

2
Type the Field Code

Inside the braces, type the following code: EQ \x \to(your text). Replace 'your text' with the actual character or word you want the overbar to appear above.

3
Toggle Field Codes

Right-click the field code and select 'Toggle Field Codes', or press Shift + F9, to display the final result with the overbar.

Use an EQ Field to Create the Overbar
Tip: If the field code is visible but the overbar isn't showing, select the code and press F9 to update the field.
Easy Document Formatting

Add Overbars Easily with WPS Writer

WPS Writer offers an intuitive Equation Editor that lets you easily add overbars and other mathematical accents to your text without relying on complex field codes.

  1. 1. Open your Document: Launch WPS Writer and open the document where you need to add an overbar.
  2. 2. Insert an Equation: Go to the 'Insert' tab on the top ribbon and click on 'Equation'.
  3. 3. Select the Overbar Template: In the Equation Editor window, select the 'Accent' templates and choose the 'Overbar' option from the dropdown menu.
  4. 4. Enter your Text: Type your desired text or character into the placeholder box positioned underneath the overbar.
Built-in intuitive Equation Editor for quick accentsFully compatible with Microsoft Word document formats (.docx)Easily insert accents, overbars, and mathematical symbols without formatting breaksFree and lightweight alternative for document editing
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Alt+0772 work in Courier New?

The keyboard shortcut Alt+0772 inserts the Unicode combining overbar (U+0305). However, certain legacy fonts like Courier New lack proper typesetting support for this specific combining diacritic, causing it to render as a separate character rather than placing the bar directly above the preceding letter.

Can I use the standard Equation tool instead of an EQ field?

Yes, you can use the built-in Equation tool (Insert > Equation) and select an Accent template with a top bar. However, the EQ field method is often preferred when you strictly need to preserve the surrounding inline font (like Courier New) without triggering Word's default math font (Cambria Math).

How do I edit the text inside an existing EQ field overbar?

Select the text with the overbar and press Shift+F9 to reveal the underlying field code. Edit the text located inside the parentheses \to(...), then press Shift+F9 again to hide the code and instantly update the display.