Difference between revisions of "Template:Angle bracket/testcases"
Jump to navigation
Jump to search
blackwiki>Izkala (rm Template:Unicode transclusions) |
blackwiki>Unready m (<source> → <syntaxhighlight lang="html5">) |
||
| Line 28: | Line 28: | ||
|- | |- | ||
|rowspan=2|Mediawiki math markup | |rowspan=2|Mediawiki math markup | ||
| − | |< | + | |<syntaxhighlight lang="html5"><math>\langle</math>{{{1}}}<math>\rangle</math></syntaxhighlight> |
|<math>\langle</math>a<math>\rangle</math> | |<math>\langle</math>a<math>\rangle</math> | ||
| 1 | | 1 | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5"><math>\langle\text{{{{1}}}}\rangle</math></syntaxhighlight> |
|<math>\langle\text{a}\rangle</math> | |<math>\langle\text{a}\rangle</math> | ||
| 2 | | 2 | ||
|- | |- | ||
|rowspan=2|Named entity references (HTML) | |rowspan=2|Named entity references (HTML) | ||
| − | |< | + | |<syntaxhighlight lang="html5">⟨{{{1}}}⟩</syntaxhighlight> |
|⟨a⟩ | |⟨a⟩ | ||
| 3a | | 3a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">⟨{{{1}}}⟩</syntaxhighlight> |
|⟨a⟩ | |⟨a⟩ | ||
| 3b | | 3b | ||
|- | |- | ||
|rowspan=3|U+2329/A <br>“Left/Right-Pointing Angle Bracket”,<br> canonically equivalent to U+3008/9 | |rowspan=3|U+2329/A <br>“Left/Right-Pointing Angle Bracket”,<br> canonically equivalent to U+3008/9 | ||
| − | |< | + | |<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight> |
|〈a〉 | |〈a〉 | ||
| 4a | | 4a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight> |
|〈a〉 | |〈a〉 | ||
| 4b | | 4b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight> |
|〈a〉 | |〈a〉 | ||
| 4c | | 4c | ||
|- | |- | ||
|rowspan=3|U+3008/9 <br>“Left/Right Angle Bracket”<br> (fullwidth CJK) | |rowspan=3|U+3008/9 <br>“Left/Right Angle Bracket”<br> (fullwidth CJK) | ||
| − | |< | + | |<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight> |
|〈a〉 | |〈a〉 | ||
| 5a | | 5a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight> |
|〈a〉 | |〈a〉 | ||
| 5b | | 5b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight> |
|〈a〉 | |〈a〉 | ||
| 5c | | 5c | ||
|- | |- | ||
|rowspan=3|U+27E8/9 <br>“Mathematical Left/Right Angle Bracket”<br> (Math Symbols A block) | |rowspan=3|U+27E8/9 <br>“Mathematical Left/Right Angle Bracket”<br> (Math Symbols A block) | ||
| − | |< | + | |<syntaxhighlight lang="html5">⟨{{{1}}}⟩</syntaxhighlight> |
|⟨a⟩ | |⟨a⟩ | ||
| 6a | | 6a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">⟨{{{1}}}⟩</syntaxhighlight> |
|⟨a⟩ | |⟨a⟩ | ||
| 6b | | 6b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">⟨{{{1}}}⟩</syntaxhighlight> |
|⟨a⟩ | |⟨a⟩ | ||
| 6c | | 6c | ||
|- | |- | ||
|rowspan=3|U+2039/A <br>“Single Left/Right-Pointing Angle Quotation Mark”<br> (Punctuation Marks) | |rowspan=3|U+2039/A <br>“Single Left/Right-Pointing Angle Quotation Mark”<br> (Punctuation Marks) | ||
| − | |< | + | |<syntaxhighlight lang="html5">‹{{{1}}}›</syntaxhighlight> |
|‹a› | |‹a› | ||
| 7a | | 7a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">‹{{{1}}}›</syntaxhighlight> |
|‹a› | |‹a› | ||
| 7b | | 7b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">‹{{{1}}}›</syntaxhighlight> |
|‹a› | |‹a› | ||
| 7c | | 7c | ||
|- | |- | ||
|rowspan=3|U+003C/E <br>“Less/Greater Than Sign”<br> (Basic Latin) | |rowspan=3|U+003C/E <br>“Less/Greater Than Sign”<br> (Basic Latin) | ||
| − | |< | + | |<syntaxhighlight lang="html5"><{{{1}}}></syntaxhighlight> |
|<a> | |<a> | ||
| 8a | | 8a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5"><{{{1}}}></syntaxhighlight> |
|<a> | |<a> | ||
| 8b | | 8b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">‹{{{1}}}›</syntaxhighlight> |
|<a> | |<a> | ||
| 8c | | 8c | ||
|- | |- | ||
|rowspan=3|U+227A/B <br>“Precedes/Succeeds”<br> (Math Symbols) | |rowspan=3|U+227A/B <br>“Precedes/Succeeds”<br> (Math Symbols) | ||
| − | |< | + | |<syntaxhighlight lang="html5">≺{{{1}}}≻</syntaxhighlight> |
|≺a≻ | |≺a≻ | ||
| 9a | | 9a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">≺{{{1}}}≻</syntaxhighlight> |
|≺a≻ | |≺a≻ | ||
| 9b | | 9b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">≺{{{1}}}≻</syntaxhighlight> |
|≺a≻ | |≺a≻ | ||
| 9c | | 9c | ||
|- | |- | ||
|rowspan=3|U+29FC/D <br>“Left/Right-Pointing Curved Angle Bracket”<br> (Math Symbols) | |rowspan=3|U+29FC/D <br>“Left/Right-Pointing Curved Angle Bracket”<br> (Math Symbols) | ||
| − | |< | + | |<syntaxhighlight lang="html5">⧼{{{1}}}⧽</syntaxhighlight> |
|⧼a⧽ | |⧼a⧽ | ||
| 10a | | 10a | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">⧼{{{1}}}⧽</syntaxhighlight> |
|⧼a⧽ | |⧼a⧽ | ||
| 10b | | 10b | ||
|- | |- | ||
| − | |< | + | |<syntaxhighlight lang="html5">⧼{{{1}}}⧽</syntaxhighlight> |
|⧼a⧽ | |⧼a⧽ | ||
| 10c | | 10c | ||
Revision as of 22:40, 25 November 2016
| Typeface | U+2329/A | U+3008/9 | U+27E8/9 |
|---|---|---|---|
| Calibri | 〈a〉 | 〈a〉 | ⟨a⟩ |
| Cambria | 〈a〉 | 〈a〉 | ⟨a⟩ |
| Candara | 〈a〉 | 〈a〉 | ⟨a⟩ |
| Consolas | 〈a〉 | 〈a〉 | ⟨a⟩ |
| Constantia | 〈a〉 | 〈a〉 | ⟨a⟩ |
| Corbel | 〈a〉 | 〈a〉 | ⟨a⟩ |
| Mediawiki math markup | <math>\langle</math>{{{1}}}<math>\rangle</math>
|
<math>\langle</math>a<math>\rangle</math> | 1 |
<math>\langle\text{{{{1}}}}\rangle</math>
|
<math>\langle\text{a}\rangle</math> | 2 | |
| Named entity references (HTML) | ⟨{{{1}}}⟩
|
〈a〉 | 3a |
⟨{{{1}}}⟩
|
〈a〉 | 3b | |
| U+2329/A “Left/Right-Pointing Angle Bracket”, canonically equivalent to U+3008/9 |
〈{{{1}}}〉
|
〈a〉 | 4a |
〈{{{1}}}〉
|
〈a〉 | 4b | |
〈{{{1}}}〉
|
〈a〉 | 4c | |
| U+3008/9 “Left/Right Angle Bracket” (fullwidth CJK) |
〈{{{1}}}〉
|
〈a〉 | 5a |
〈{{{1}}}〉
|
〈a〉 | 5b | |
〈{{{1}}}〉
|
〈a〉 | 5c | |
| U+27E8/9 “Mathematical Left/Right Angle Bracket” (Math Symbols A block) |
⟨{{{1}}}⟩
|
⟨a⟩ | 6a |
⟨{{{1}}}⟩
|
⟨a⟩ | 6b | |
⟨{{{1}}}⟩
|
⟨a⟩ | 6c | |
| U+2039/A “Single Left/Right-Pointing Angle Quotation Mark” (Punctuation Marks) |
‹{{{1}}}›
|
‹a› | 7a |
‹{{{1}}}›
|
‹a› | 7b | |
‹{{{1}}}›
|
‹a› | 7c | |
| U+003C/E “Less/Greater Than Sign” (Basic Latin) |
<{{{1}}}>
|
<a> | 8a |
<{{{1}}}>
|
<a> | 8b | |
‹{{{1}}}›
|
<a> | 8c | |
| U+227A/B “Precedes/Succeeds” (Math Symbols) |
≺{{{1}}}≻
|
≺a≻ | 9a |
≺{{{1}}}≻
|
≺a≻ | 9b | |
≺{{{1}}}≻
|
≺a≻ | 9c | |
| U+29FC/D “Left/Right-Pointing Curved Angle Bracket” (Math Symbols) |
⧼{{{1}}}⧽
|
⧼a⧽ | 10a |
⧼{{{1}}}⧽
|
⧼a⧽ | 10b | |
⧼{{{1}}}⧽
|
⧼a⧽ | 10c |
- Output for
<math>depends on user settings: may render as PNG image or text (MathML or MathJax), the latter uses U+27E8/9. - This should only differ from option 1 in the treatment of enclosed text.
- The HTML entities are realized either as U+2329/A according to XHTML 1.0 or as U+27E8/9 according to HTML5. See XML Entity Definitions for Characters. Actual browser implementation varies.
- Unicode: “These characters are deprecated and are strongly discouraged for mathematical use because of their canonical equivalence to CJK punctuation.”(page 3 of 7) The U+3008/9 angles are defined fullwidth in Chinese script. U+2329/A are not defined “halfwidth” (that is, not half a fixed-width character)
- Like most sinograms these usually occupy a whole em square.
- Recommended for technical/mathematical use according to Unicode documentation.
- The chevron or guillemot quotation marks are too small.
- Size relation signs are both not tall enough and too wide.
- Succession signs are not appropriate for the intended use.
- Not really appropriate.