APL Font: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
Line 27: Line 27:
||Section
||Section
| align="center" |<apll>§</apll>
| align="center" |<apll>§</apll>
| align="center" |0167 or 0x00A7
| align="center" |&ensp;167 or U+00A7
| align="center" |'''Alt-S'''
| align="center" |'''Alt-S'''
| Multiset Symmetric Difference
| Multiset Symmetric Difference
Line 33: Line 33:
||Pi
||Pi
| align="center"|<apll>π</apll>
| align="center"|<apll>π</apll>
| align="center"|0960 or 0x03C0  
| align="center"|&ensp;960 or U+03C0  
| align="center"|'''Alt-p'''
| align="center"|'''Alt-p'''
|| Prime Decomposition and Number-theoretic
|| Prime Decomposition and Number-theoretic
Line 39: Line 39:
||Root
||Root
| align="center"|<apll>√</apll>
| align="center"|<apll>√</apll>
| align="center"|8730 or 0x221A
| align="center"|8730 or U+221A
| align="center"|'''Alt-R'''
| align="center"|'''Alt-R'''
|| Square Root and Nth Root
|| Square Root and Nth Root
Line 45: Line 45:
||Infinity
||Infinity
| align="center"|<apll>∞</apll>
| align="center"|<apll>∞</apll>
| align="center"|8734 or 0x221E  
| align="center"|8734 or U+221E  
| align="center"|'''Alt-f'''
| align="center"|'''Alt-f'''
|| Infinity
|| Infinity
Line 51: Line 51:
|| Mismatch
|| Mismatch
| align="center"|<apll>≢</apll>
| align="center"|<apll>≢</apll>
| align="center"|8802 or 0x2262
| align="center"|8802 or U+2262
| align="center"|'''Alt-@'''
| align="center"|'''Alt-@'''
|| Mismatch
|| Mismatch
Line 57: Line 57:
||Left-shoe-underbar
||Left-shoe-underbar
| align="center"|<apll>⊆</apll>
| align="center"|<apll>⊆</apll>
| align="center"|8838 or 0x2286
| align="center"|8838 or U+2286
| align="center"|'''Alt-Z'''
| align="center"|'''Alt-Z'''
|| Subset of
|| Subset of
Line 63: Line 63:
|| Right-shoe-underbar
|| Right-shoe-underbar
| align="center"|<apll>⊇</apll>
| align="center"|<apll>⊇</apll>
| align="center"|8839 or 0x2287
| align="center"|8839 or U+2287
| align="center"|'''Alt-X'''
| align="center"|'''Alt-X'''
||Superset of
||Superset of
Line 69: Line 69:
||Circle-middle-dot
||Circle-middle-dot
| align="center"|<apll>⊙</apll>
| align="center"|<apll>⊙</apll>
| align="center"|8857 or 0x2299
| align="center"|8857 or U+2299
| align="center"|'''Alt-?'''
| align="center"|'''Alt-?'''
||Null operator
||Null operator
Line 75: Line 75:
||Quad-colon
||Quad-colon
| align="center"|<apll>⍠</apll>
| align="center"|<apll>⍠</apll>
| align="center"|9056 or 0x2360
| align="center"|9056 or U+2360
| align="center"|'''Alt-_'''
| align="center"|'''Alt-_'''
||Variant operator
||Variant operator
Line 81: Line 81:
||Dieresis-downtack
||Dieresis-downtack
| align="center"|<apll>⍡</apll>
| align="center"|<apll>⍡</apll>
| align="center"|9057 or 0x2361
| align="center"|9057 or U+2361
| align="center"|'''Alt-N'''
| align="center"|'''Alt-N'''
||Convolution operator<b>&dagger;</b>
||Convolution operator
|-
|-
||Dieresis-del
||Dieresis-del
| align="center"|<apll>⍢</apll>
| align="center"|<apll>⍢</apll>
| align="center"|9058 or 0x2362
| align="center"|9058 or U+2362
| align="center"|'''Alt-G'''
| align="center"|'''Alt-G'''
||Dual operator<b>&dagger;</b>
||Dual operator<b>&dagger;</b>
Line 93: Line 93:
||Dieresis-star
||Dieresis-star
| align="center"|<apll>⍣</apll>
| align="center"|<apll>⍣</apll>
| align="center"|9059 or 0x2363
| align="center"|9059 or U+2363
| align="center"|'''Alt-P'''
| align="center"|'''Alt-P'''
||Power operator<b>&dagger;</b>
||Power operator<b>&dagger;</b>
Line 99: Line 99:
||Dieresis-jot
||Dieresis-jot
| align="center"|<apll>⍤</apll>
| align="center"|<apll>⍤</apll>
| align="center"|9060 or 0x2364
| align="center"|9060 or U+2364
| align="center"|'''Alt-J'''
| align="center"|'''Alt-J'''
||Rank operator
||Rank operator
Line 105: Line 105:
||Dieresis-circle
||Dieresis-circle
| align="center"|<apll>⍥</apll>
| align="center"|<apll>⍥</apll>
| align="center"|9061 or 0x2365
| align="center"|9061 or U+2365
| align="center"|'''Alt-O'''
| align="center"|'''Alt-O'''
||Composition operator
||Composition operator
Line 111: Line 111:
||Down-shoe-stile
||Down-shoe-stile
| align="center"|<apll>⍦</apll>
| align="center"|<apll>⍦</apll>
| align="center"|9062 or 0x2366
| align="center"|9062 or U+2366
| align="center"|'''Alt-m'''
| align="center"|'''Alt-m'''
||Multiset operator
||Multiset operator
|-
|-
||Dieresis-tilde
||Dieresis-tilde
|align="center"|<apll>⍨</apll>
| align="center"|<apll>⍨</apll>
|align="center"|9064 or 0x2368
| align="center"|9064 or U+2368
|align="center"|'''Alt-T'''
| align="center"|'''Alt-T'''
|| Commute operator
|| Commute operator
|-
|| Del-tilde
| align="center"|<apll>⍫</apll>
| align="center"|9067 or U+236B
| align="center"|'''Alt-k'''
||Commutator operator<b>&dagger;</b>
|-
|-
|| Zilde
|| Zilde
|align="center"|<apll>⍬</apll>
| align="center"|<apll>⍬</apll>
|align="center"|9068 or 0x236C
| align="center"|9068 or U+236C
|align="center"|'''Alt-}'''
| align="center"|'''Alt-}'''
||Empty simple numeric vector
||Empty simple numeric vector
|-
|-
|| Stile-tilde
|| Stile-tilde
|align="center"|<apll>⍭</apll>
| align="center"|<apll>⍭</apll>
|align="center"|9069 or 0x236D
| align="center"|9069 or U+236D
|align="center"|'''Alt-M'''
| align="center"|'''Alt-M'''
||Partition operator<b>&dagger;</b>
||Partition operator<b>&dagger;</b>
|}
|}

Revision as of 18:10, 18 November 2013

Default Font

The default APL font for the site is SImPL medium, SImPL, or APL385 Unicode.

If the APL characters in the articles don't display correctly, you can obtain a copy of the SImPL medium font by downloading the current NARS2000 binary, or the SImPL font from here, or the APL385 Unicode font from here.

If they still don't display correctly, download FireFox.

Font Issues

Even if you have an APL font installed, that may not be the end of the story. Each font designer decides what glyphs to display and for which characters. Also, some implementations of supposedly Unicode fonts don't always display the same glyphs in the same places or in the same way. The SimPL Medium font, which comes with NARS2000, will display some characters with different glyphs than are displayed by the font APL385 Unicode. For example, these are the underlined letters A to Z, which are valid identifiers in APL: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z. Now, to display these characters in APL385 Unicode, the characters use code positions 9398 through 9423, or 0x24B6 through 0x24CF, which show up as Ⓐ Ⓑ Ⓒ Ⓓ Ⓔ Ⓕ Ⓖ Ⓗ Ⓘ Ⓙ Ⓚ Ⓛ Ⓜ Ⓝ Ⓞ Ⓟ Ⓠ Ⓡ Ⓢ Ⓣ Ⓤ Ⓥ Ⓦ Ⓧ Ⓨ Ⓩ, which, while not the same, is very close. When copying underlined APL characters to the clipboard, you may convert them to lowercase by first setting the user preference "Underbar alphabet converted to lowercase".

The standard Arial font doesn't even have a built-in set of underlined characters, nor does SimPL. (Yet note some glyphs, as shown below, that are used by NARS2000, are not present in APL385.)

Also, the settings for Unicode for APL symbols, which are listed as being 0x2300 - 0x23F3, do not necessarily appear - or appear the same - in all APL fonts.

Extra APL Glyphs

While any Unicode APL font will display all of the standard APL glyphs, NARS2000 uses (or has plans to use) some extra glyphs not found in all Unicode APL fonts such as

Name Symbol Unicode
Code Point
Keystroke Description
Section §  167 or U+00A7 Alt-S Multiset Symmetric Difference
Pi π  960 or U+03C0 Alt-p Prime Decomposition and Number-theoretic
Root 8730 or U+221A Alt-R Square Root and Nth Root
Infinity 8734 or U+221E Alt-f Infinity
Mismatch 8802 or U+2262 Alt-@ Mismatch
Left-shoe-underbar 8838 or U+2286 Alt-Z Subset of
Right-shoe-underbar 8839 or U+2287 Alt-X Superset of
Circle-middle-dot 8857 or U+2299 Alt-? Null operator
Quad-colon 9056 or U+2360 Alt-_ Variant operator
Dieresis-downtack 9057 or U+2361 Alt-N Convolution operator
Dieresis-del 9058 or U+2362 Alt-G Dual operator
Dieresis-star 9059 or U+2363 Alt-P Power operator
Dieresis-jot 9060 or U+2364 Alt-J Rank operator
Dieresis-circle 9061 or U+2365 Alt-O Composition operator
Down-shoe-stile 9062 or U+2366 Alt-m Multiset operator
Dieresis-tilde 9064 or U+2368 Alt-T Commute operator
Del-tilde 9067 or U+236B Alt-k Commutator operator
Zilde 9068 or U+236C Alt-} Empty simple numeric vector
Stile-tilde 9069 or U+236D Alt-M Partition operator

= Not currently implemented.

All of the above glyphs may be found in SImPL medium, all but the Infinity symbol in SImPL, and all but the Null operator in APL385 Unicode.