writing: 6 new indian digit sets introduced in unicode v5.1
[sheet.git] / unicode.plp
1 <(common.inc.plp)><:
2
3 Html({
4         title => 'unicode glyph cheat sheet',
5         version => 'v1.0',
6         description => [
7                 "Common Unicode characters with digraph or code point, layed out for quick location.",
8                 "Includes general symbols, arrows, drawing characters, and IPA letters.",
9         ],
10         keywords => [qw'
11                 unicode glyph char character reference common ipa symbol sign mark table digraph
12         '],
13         stylesheet => [qw'light dark red'],
14 });
15
16 :>
17 <h1>Common Unicode</h1>
18
19 <p>
20 Glyphs are followed by
21 <a href="/digraphs">digraph</a> or <a href="/charset">code point</a>,
22 i^k or i^vu respectively in <a href="/vi">Vim</a>.
23 </p>
24
25 <div class="diinfo">
26
27 <:
28 use Shiar_Sheet::FormatChar;
29 my $glyphs = Shiar_Sheet::FormatChar->new;
30
31 if (exists $get{q}) {
32         $glyphs->{unicode}--;
33         $glyphs->{digraph}--;
34 }
35
36 our $verbose = exists $get{v};
37
38 $glyphs->print(
39         'Popular',
40         [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}],
41         [qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}],
42         [qw{. ⚋ ⚊ . ⚐ ⚑ . ☺ ☹ . ✓ ✗ . ✔ ✘ }, $verbose ? () : qw{. ◄ ►}],
43         [qw{. å ä ö ü ß . ā æ ø ű ſ}],
44         [qw{
45                 . á è õ û ç . ą ı ơ ů þ
46         }],
47         $verbose ? [qw{
48                 .>Englisc   æ ð ē ȝ œ þ ƿ
49                 .>Sámi      á č đ ŋ š ŧ ž
50                 .>Slavic    ą ě ł ů ź ż ž
51                 .>Türkçe    ç ğ ı İ ö ş ü
52                 .>Esperanto ĉ ĝ ĥ ĵ ŝ ŭ
53         }] : (),
54         [qw{. α β}],
55         [qw{. ¿ … 〃 ‐ – . ‽ · ※ ‒ — }],
56
57         'Symbols',
58         [qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ฿ ₫ ₭ ₦ ₱ ₮ ₩ ₪}],
59         [qw{. ♠ ♡ ♢ ♣ . ♤ ♥ ♦ ♧}],
60         [qw{. ☮ ☯ ☻ ♪ ♲ ♿ }],
61         [qw{. ✂ ✉ ℻ ☎ ☏}, $verbose ? qw{. 🔞 🔾 🔰 🔮 🕀 } : ()], # communication
62         [qw{. ✊ ✋ ✌ }, $verbose ? qw{. 🖹 🐜 👼 } : ()], # 3-way (RockPaperScissors, TerranProtossZerg)
63         [qw{. ⚠ ☡ ☠}],
64         'Signs',
65         [qw{. ☉ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇}],  # solar
66         [qw{
67                 . ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓
68         }, !$verbose ? () : qw{
69                 . 寅 卯 辰 巳 午 未 申 酉 戌 亥 子 丑
70                 . 虎 兔 龍 蛇 馬 羊 猴 雞 狗 豬 鼠 牛
71                 . 🐅 🐇 🐉 🐍 🐎 🐐 🐒 🐓 🐕 🐖 🐀 🐂
72         }], # zodiac
73
74         'Key commands',
75         [qw{. ⇥ ⇤ . ␣ ⌫ }], # common spacing
76         [qw{. ⎀ ⇱ ⇞ . ⌦ ⇲ ⇟ }], # edit block
77         [qw{. ⇪ ⇯ ⇭ . ⇧ ⇮ № }], # modifier
78         [qw{. ⎈ ⌥ ⌘ ⎄ }], [qw{. ↵ ⎋ ⎉ ⎊ }], # command
79 $verbose ? (
80         [qw{. ► ⏩ ⏭ ◼ ⚫ . ◄ ⏪ ⏮ ⏏ -❚❚ }], # player ui
81 ) : (),
82
83         'Arrows',
84         [qw{. ↖ ↑ ↗ ↔ . ← - → ↕ . ↙ ↓ ↘ -}],
85         [qw{. ⇖ ⇑ ⇗ ⇔ . ⇐ - ⇒ ⇕ . ⇙ ⇓ ⇘ -}],
86         [qw{. ⬁ ⇧ ⬀ ⬄ . ⇦ - ⇨ ⇳ . ⬃ ⇩ ⬂ -}],
87         [qw{. ⬉ ⬆ ⬈ ⬌ . ⬅ - ➡ ⬍ . ⬋ ⬇ ⬊ -}],
88         [qw{. ◩ ⬒ ⬔   . ◧ □ ◨   . ⬕ ⬓ ◪  }],
89         [qw{. ◤ ▲ ◥   . ◀ ◆ ▶   . ◣ ▼ ◢  }],
90         [qw{. ◸ △ ◹   . ◁ ◇ ▷   . ◺ ▽ ◿  }],
91 $verbose ? (
92         [qw{.    .  -  .    }],
93         [qw{.    .  -  .    }],
94 ) : (),
95
96         'Line drawing',
97         [qw{. ╔ ╦ ╗ ═ . ╠ ╬ ╣ ║ . ╚ ╩ ╝ - }],
98         [qw{. ╒ ╤ ╕ . ╞ ╪ ╡ . ╘ ╧ ╛ }],
99         [qw{. ╓ ╥ ╖ . ╟ ╫ ╢ . ╙ ╨ ╜ }],
100         [qw{. ┌ ┬ ┐ . ├ ┼ ┤ . └ ┴ ┘}],
101         [qw{. ┏ ┳ ┓ . ┣ ╋ ┫ . ┗ ┻ ┛}],
102         [qw{. ┍ ┯ ┑ . ┝ ┿ ┥ . ┕ ┷ ┙}],
103         [qw{. ┎ ┰ ┒ . ┠ ╂ ┨ . ┖ ┸ ┚}],
104         [qw{
105                 . ╴ ─ ╌ ┄ ┈ ╶ ╾
106                 . ╸ ━ ╍ ┅ ┉ ╺ ╼
107                 . ╵ │ ╎ ┆ ┊ ╷ ╿
108                 . ╹ ┃ ╏ ┇ ┋ ╻ ╽
109         }],
110         [qw{. ╭ ╮ . ╰ ╯ }],
111         [qw{. ╱ ╳ ╲ }],
112         # ┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊
113
114         'Blocks',
115         [qw{. □ ▣ ■ . ▤ ▦ ▥ . ▧ ▩ ▨}],
116         [qw{. ░ . ▒ . ▓ }],
117         [qw{. ▘ ▀ ▝ . ▌ █ ▐ . ▖ ▄ ▗ }],
118         [qw{. ▛ ▚ ▟ . ▙ ▞ ▜ }],
119         [qw{. ▁ ▂ ▃ ▄ ▅ ▆ ▇ ▔ . ▏ ▎ ▍ ▌ ▋ ▊ ▉ ▕ }],
120
121         'IPA',
122         [qw{
123                 - BiL:Bilabial LD:Labiodental D:Dental Alv:Alveolar PA:Postalveolar
124                   Rf:Retroflex Pal:Palatal Vel:Velar Uv:Uvular Ph:Pharyngeal
125                   EG:Epiglottal Gl:Glottal
126                 .>Plosive                   p  -ȹ >  >  t  ʈ  c  k  q  =  ʡ  ʔ
127                 .>Voiced_Plosive            b  -ȸ >  >  d  ɖ  ɟ  ɡ  ɢ  =  -  =
128                 .>Nasal                     m  ɱ  >  >  n  ɳ  ɲ  ŋ  ɴ  =  =  =
129                 .>Trill                     ʙ  -  >  >  r  -  -  =  ʀ  =  -я =
130                 .>Tap/flap                  -  ⱱ  >  >  ɾ  ɽ  -  =  ɢ̆  =  -  =
131                 .>Fricative                 ɸ  f  θ  s  ʃ  ʂ  ç  x  χ  ħ  ʜ  h
132                 .>Voiced_fricative          β  v  ð  z  ʒ  ʐ  ʝ  ɣ  ʁ  ʕ  ʢ  ɦ
133                 .>Lateral_fricative         =  =  >  >  ɬ  -  -  -  -  =  =  =
134                 .>Voiced_lateral_fricative  =  =  >  >  ɮ  -  -  -  -  =  =  =
135                 .>Approximant               -  ʋ  >  >  ɹ  ɻ  j  ɰ  -  -  -  =
136                 .>Lateral_approximant       =  =  >  >  l  ɭ  ʎ  ʟ  -  =  =  =
137                 .>Click                     ʘ  -  ǀ  ǁ  ǃ  -‼ ǂ  -  -  =  =  =
138                 .>Implosive                 ɓ  ɗ̪  >  >  ɗ  -ᶑ ʄ  ɠ  ʛ  =  =  =
139         }],
140         [qw{
141                 - co:coarticulated .>sç ɕ .>zʝ ʑ .>ʃx ɧ .>jʷ ɥ .>hw̥ ʍ .>ɰʷ w
142         }],
143         [(
144                 '-',
145                 map { substr($_, 0, 1).':'.$_, substr($_, 0, 1)." r:$_ rounded" }
146                 qw{Front Central Back}
147         ), qw{
148                 .>Close      i y  ɨ ʉ  ɯ u
149                 .>Near-close ɪ ʏ  - -  - ʊ
150                 .>Close-mid  e ø  ɘ ɵ  ɤ o
151                 .>Mid        - -  ə -  - -
152                 .>Open-mid   ɛ œ  ɜ ɞ  ʌ ɔ
153                 .>Near-open  æ -  ɐ -  - -
154                 .>Open       a ɶ  - -  ɑ ɒ
155         }],
156
157 $verbose ? (
158         'Japanese',
159         [qw{
160                   - A  I  U  E  O  _
161                 .>  あ い う え お =
162                 .>K か き く け こ =
163                 .>S さ し す せ そ =
164                 .>T た ち つ て と =
165                 .>N な に ぬ ね の ん
166                 .>H は ひ ふ へ ほ =
167                 .>M ま み む め も =
168                 .>Y や =  ゆ =  よ =
169                 .>R ら り る れ ろ =
170                 .>W わ -ゐ = -ゑ を =
171         }],
172         [qw{
173                   - A  I  U  E  O
174                 .>G が ぎ ぐ げ ご
175                 .>Z ざ じ ず ぜ ぞ
176                 .>D だ ぢ づ で ど
177                 .>B ば び ぶ べ ぼ
178                 .>P ぱ ぴ ぷ ぺ ぽ
179         }],
180         [qw{
181                   - A  I  U  E  O  _
182                 .>  ア イ ウ エ オ ー
183                 .>K カ キ ク ケ コ =
184                 .>S サ シ ス セ ソ =
185                 .>T タ チ ツ テ ト =
186                 .>N ナ ニ ヌ ネ ノ ン
187                 .>H ハ ヒ フ ヘ ホ =
188                 .>M マ ミ ム メ モ =
189                 .>Y ヤ -  ユ -  ヨ =
190                 .>R ラ リ ル レ ロ =
191                 .>W ワ ヰ -  ヱ ヲ =
192         }],
193         [qw{
194                   - A  I  U  E  O
195                 .>G ガ ギ グ ゲ ゴ
196                 .>Z ザ ジ ズ ゼ ゾ
197                 .>D ダ ヂ ヅ デ ド
198                 .>B バ ビ ブ ベ ボ
199                 .>P パ ピ プ ペ ポ
200                 .>V ヷ ヸ ヴ ヹ ヺ
201         }],
202 ) : (),
203 );
204
205 :></div>
206
207 <div class="legend">
208         <table class="glyphs"><tr>
209         <td class="X di-a">ascii
210         <td class="X di-d">digraph
211         <td class="X di-prop">proposed
212         <td class="X di-b">other unicode
213         <td class="X di-rare">discouraged
214         </table>
215 </div>
216