Mac OS
If you are running a Mac OS, typing with any accent mark is straight forward. Hold down any key on the keyboard and a selection of accent marks associated with that letter will appear.
Windows OS
Typing with diacritics in the Windows OS is complicated. However, there is a fairly simple work around that requires the installation of a program called AutoHotKey (AHK) and the associated macro file to allow you to quickly type in macrons above Latin vowels to represent the Japanese long vowel (chōon / 長音).
-
Download and install AutoHotKey. AHK is a program that allows users to create simple shortcut commands to automate often repetitive tasks.
-
Download the associated AHK file "romajiMacrons.ahk"
-
This .ahk file will allow users to type vowels with the macron diacritic by holding the right ALT key and typing the corresponding vowel. Use the right ALT key + SHIFT to type capital letters with macrons above them.
-
Store this file someplace like your "documents" folder.
-
Double click the file and an icon will appear in your task bar, a small green square with a white "H" this indicates the script is active.
-
Try it out! By using the right ALT key in tandem with a vowel, you can now instantly type letters with macrons above them.