Accented Characters: Difference between revisions
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==National Character Sets== | ==National Character Sets== | ||
Different languages use different alphabets, especially when it comes to accented characters such as á à â ä ã. In fact there are many types of accents (a.k.a Diacritical Marks), the five most common being the ones just mentioned: Acute, Grave, Circumflex, Dieresis, and Tilde. For those five accents, there are corresponding alphabets, lower and upper case: | Different languages use different alphabets, especially when it comes to accented characters such as á à â ä ã. In fact there are many types of accents (a.k.a Diacritical Marks), the five most common being the ones just mentioned: Acute, Grave, Circumflex, Dieresis, and Tilde. For those five accents, there are corresponding Latin alphabets, lower and upper case: | ||
<table> | <table> | ||
Line 33: | Line 33: | ||
==Entering Accented Characters== | ==Entering Accented Characters== | ||
Different keyboards provide different ways in which to enter these accented characters. Nearly every keyboard layout that supports accented characters provides one or more [https://en.wikipedia.org/wiki/Dead_key "dead keys"]. These keys (e.g. a Dieresis (<b>¨</b>)), when pressed (sometimes with a modifier key such as Shift, Alt, or AltGR) do not display a character immediately, but wait for the next keystroke to complete the process. If (say) the next key is a capital <b>U</b>, then the key displayed is <b>Ü</b>. Many of the accented characters in the above list can be entered in this way. | Different keyboards provide different ways in which to enter these accented characters. Nearly every keyboard layout that supports accented characters provides one or more [https://en.wikipedia.org/wiki/Dead_key "dead keys"]. These keys (e.g. a Dieresis (<b>¨</b>)), when pressed (sometimes with a modifier key such as Shift, Alt, or AltGR) do not display a character immediately, but wait for the next keystroke (the base character) to complete the process. If (say) the next key is a capital <b>U</b>, then the key displayed is <b>Ü</b>. Many of the accented characters in the above list can be entered in this way. | ||
If the base character does not have an accented form, the system produces two symbols: the accent and the base character. This feature can be used to produce the accent character alone by use a space as the base character. | |||
==Global Dead Keys== | ==Global Dead Keys== | ||
However, not all of the above accented characters are supported on keyboards in combination with their software drivers. To aid in entering all of the above accented letters, NARS2000 supports Global Dead Keys through its software drivers. For all of the NARS2000 built-in keyboard layouts (e.g., Danish, French, German, UK, and US), certain keystrokes have been reserved as Dead | However, not all of the above accented characters are supported on keyboards in combination with their software drivers. To aid in entering all of the above accented letters, NARS2000 supports Global Dead Keys through its software drivers. For all of the NARS2000 built-in keyboard layouts (e.g., Danish, French, German, UK, and US), certain keystrokes have been reserved as Dead Keys. The built-in keyboard layouts are divided into two classes: those that use the Alt key to enter APL characters and those that use the Ctl key. For those layouts in the former class, the reserved keystrokes are Ctl-Shift- with the letters <b>a c d g t</b>; the layouts in the latter class reserve Alt-Shift-<b>a c d g t</b>. The letters <b>a c d g t</b> correspond to the first letter of the accent: <b>A</b>cute, <b>C</b>ircumflex, <b>D</b>ieresis, <b>G</b>rave, and <b>T</b>ilde. These choices may be overridden in case you need those keystrokes for your own purpose. | ||
For example, to enter the letters <b>ĵ</b> or <b>Ĵ</b> on an Alt-type keyboard layout, press Ctl-Shift-<b>c</b> (for <b>C</b>ircumflex), release those keys and then press either <b>j</b> to display <b>ĵ</b> or <b>J</b> to display <b>Ĵ</b>. | For example, to enter the letters <b>ĵ</b> or <b>Ĵ</b> on an Alt-type keyboard layout, press Ctl-Shift-<b>c</b> (for <b>C</b>ircumflex), release those keys and then press either <b>j</b> to display <b>ĵ</b> or <b>J</b> to display <b>Ĵ</b>. | ||
Line 43: | Line 45: | ||
==APL System Functions== | ==APL System Functions== | ||
From within APL, you have access to all of the above alphabets through the [[System_Function_A|system functions]] <apll>⎕á ⎕à ⎕â ⎕ä ⎕ã</apll> for the lowercase alphabets and <apll>⎕Á ⎕À ⎕Â ⎕Ä ⎕Ã</apll> for the uppercase alphabets. Also, <apll>⎕a</apll> and <apll>⎕A</apll> return the unaccented alphabets. | From within APL, you have access to all of the above Latin alphabets through the [[System_Function_A|system functions]] <apll>⎕á ⎕à ⎕â ⎕ä ⎕ã</apll> for the lowercase Latin alphabets and <apll>⎕Á ⎕À ⎕Â ⎕Ä ⎕Ã</apll> for the uppercase Latin alphabets. Also, <apll>⎕a</apll> and <apll>⎕A</apll> return the unaccented Latin alphabets. |
Latest revision as of 13:41, 18 July 2017
National Character Sets
Different languages use different alphabets, especially when it comes to accented characters such as á à â ä ã. In fact there are many types of accents (a.k.a Diacritical Marks), the five most common being the ones just mentioned: Acute, Grave, Circumflex, Dieresis, and Tilde. For those five accents, there are corresponding Latin alphabets, lower and upper case:
ábćdéfǵhíjḱĺḿńóṕqŕśtúvẃxýź | ÁBĆDÉFǴHÍJḰĹḾŃÓṔQŔŚTÚVẂXÝŹ | |
àbcdèfghìjklmǹòpqrstùvẁxỳz | ÀBCDÈFGHÌJKLMǸÒPQRSTÙVẀXỲZ | |
âbĉdêfĝĥîĵklmnôpqrstuvwxyz | ÂBĈDÊFĜĤÎĴKLMNÔPQRŜTÛVŴXŶẐ | |
äbcdëfgḧïjklmnöpqrsẗüvẅẍÿz | ÄBCDËFGḦÏJKLMNÖPQRSTÜVẄẌŸZ | |
ãbcdẽfghĩjklmñõpqrstũṽwxỹz | ÃBCDẼFGHĨJKLMÑÕPQRSTŨṼWXỸZ |
Entering Accented Characters
Different keyboards provide different ways in which to enter these accented characters. Nearly every keyboard layout that supports accented characters provides one or more "dead keys". These keys (e.g. a Dieresis (¨)), when pressed (sometimes with a modifier key such as Shift, Alt, or AltGR) do not display a character immediately, but wait for the next keystroke (the base character) to complete the process. If (say) the next key is a capital U, then the key displayed is Ü. Many of the accented characters in the above list can be entered in this way.
If the base character does not have an accented form, the system produces two symbols: the accent and the base character. This feature can be used to produce the accent character alone by use a space as the base character.
Global Dead Keys
However, not all of the above accented characters are supported on keyboards in combination with their software drivers. To aid in entering all of the above accented letters, NARS2000 supports Global Dead Keys through its software drivers. For all of the NARS2000 built-in keyboard layouts (e.g., Danish, French, German, UK, and US), certain keystrokes have been reserved as Dead Keys. The built-in keyboard layouts are divided into two classes: those that use the Alt key to enter APL characters and those that use the Ctl key. For those layouts in the former class, the reserved keystrokes are Ctl-Shift- with the letters a c d g t; the layouts in the latter class reserve Alt-Shift-a c d g t. The letters a c d g t correspond to the first letter of the accent: Acute, Circumflex, Dieresis, Grave, and Tilde. These choices may be overridden in case you need those keystrokes for your own purpose.
For example, to enter the letters ĵ or Ĵ on an Alt-type keyboard layout, press Ctl-Shift-c (for Circumflex), release those keys and then press either j to display ĵ or J to display Ĵ.
APL System Functions
From within APL, you have access to all of the above Latin alphabets through the system functions ⎕á ⎕à ⎕â ⎕ä ⎕ã for the lowercase Latin alphabets and ⎕Á ⎕À ⎕Â ⎕Ä ⎕Ã for the uppercase Latin alphabets. Also, ⎕a and ⎕A return the unaccented Latin alphabets.