AltGr key


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.

Function by default national keyboard

Belgium

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 + .


Some notes

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.

Yiddish

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.
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:

[Lowercase letter]s

On Macedonian keyboards, AltGr enables the user to type the following characters:
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:
The Finnish multilingual keyboard standard adds many new characters to the traditional layout via the AltGr key, as shown in the image [|below].

Poland

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 .

Romania

The keymap with the AltGr key:
â ß € r ț y u î o § „ ”
ă ș đ f g h j k ł ;
z x © v b n m « »

Russia

Since release 1903, versions of Windows 10 have the binding:
On South Slavic Latin keyboards, the following letters and special characters are created using AltGr:
In Turkish keyboard variants the AltGr can be used to display the following characters:
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:
Using the AltGr key on Linux produces many foreign characters and international symbols, e.g. ¹²³€½@łe¶ŧ←↓→øþæßðđŋħjĸł«»¢“”nµΩŁE®Ŧ¥↑ıØÞƧЪŊĦJ&Ł<>©‘’Nº×÷·.
With the UK extended keyboard setting, Chrome OS offers a large repertoire of symbols and precomposed characters.

Scotland and Wales

For the diacritics used by Welsh and Scots Gaelic, the UK extended keyboard setting is needed. This makes available and as dead keys.

UK extended keyboard layout

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
_
-
+
=
tabQ
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 right keyboard 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.

US-International

In the US-International keyboard layout and Microsoft Windows with the matching keyboard setting, the AltGr key can be used to enter the following characters:
¡ ² ³ ¤ € ¼ ½ ¾ ‘ ’ ¥ ×
ä å é ® þ ü ú í ó ö « »
á ß ð ø ¶ ´ ¬
æ © ñ µ ç ¿
and, in combination with the Shift key:
¹ £ ÷
Ä Å É Þ Ü Ú Í Ó Ö
Á § Ð Ø ° ¨ ¦
Æ ¢ Ñ Ç
Note that many of these symbols can also be entered using dead keys; for example ä can be entered with " followed by a.
For comparison, the US-International keyboard layout follows. Note that the "`/~" key has been omitted; the AltGr key does not influence the characters typed with this key.
1 2 3 4 5 6 7 8 9 0 - =
q w e r t y u i o p
a s d f g h j k l ; ' \
z x c v b n m,. /
Other operating systems such as Linux and Chrome OS increase the repertoire of glyphs provided. In some variations of Linux, the AltGr key can be reconfigured to become a compose key, giving access to a much larger repertoire.

X Window System

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:
With some keys, AltGr produces a dead key; for example on a UK keyboard, semicolon can be used to add an acute accent to a base letter, and left square bracket can be used to add a trema:
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.