Compose key: Difference between revisions
Severa X.org compositions available, let's call the one shown as default (which it is for en_US and most other languages as well) |
m use {{key press}} for key combinations |
||
Line 34: | Line 34: | ||
| |
| |
||
{| class="wikitable" |
{| class="wikitable" |
||
! |
!this !! renders this |
||
|- |
|- |
||
|| |
|| {{key press|<tt>'</tt>}} {{key press|<tt>a</tt>}} || á |
||
|- |
|- |
||
|| |
|| {{key press|<tt>'</tt>}} {{key press|<tt>A</tt>}} || Á |
||
|- |
|- |
||
|| |
|| {{key press|<tt>"</tt>}} {{key press|<tt>a</tt>}} || ä |
||
|- |
|- |
||
|| |
|| {{key press|<tt>"</tt>}} {{key press|<tt>A</tt>}} || Ä |
||
|- |
|- |
||
|| |
|| {{key press|<tt>`</tt>}} {{key press|<tt>a</tt>}} || à |
||
|- |
|- |
||
|| |
|| {{key press|<tt>`</tt>}} {{key press|<tt>A</tt>}} || À |
||
|- |
|- |
||
|| |
|| {{key press|<tt>~</tt>}} {{key press|<tt>a</tt>}} || ã |
||
|- |
|- |
||
|| |
|| {{key press|<tt>~</tt>}} {{key press|<tt>A</tt>}} || Ã |
||
|- |
|- |
||
|| |
|| {{key press|<tt>^</tt>}} {{key press|<tt>a</tt>}} || â |
||
|- |
|- |
||
|| |
|| {{key press|<tt>^</tt>}} {{key press|<tt>A</tt>}} || Â |
||
|- |
|- |
||
|| |
|| {{key press|<tt>c</tt>}} {{key press|<tt>a</tt>}} || ǎ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>c</tt>}} {{key press|<tt>A</tt>}} || Ǎ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>o</tt>}} {{key press|<tt>a</tt>}} || å |
||
|- |
|- |
||
|| |
|| {{key press|<tt>o</tt>}} {{key press|<tt>A</tt>}} || Å |
||
|- |
|- |
||
|| |
|| {{key press|<tt>_</tt>}} {{key press|<tt>a</tt>}} || ā |
||
|- |
|- |
||
|| |
|| {{key press|<tt>_</tt>}} {{key press|<tt>A</tt>}} || Ā |
||
|- |
|- |
||
|| |
|| {{key press|<tt>;</tt>}} {{key press|<tt>a</tt>}} || ą |
||
|- |
|- |
||
|| |
|| {{key press|<tt>;</tt>}} {{key press|<tt>A</tt>}} || Ą |
||
|- |
|- |
||
|| |
|| {{key press|<tt>b</tt>}} {{key press|<tt>a</tt>}} || ă |
||
|- |
|- |
||
|| |
|| {{key press|<tt>b</tt>}} {{key press|<tt>A</tt>}} || Ă |
||
|- |
|- |
||
| colspan=" |
| colspan="2" | ''Vowels support<br>most of the above'' |
||
|- |
|- |
||
|} |
|} |
||
| |
| |
||
{| class="wikitable" |
{| class="wikitable" |
||
! |
!this !! renders this |
||
|- |
|- |
||
|| |
|| {{key press|<tt>,</tt>}} {{key press|<tt>c</tt>}} || [[Cedilla|ç]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>,</tt>}} {{key press|<tt>C</tt>}} || [[Cedilla|Ç]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>O</tt>}} {{key press|<tt>R</tt>}} || [[Trademark|®]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>O</tt>}} {{key press|<tt>C</tt>}} || [[Copyright|©]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>t</tt>}} {{key press|<tt>m</tt>}} || [[Trademark|™]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt><</tt>}} {{key press|<tt><</tt>}} || « |
||
|- |
|- |
||
|| |
|| {{key press|<tt>></tt>}} {{key press|<tt>></tt>}} ||» |
||
|- |
|- |
||
|| |
|| {{key press|<tt>"</tt>}} {{key press|<tt><</tt>}} || “ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>"</tt>}} {{key press|<tt>></tt>}} || ” |
||
|- |
|- |
||
|| |
|| {{key press|<tt>'</tt>}} {{key press|<tt><</tt>}} || ‘ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>'</tt>}} {{key press|<tt>></tt>}} || ’ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>.</tt>}} {{key press|<tt>.</tt>}} || … |
||
|- |
|- |
||
|| |
|| {{key press|<tt>.</tt>}} {{key press|<tt>^</tt>}} || · |
||
|- |
|- |
||
|| |
|| {{key press|<tt>x</tt>}} {{key press|<tt>x</tt>}} || × |
||
|- |
|- |
||
|| |
|| {{key press|<tt>-</tt>}} {{key press|<tt>:</tt>}} || ÷ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>^</tt>}} {{key press|<tt>0</tt>}} || ⁰ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>^</tt>}} {{key press|<tt>1</tt>}} || ¹ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>^</tt>}} {{key press|<tt>2</tt>}} || ² |
||
|- |
|- |
||
|| |
|| {{key press|<tt>^</tt>}} {{key press|<tt>3</tt>}} || ³ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>1</tt>}} {{key press|<tt>2</tt>}} || ½ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>1</tt>}} {{key press|<tt>4</tt>}} || ¼ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>3</tt>}} {{key press|<tt>4</tt>}} || ¾ |
||
|- |
|- |
||
|} |
|} |
||
| |
| |
||
{| class="wikitable" |
{| class="wikitable" |
||
! |
!this !! renders this |
||
|- |
|- |
||
|| |
|| {{key press|<tt>s</tt>}} {{key press|<tt>s</tt>}} || ß |
||
|- |
|- |
||
|| |
|| {{key press|<tt>s</tt>}} {{key press|<tt>o</tt>}} || [[Section sign|§]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>/</tt>}} {{key press|<tt>o</tt>}} || ø |
||
|- |
|- |
||
|| |
|| {{key press|<tt>/</tt>}} {{key press|<tt>O</tt>}} || Ø |
||
|- |
|- |
||
|| |
|| {{key press|<tt>-</tt>}} {{key press|<tt>d</tt>}} || [[d with stroke|đ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>-</tt>}} {{key press|<tt>D</tt>}} || [[d with stroke|Đ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>d</tt>}} {{key press|<tt>h</tt>}} || [[Eth|ð]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>D</tt>}} {{key press|<tt>H</tt>}} || [[Eth|Ð]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>~</tt>}} {{key press|<tt>n</tt>}} || [[ñ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>t</tt>}} {{key press|<tt>h</tt>}} || [[Thorn (letter)|þ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>T</tt>}} {{key press|<tt>H</tt>}} || [[Thorn (letter)|Þ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>a</tt>}} {{key press|<tt>e</tt>}} || [[æ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>A</tt>}} {{key press|<tt>E</tt>}} || [[Æ]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>!</tt>}} {{key press|<tt>!</tt>}} || [[¡]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>?</tt>}} {{key press|<tt>?</tt>}} || [[¿]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>-</tt>}} {{key press|<tt>L</tt>}} || [[Pound sign|£]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>=</tt>}} {{key press|<tt>E</tt>}} || [[Euro sign|€]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>=</tt>}} {{key press|<tt>Y</tt>}} || [[¥]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>/</tt>}} {{key press|<tt>C</tt>}} || [[Colón (currency)|₡]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>|</tt>}} {{key press|<tt>c</tt>}} || [[Cent (currency)|¢]] |
||
|- |
|- |
||
|| |
|| {{key press|<tt>o</tt>}} {{key press|<tt>x</tt>}} || ¤ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>/</tt>}} {{key press|<tt>/</tt>}} || \ |
||
|- |
|- |
||
|| |
|| {{key press|<tt>o</tt>}} {{key press|<tt>o</tt>}} || ° |
||
|} |
|} |
||
|} |
|} |
Revision as of 00:30, 5 November 2014
This article includes a list of general references, but it lacks sufficient corresponding inline citations. (May 2012) |
A compose key, available on some computer keyboards, is a special kind of modifier key designated to signal the software to interpret the following (usually two) keystrokes as a combination in order to produce a character not found directly on the keyboard. For example, striking Compose followed by ~ and then n can produce character ñ, whereas striking Compose followed by O and then C can produce the symbol ©, the copyright symbol.
The compose key is different from a typical modifier key (such as AltGr) in that, rather than being pressed and held while another key is struck, it is pressed and released before striking the keys to be modified.
Though it can be considered a type of dead key, the compose key differs in that a normal dead key produces part of the composite, typically a diacritic, to combine with a following letter. Since each different first part requires a different dead key, this limits the number of combinations. The first part of the composite from a compose key can be any key on the keyboard, vastly increasing the number of possible combinations, and allowing some easily memorized sequences such as 1,2 for ½. However it has the cost of using one more keystroke than a dead key.
Occurrence on keyboards
The compose key can be found on the LK201 family of keyboards from Digital Equipment Corporation and its successors. The key can also be found on keyboards from Sun Microsystems.
Microsoft Windows and OS X do not support a compose key by default, therefore the key does not exist on most keyboards designed for modern PC hardware.[citation needed] When software supports compose key behavior, some other key is used. Common examples are the right-hand Windows key, the AltGr key, ⇧ Shift+AltGr,[1] or the right-hand Ctrl key.
ISO/IEC 9995-7 designed a graphical symbol for this key, in ISO/IEC 9995-7 as symbol 15 “Compose Character”, and in ISO 7000 “Graphical symbols for use on equipment” as symbol ISO-7000-2021. This symbol is encoded in Unicode as U+2384 composition symbol (⎄) since version 3.0.0 of the standard.[2]
Software support
Compose keys are most popular on Linux and other systems using the X Window System.[3] On modern Xorg the default setup maps first pressing ⇧ Shift and then pressing AltGr while ⇧ Shift is still depressed to the compose key, but pressing AltGr first followed by ⇧ Shift to the fourth "keyboard level" modifier[4] (the first three levels correspond to holding no modifiers, ⇧ Shift, and AltGr respectively.) So for example the copyright symbol, © can be typed using the compose key as ⇧ Shift+AltGr, o, c, or using the level four modifier as AltGr+⇧ Shift+c. As this is rather inconvenient (especially if the keyboard does not have AltGr) it is common to select a keyboard layout making another key such as the right-hand Ctrl or ⊞ Win into the compose key.
On Microsoft Windows a few programs such as PuTTY provide compose key support. There are also a number of open source utilities (such as AllChars or Compose-Keys) and installable keyboard layouts (such as this one) available that emulate the compose key using a selectable modifier key like Control or AltGr.
Common compose combinations
The table shown below contains the current default common compositions for X.Org 7. Other compositions may work, based on the de facto Sun/DEC/Falco standard. Particularly for modern systems which support customizable compose sequences and Unicode, the table would be far from complete.[5]
|
|
|
See also
References
- ^ "Compose Key". Ubuntu. Retrieved 10 July 2012.
- ^ Unicode chart 2300-23FF
- ^ van Geloven, Sander (2012). Compose Key Sequence Reference Guide 2012. Utrecht, the Netherlands: Hellebaard. ISBN 1-4681-4110-4.
- ^ Ubuntu Help: Compose Key: Third and fourth level choosers
- ^ Complete list of permissible sequences
External links
- Linux Compose Key Sequences with equivalent unicode mappings
- XFree86 Compose Key character map by XFree86
- Everything2's list of Compose Key combinations
- Sun's Compose Key combinations used under CDE
- Setting up Compose Key in the X Window System
- AllChars, an open-source utility that emulates the Compose key under MS-Windows
- FreeCompose, an open-source Compose key utility for Windows.
- JLG Extended Keyboard Layout - yet another utility based on the Compose Key mechanism under Windows
- Installable keyboard layouts for Windows with source for editing in the MSKLC keyboard editor
- Accent Composer - Compose accented characters and other symbols under Microsoft Windows. Unicode compatible
- Compose key sequences used in GNOME/GTK