Jump to content

AltGr key

From Wikipedia, the free encyclopedia

The AltGr key is the first key to the right of the space bar.

AltGr (also Alt Graph) is a modifier key found on many computer keyboards (rather than a second Alt key found on US keyboards). It is primarily used to type special characters and symbols that are not widely used in the territory where sold, such as foreign currency symbols, typographic marks and accented letters.[1] On a typical Windows-compatible PC keyboard, the AltGr key, when present, takes the place of the right-hand Alt key. The key at this location will operate as AltGr if a keyboard layout using AltGr is chosen in the operating system, regardless of what is engraved on the key.[2] In macOS, the Option key has functions similar to the AltGr key.

The AltGr key is used as an additional Shift key, to provide a third and a fourth (when Shift is also pressed) grapheme for most keys. Most are accented variants of the letters on the keys, but also additional symbols and punctuation marks. Some languages such as Bengali use this key when the number of letters of their alphabet is too large for a standard keyboard. For example, on the US-International keyboard layout, the C key can be used to insert four different characters:

History

[edit]

IBM states that AltGr is an abbreviation for alternate graphic.[3][4]

Sun Microsystems keyboard, which labels the key as Alt Graph

A key labelled with some variation of "Alt Graphic" was on many computer keyboards before the Windows international layouts. On early home computers the alternate graphemes were primarily box-drawing characters.[5]

This likely was the intended purpose of the Alt key on PC keyboards, however software quickly used this as a combination key for shortcuts, requiring a new key for producing additional characters.

Ctrl+Alt

[edit]

Windows interprets Ctrl+Alt as AltGr, to accommodate some compact keyboards like those of netbooks which have neither the AltGr key nor a right-hand Alt key. Thus Ctrl+Alt+a has the same effect as AltGr+a. Because of this feature, Microsoft advises that Ctrl+Alt not be used as part of any application keyboard shortcut, as it would prevent typing the matching AltGr character on such keyboards.[6][a]

Function by default national keyboard

[edit]

In most of the keyboard diagrams the symbol one gets when holding down AltGr is in blue in the lower-right of the corner. If different, the symbol for Shift+AltGr is shown in the upper-right.

Bangladesh

[edit]
Jatiya layout (Alt Gr activated characters in blue)

Belgium

[edit]
Belgian keyboard under Linux (Ubuntu 9.10)

The Windows version of the Belgian keyboard may only support a subset of these characters. Several of the AltGr combinations are themselves dead keys, which are followed by another letter to produce an accented version of that letter.

Brazil

[edit]
ABNT complying keyboard layout (Alt Gr activated characters in blue)


ABNT2 complying keyboard layout (Alt Gr activated characters in blue)

Some notes

[edit]
  • The AltGr+C combination results in the (obsolete) symbol ₢ for the former Brazilian currency, the Brazilian cruzeiro.
  • The AltGr+Q, AltGr+W, AltGr+E combinations are useful as a replacement for the "/?" key, which is physically absent on non-Brazilian keyboards.
  • Some software (e.g. Microsoft Word) will map AltGr+R to ® and AltGr+T to ™, but this is not standard behavior and was likely an accident owing to the fact that the combinations Ctrl+Alt+R and Ctrl+Alt+T were intended.

Finland

[edit]
The original design for the Finnish Multilingual Keyboard, dead keys in red; Icelandic and Faroese Ð/ð is on the D key, the Sámi Đ/đ available using the AltGr diacritic on L

The new Finnish keyboard standard of 2008 (SFS 5966) was designed for easily typing 1) Finnish, Swedish, Danish and Norwegian; 2) Nordic minority languages and 3) European Latin letters (based on MES-2, with emphasis on contemporary proper nouns), without needing engravings different from those on existing standard keyboards of Finland and Sweden. AltGr and dead diacritic keys are extensively used, although letters of Finnish and Swedish are mostly provided as normal keys.[7]

France

[edit]

On AZERTY keyboards, AltGr enables the user to type the following characters:

French AZERTY keyboard

Germany

[edit]

On German keyboards, AltGr enables the user to type the following characters, which are indicated on the keyboard:

German keyboard layout "T1" according to DIN 2137-1:2012-06

Windows 8 introduced the ability of pressing AltGr+⇧ Shift+ß to produce (capital ß). 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 (ß → "ß", ⇧ Shift+ß → "?", and, as shown above, AltGr+ß → "\")—, it can be seen in the Windows On-Screen Keyboard by selecting the necessary keys with the German keyboard layout selected. Some newer types of German keyboards offer the assignment AltGr+H → capital ß.

Greece

[edit]

A Greek keyboard layout

Some of these key combinations also result in different characters if the polytonic layout is used.

Israel

[edit]

Hebrew

[edit]

On Hebrew keyboards, AltGr enables the user to type the Hebrew vowels and pronunciation marks. In addition, there are several combinations for special characters:

Yiddish

[edit]

Using a Hebrew keyboard, one may write in Yiddish as the two languages share many letters. However, Yiddish has some additional digraphs not otherwise found in Hebrew, which are entered via AltGr:

Italy

[edit]

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

[edit]

The following letters can be input in the Latvian keyboard layout using AltGr:

North Macedonia

[edit]

On Macedonian keyboards, AltGr enables the user to type the following characters:

Netherlands

[edit]

Nordic countries and Estonia

[edit]

The keyboard layouts in the Nordic countries Denmark (DK), Faroe Islands (FO), Finland (FI), Norway (NO) and Sweden (SE) as well as in Estonia (EE) 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:

Finnish multilingual

[edit]

The Finnish multilingual keyboard standard adds many new characters to the traditional layout via the AltGr key, as shown in the image below (the blue characters can be written with the AltGr key; several dead key diacritics, shown in red, are also available as an AltGr combination).[8][9]

Finnish multilingual keyboard layout

Poland

[edit]

Typewriters in Poland used a QWERTZ layout specifically designed for the Polish language with accented letters in the Polish alphabet 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 available the accented Polish letters. An established method was to configure the right Alt key as an AltGr key and to use it in combination with a Latin base letter to obtain the equivalent precomposed character (accented form of the letter).

  • AltGr+Aą
  • AltGr+Cć
  • AltGr+Eę
  • AltGr+Lł
  • AltGr+Nń
  • AltGr+Oó
  • AltGr+Sś
  • AltGr+U
  • AltGr+Xź
  • AltGr+Zż

(Because there are two types of "z with diacritic" (ź and ż), AltGr+X is a special case.)

At the time of the Fall of communism and opening of commercial import channels this practice was so widespread that it was adopted as the de facto standard. Nowadays nearly all PCs in Poland have standard US keyboards and use the AltGr method to enter Polish diacritics. This keyboard mapping is referred to as the Polish programmers' layout (klawiatura polska programisty) 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 (klawiatura polska maszynistki). Older Polish versions of Microsoft Windows used this layout, describing it as Polish layout. On current versions it is referred to as Polish (214).

Romania

[edit]

The keymap with the AltGr key: < Romanian standard

  • AltGr+`
  • AltGr+1~
  • AltGr+2ˇ
  • AltGr+3^
  • AltGr+4˘
  • AltGr+5°
  • AltGr+6˛
  • AltGr+7`
  • AltGr+8˙
  • AltGr+9´
  • AltGr+0˝
  • AltGr+-¨
  • AltGr+e
  • AltGr+p§
  • AltGr+ă[
  • AltGr+î]
  • AltGr+â\
  • AltGr+sß
  • AltGr+dđ
  • AltGr+D+⇧ ShiftĐ
  • AltGr+lł
  • AltGr+L+⇧ ShiftŁ
  • AltGr+ș;
  • AltGr+ț'
  • AltGr+c©

+ the signs mostly pressed with AltGr prints the US keyboard signs Romanian standard>

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

Russia

[edit]

Since release 1903, versions of Windows 10 have the binding:

South Slavic Latin and Czech keyboards

[edit]

On South Slavic Latin (used in Croatia, Slovenia, Bosnia and Herzegovina, Montenegro and Serbia) and on Czech keyboards, the following letters and special characters are created using AltGr:

Slovenian/Croatian/Serbian (Latin) keyboard layout

South Slavic cyrillic keyboards use a different layout.

Switzerland

[edit]

On Swiss keyboards, AltGr in combination with the following keys types the following characters:

Switzerland has four national Languages (German, French, Italian, and Romansh). The Swiss keyboard layout is therefore designed with compatibility in mind for all four languages. In German-speaking and Romansh-speaking Switzerland (as well as the Czech Republic), the Swiss German layout is used, while in the French-speaking and Italian-speaking Switzerland, the Swiss French layout is used. The two layouts only differ on three keys—OEM1, OEM5, and OEM7. On the Swiss German layout, these three keys are labelled èü, éö, and àä, respectively, while on the Swiss French layout, the labels are inverted as üè, öé, and äà; namely, the base layer and the Shift⇧ layer are swapped. However, with respect to the AltGr layer, the region-specific layouts are irrelevant.

Swiss German: AltGr+Ä → {

Swiss French: AltGr+À → {

Turkey

[edit]

In Turkish keyboard variants the AltGr can be used to display the following characters:

  • AltGr+aæ
  • AltGr+sß
  • AltGr+e
  • AltGr+t
  • AltGr+q@
  • AltGr+ıi
  • AltGr+ü a → ã
  • AltGr+ğ a → ä
  • AltGr+ş a → á
  • AltGr+, a → à

Ukraine

[edit]

In Ukrainian (enhanced) keyboard, added in Windows Vista, combination AltGr+U (or as it is written in Cyrillic keyboards AltGr+Г gives letter ґ and Ґ.

United Kingdom and Ireland

[edit]

United Kingdom keyboard layout

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 euro sign. Located on the "4/$" key.
  • ¦ the broken bar symbol. Located on the "`/¬" key, to the immediate left of "1".

Using the AltGr key on Linux produces many foreign characters and international symbols, e.g. ¹²³€½{[]}@łe¶ŧ←↓→øþæßðđŋħjĸł«»¢“”nµΩŁE®Ŧ¥↑ıØÞƧЪŊĦJ&Ł<>©‘’Nº×÷· (If reconfigured as a compose key, an even larger repertoire is available).

With the UK extended keyboard setting (below), ChromeOS offers a large repertoire of symbols and precomposed characters.

Scotland and Wales

[edit]

For the diacritics used by Welsh (ŵ and ŷ) and Scottish Gaelic (à, è, ì, ò and ù), the UK extended keyboard setting is needed. This makes available AltGr+6 (for circumflex accent) and AltGr+` (for grave accent) as dead keys.

UK extended keyboard layout

[edit]

The UK-Extended keyboard mapping (available with Microsoft Windows, Linux and ChromeOS) allows many characters with diacritical marks (including those used in other European countries) to be generated by using the AltGr key, dead keys or a compose key, in combination with others.

UK extended layout under ChromeOS
¬
¦
! ¡
1 ¹
" ½
2
£
3 ³
$ ¼
4
%
5 ½
^
6
&
7 {
*
8 [
( ±
9 ]
) °
0 }
_ ¿
- \
+
=
tab Q Ω
q @
W
w
E É
e é
R ®
r
T Ŧ
t ŧ
Y Ý
y ý
U Ú
u ú
I Í
i í
O Ó
o ó
P Þ
p þ
{
[
}
]
A Á
a á
S §
s ß
D Ð
d ð
F ª
f đ
G Ŋ
g ŋ
H Ħ
h ħ
J
j
K &
k ĸ
L Ł
l ł
:
;
@
'
~
#
shift | ¦
\ |
Z <
z «
X >
x »
C Ç
c ç
V
v
B
b
N N
n n
M º
m µ
< ×
,
> ÷
. ·
?
/

Notes: Dotted circle (◌) is used here to indicate a dead key, invoked using AltGr. The ` (grave accent) key is the only one that acts as a free-standing dead key and thus does not respond as shown on the key-cap. (For a complete list of the characters generated using dead keys, see QWERTY#ChromeOS.)
AltGr+⇧ Shift+0 (°) is a degree sign; AltGr+⇧ Shift+M (º) is a masculine ordinal indicator. AltGr+, is an em-dash; there is no provision for en-dash.

United States

[edit]

Most keyboards sold in the US do not have an (engraved) AltGr key. However, if there is an right-hand Alt key it will act as AltGr if a layout using it is installed (conversely a foreign keyboard AltGr will act like the right-hand Alt if the standard US keyboard layout is installed).

US-International

[edit]

Microsoft provides a US-International keyboard layout that uses AltGr (or right-hand Alt or Ctrl+Alt) key to produce more characters:

US-International keyboard layout

Red characters are dead keys; for example ä can be entered with "a.

Other operating systems such as Linux and ChromeOS follow this layout but increase the repertoire of glyphs provided.

X Window System

[edit]

In the X Window System (Linux, BSD, Unix), AltGr can often be used to produce additional characters with almost every key on the keyboard. Furthermore, with some keys, AltGr will produce 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:

  • AltGr+; followed by Eé
  • AltGr+[ followed by ⇧ Shift+OÖ

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.

Keyboard maps

[edit]

Below are some diagrams and examples of country-specific key maps. For the diagrams, the grey symbols are the standard characters, yellow is with ⇧ Shift, red is with AltGr, and blue is with ⇧ Shift+AltGr.

Danish keyboard

[edit]

The Danish keymap features the following key combinations:

  • AltGr+⇧ Shift+QΩ
  • AltGr+Oœ
  • AltGr+Mµ

Italian keyboard

[edit]

The Italian keymap includes, among other combinations, the following:

Norwegian keyboard

[edit]
The complete Norwegian X Window key map with its AltGr combinations

Polish keyboard

[edit]

The Polish keymap on X-based systems features changed combination for € sign:

  • AltGr+5

AltGr+U results in ↓ instead. It also introduces several symbols and characters from different languages, including among others:

  • AltGr+Tß
  • AltGr+Pþ
  • AltGr+Dð
  • AltGr+Qπ
  • AltGr+⇧ Shift+QΩ
  • AltGr+Mµ
  • AltGr+⇧ Shift+M
  • AltGr+Fæ
  • AltGr+Wœ

Swedish keyboard

[edit]
The complete Swedish X Window key map with its AltGr combinations

See also

[edit]

Notes

[edit]
  1. ^ In general the substitution for the AltGr-key with Ctrl+Alt works as expected, but in some programs unexpected results can occur. For example in a local MS Outlook 365 installation the key combo Ctrl+Alt is not recognized as an AltGr.

References

[edit]
  1. ^ "What is AltGr key?".
  2. ^ Microsoft Support. "How to use the United States-International keyboard layout in Windows 7, in Windows Vista, and in Windows XP". Microsoft. Retrieved 30 May 2020.
  3. ^ "Keyboard Technical Reference". ibm.com. Archived from the original on 14 January 2006. Retrieved 4 June 2005.
  4. ^ "IBM Globalization – Alternate graphic". ibm.com.
  5. ^ Kaplan, Michael S.: "To start press the ALTGR key." Hmm... where's the ALTGR key?. 28 December 2004.
  6. ^ Raymond Chen (29 March 2004). "Why Ctrl+Alt shouldn't be used as a shortcut modifier". Microsoft.
  7. ^ "Suomalainen monikielinen näppäimistökaavio, viimeiseksi tarkoitettu luonnos" (PDF) (in Finnish). 20 June 2006. Archived from the original (PDF) on 20 July 2011.
  8. ^ SFS 5966 Keyboard layout. Finnish-Swedish multilingual keyboard setting. Finnish Standards Association SFS. 3 November 2008.
  9. ^ Kotoistus: Uusi näppäinasettelu = Status of the new Keyboard Layout Archived 27 July 2011 at the Wayback Machine. A bi-lingual (Finnish + English) presentation page collecting drafts of the Finnish Multilingual Keyboard. CSC – IT Center for Science Ltd. Page updated 28 December 2006.
Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PrtScn/
SysRq
Scroll
Lock
Pause/
Break
TildeExclamation markAt signNumber signDollar signPercent signCaretAmpersandAsteriskParenthesisParenthesisUnderscorePlus signBackspaceBacktick1 (number)2 (number)3 (number)4 (number)5 (number)6 (number)7 (number)8 (number)9 (number)0Hyphen-minusEquals signBackspaceTab keyQWERTYUIOPCurly bracketCurly bracketVertical barTab keyQWERTYUIOPSquare bracketSquare bracketBackslashCaps lockASDFGHJKLColon (punctuation)Quotation markEnter keyCaps lockASDFGHJKLSemicolonApostropheEnter keyShift keyZXCVBNMBracketBracketQuestion markShift keyShift keyZXCVBNMComma (punctuation)Full stopSlash (punctuation)Shift keyControl keyWindows keyAlt keySpace barAlt keyWindows keyMenu keyControl key
Insert Home PgUp Num
Lock
Delete End PgDn 7 8 9 +
4 5 6
1 2 3 Enter
   0
   Ins
 . 
Del