AltGr is a modifier key found on some computer keyboards. It is primarily used to type characters that are not widely used in the territory where sold, such as foreign currency symbols, typographic marks and accented letters. On a typical, Windows-compatible PC keyboard, the AltGr key, when present, takes the place of the right-hand Alt key: if not engraved as such, that key may still be remapped to behave as though it is,. In macOS, the Option key has functions similar to the AltGr key. AltGr is used similarly to the Shift key: it is held down while another key is struck in order to obtain a character other than the one that the latter normally produces. AltGr and Shift can also sometimes be combined to obtain yet another character. For example, on the US-International keyboard layout, the C key can be used to insert four different characters:
The meaning of the key's abbreviation is not explicitly given in many IBM PC compatible technical reference manuals. However, IBM states that AltGr is an abbreviation for alternate graphic, and Sun keyboards label the key as Alt Graph. AltGr was originally introduced as a means to produce box-drawing characters, also known as pseudographics, in text user interfaces. These characters are, however, much less useful in graphical user interfaces, and rather than alternate graphic the key is today used to produce alternate graphemes.
On Belgian keyboards, enables the user to type the following characters. Those shown in bold are printed on the keys, and common to all systems; the others may be more variable, or specific to Unix-like systems. For travellers who want to use hotel PCs or cybercafés in Belgium, it is important to know that @ in email addresses is generated by a combination of + .
The combination results in the symbol ₢ for the former Brazilian currency, the Brazilian cruzeiro.
The,, combinations are useful as a replacement for the "/?" key, which is physically absent on non-Brazilian keyboards.
Some software will map to ® and to ™, but this is not standard behavior and was likely an accident owing to the fact that the combinations and were intended. Windows interprets as.
France
On AZERTY keyboards, AltGr enables the user to type the following characters:
On German keyboards, AltGr enables the user to type the following characters, which are indicated on the keyboard:
→ ²
→ ³
→
→ \
→ ~
→ @
→ €
→ |
→ µ
Windows 8 introduced the ability of pressing to produce ẞ. Even though this is usually not indicated on the physical keyboard—potentially due to a lack of space, since the ß-key already has three different levels —, it can be seen in the Windows On-Screen Keyboard by selecting the necessary keys with the German keyboard layout selected.
Greece
On Greek keyboards, AltGr enables the user to type the following characters: → €
Israel
Hebrew
On Hebrew keyboards, AltGr enables the user to type the following characters:
→ ₪
→ €
There are several combinations using AltGr that activate Hebrew vowels.
Using a Hebrew keyboard, one may write in Yiddish as the two languages share many letters. However, Yiddish has some additional digraphs and a symbol not otherwise found in Hebrew which are entered via AltGr.
→
→
→
→
Italy
On Italian keyboards, AltGr enables the user to type the following characters:
→ €
→ €
→ @
→ #
→
→
There is an alternate layout, which differ just in disposition of characters accessible through AltGr and includes the tilde and the curly brackets.
Latvia
The following letters can be input in the Latvian keyboard layout using AltGr:
The keyboard layouts in the Nordic countries, Faroe Islands, Finland, Norway and Sweden as well as in Estonia ) are largely similar to each other. Generally the AltGr key can be used to create the following characters:
→ @
→ £
→ $
→ €
→ µ
→
→ ~
Other AltGr combinations are peculiar to just some of the countries:
Typewriters in Poland used a QWERTZ layout specifically designed for the Polish language with accented characters obtainable directly. When personal computers became available worldwide in the 1980s, commercial importing into Poland was not supported by its communist government, so most machines in Poland were brought in by private individuals. Most had US keyboards, and various methods were devised to make special Polish characters available. An established method was to use AltGr in combination with the relevant Latin base letter to obtain a precomposed character with a diacritic; note the exceptional combination using x instead of the base letter z, as the Latin base letter has been reserved for another combination:
At the time of the political transformation and opening of commercial import channels this practice was so widespread that it was adopted as the de facto standard. Nowadays most PCs in Poland have standard US keyboards and use the AltGr method to enter Polish diacritics. This layout is referred to as Polish programmers' layout or simply Polish layout. Another layout is still used on typewriters, mostly by professional typists. Computer keyboards with this layout are available, though difficult to find, and supported by a number of operating systems; they are known as Polish typists' layout. Older Polish versions of Microsoft Windows used this layout, describing it as Polish layout. On current versions it is referred to as Polish .
In UK and Ireland keyboard layouts, only two alternative use symbols are printed on most keyboards, which require the AltGr key to function. These are:
The UK-Extended keyboard mapping allows many characters with diacritical marks to be generated by using the AltGr key or dead keys in combination with others.
¬
! 1
" 2
£ 3
$ 4
% 5
^ 6
& 7
_ -
+ =
tab
Q q
W w
E e
R r
T t
Y y
U u
I i
O o
P p
-
]
United States
Most keyboards sold in the US do not have an AltGr key. With some Operating Systems, its function may be emulated using or, given the rightkeyboard mapping, one of the Alt keys can be made to have the AltGr functionality.
Control + Alt as a substitute
Originally, US PC keyboards did not have an AltGr key because it was relevant only in non-US markets: US keyboards simply had "left" and "right" Alt keys. On most non-US keyboards, the right-hand Alt key is engraved as . In reality, because the same scancode is generated irrespective of the superficial engraving, the actual function of the key is determined by the Operating System. Consequently, some keyboard mappings treat the right-Alt key as an AltGr, even though it is not engraved as such. Conversely, on some compact keyboards like those of netbooks, the right Alt key may be missing altogether. To allow the specific functionality of AltGr when typing non-English text on such keyboards, some OSs such as Microsoft Windows emulate the function by treating the Alt key and Control key pressed together as an AltGr key: Therefore, Microsoft recommends that this combination not be used as a keyboard shortcut in Windows applications as, depending on the keyboard layout and configuration, someone trying to type a special character with it may accidentally trigger the application shortcut.
In the X Window System, AltGr can often be used to produce additional characters with almost every key on the keyboard. For example, the Danish keymap features the following key combinations:
→ Ω
→ ø
→ µ
The Italian keymap includes, among other combinations, the following:
This use of dead keys enables one to type a wide variety of precomposed characters that combine various diacritics with either uppercase or lowercase letters, achieving a similar effect to the Compose key.
Swedish key map
In this diagram of the Swedish X Window key map, the grey symbols are the standard characters, yellow is with, red is with, and blue is with.