Windows
Hold Alt and type 298 on the numeric keypad.
Accents
Copy the character, or use the shortcut that matches your keyboard and app.
All I accentsHold Alt and type 298 on the numeric keypad.
Character Viewer → i macron
Type 012A then Alt + X
Insert → Special characters → I macron
Click the keycap, then paste with Ctrl+V or Cmd+V.
Num Lock on, hold Alt, type 298, release Alt.
Use the Unicode, HTML, CSS, or JS value below in documents and stylesheets.
U+012AĪĪ\012A\u{012A}Alt + 298