Elizabeth J. Pyatt

210 Rider II,
Education Technology Services, a unit of I.T.S
ejp10@psu.edu

My Life as a Penn State Instruction Designer

Got Unicode?
Typing a Macron

One question that comes up a lot is how to generate a long mark or macron over vowels. It's "exotic" enough to be outside the normal Western European character set for French, Spanish, German and so forth, so the usual rules do not apply.

This Page: Windows | Macintosh OS X | HTML | Other Accents

Where it's Found

Despite it's "exotic" status, the macron is actually used in quite a few cases, including.

In short, a lot of Classicists, religious scholars, linguists and actual speakers would like to be able to generate a long mark.

If only it weren't so complicated....

Windows

Character Map

Unfortunately, the Character Map, which requires you to cut and paste individual symbols, is still the most reliable option. You can also see the Penn State Character Map instructions for directions with screen captures.

  1. Click on the Windows Start menu, then All Programs (Start » All Programs) on the lower left of your screen. Select Programs » Accessories » System Tools » Character Map.
  2. A window should open which displays a series of characters in a grid as in the image below.
  3. Make sure that the Font from the dropdown list matches that of the document you are creating. If you doing some other function, such as filling out a Web form, select Times New Roman as the Font.
  4. Look in the grid for the symbol you want. If necessary, use the scroll bars on the right to view more characters.
    NOTE: Many Windows fonts include Cyrillic and Greek letters by default. For other scripts, use Arial Unicode or some other appropriate font.
  5. If the character you want is not in the grid, change the font to Arial Unicode MS, Lucida Sans Unicode, Tahoma, Times New Roman, Arial or some other appropriate font.
  6. Double-click on any character you wish to insert then click the Select button to make it appear in the Characters to Copy field. You can Select more than one character at this time.
  7. Highlight one or more of the characters in the Characters to Copy you wish to insert then click the Copy button.
  8. Minimize from the Character Map window, and open or switch to the application window in which you wish to insert a the character.
  9. Position your cursor in the location you wish to insert the character.
  10. Under the Edit Menu, choose Paste (or use the keyboard shortcut Control+V). The character should appear.
  11. If necessary, change the font of the inserted character to the one selected in the Character Map.

Alt Codes (Word 2003 Only)

If you are using Word 2003 for Windows XP, then these numeric codes will work. You may wish to experiment in other programs to see if these work.

Note: These only work with a numeric keypad.

Word 2003 (Win XP) ALT Codes
  Capital Vowels
Ā ALT+0256 Cap long A
Ē ALT+0274 Cap long E
Ī ALT+0298 Cap long I
Ō ALT+0332 Cap long O
Ū ALT+0362 Cap long U
Ȳ ALT+0562 Cap long Y
Æ ALT+0198 Cap short ash
Ǣ ALT+0482 Cap long ash
  Lower Vowels
ā ALT+0257 Lower long A
ē ALT+0275 Lower long E
ī ALT+0299 Lower long I
ō ALT+0333 Lower long O
ū ALT+0363 Lower long U
ȳ ALT+0563 Lower long Y
æ ALT+0230 Lower short ash
ǣ ALT+0483 Lower long ash

Macintosh OS X

There are a number of accent codes beyond the usual acute, grave, umlaut and circumflex, BUT you must activate the Extended Keyboard to use these codes. 

Activate the Keyboard

You can also see the Penn State Macintosh Keyboard page for instructions with screen captures.

  1. Go to the Apple menu and open Systems Preferences. Click the International icon on the first row of the Systems Preferences panel.
  2. Click the Input Menu tab and check the keyboards you want activated.
  3. Check the option for the U.S. Extended Keyboard, then close the panel.
  4. Open a software application such as a word processor, spread-sheet or any other application in which you need to enter text.
  5. On the upper right portion of the screen, click on the American flag icon. Use the dropdown menu to select a keyboard such as "U.S. Extended".
  6. The keyboard will be switched and an appropriate font will be selected within the application. A flag icon corresponding to the keyboard will be displayed on the upper right.
    Note: If the keyboard selection is grayed out, then you are using an older application which does not support Unicode keyboards.
  7. To switch back to the U.S. keyboard or to some other keyboard, click on the flag icon on the upper right and select a keyboard from the dropdown menu.

Extended Keyboard Accent codes.

Additional codes are listed on the Penn State Computing with Accents Page.

X = any letter
ACCENT SAMPLE TEMPLATE NOTES
Macron Ō,ō Option+A, X Latin long mark, plus long Y (Ȳ) and long ash (Ǣ). Use Option+K,A if you need A-ring.
Breve Ŏ,ŏ Option+B, X Short vowel mark
Circumflex Ŵ,ŵ Option+6,X Works with any letter. Note difference from Option+I in U.S. Standard keyboard.
Nasal Vowel Tilde Ẽ,ẽ See Notes Use Option+N to place a tilde over any vowel
Hacheck Č,č Option+V, X Used in Czech and other languages
Strikethrough Bar ł,ɨ Option+L, X Works with L,I,O
Subscript Dot ṣ,ḍ Option+X, X Used to indicate retroflex consonants
Superscript Dot ṡ,ḟ, Option+W, X Used in Polish and Old Irish.
Top of Page

HTML Codes

Use these codes to input accented letters in HTML. For instance, if you want to type bōnus with a long O, you would type bōnus.

NOTE: Your page should declare utf-8 (Unicode) encoding or else the characters may not display in older browsers. Because these are Unicode characters, the formatting may not exactly match that of the surrounding text depending on the browser.

HTML Entity Codes for Old English
  Capital Vowels
Ā Ā Cap long A
Ē Ē Cap long E
Ī Ī Cap long I
Ō Ō Cap long O
Ū Ū Cap long U
Ȳ Ȳ Cap long Y
Æ Æ(198) Cap short ash
Ǣ Ǣ Cap long ash
  Lower Vowels
ā ā Lower long A
ē ē Lower long E
ī ī Lower long I
ō ō Lower long O
ū ū Lower long U
ȳ ȳ Lower long Y
æ æ(230) Lower short ash
ǣ ǣ Lower long ash
Top of Page

Other Accents

Besides the macron (e.g. ā), there's also the short mark or breve (ă), the hachek (ǎ), the superscript dot (ȧ), the subscript dot (ạ), exotic tildes (ẽ) and exotic cedilles (ş).

Instructions for these codes are listed at

Top of Page