Difference between revisions of "Template:Angle bracket/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>Crissov
blackwiki>Crissov
(Test table for MS fonts since Chrome on Windows is the major problem)
Line 1: Line 1:
 +
{| class="wikitable"
 +
|+ Newer Microsoft fonts
 +
! Typeface
 +
! U+2329/A !! U+3008/9 !! U+27E8/9
 +
|-
 +
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=287 Calibri]
 +
| {{font|〈a〉|font=Calibri}} || {{font|〈a〉|font=Calibri}} || {{font|⟨a⟩|font=Calibri}}
 +
|-
 +
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=291 Cambria]
 +
| {{font|〈a〉|font=Cambria}} || {{font|〈a〉|font=Cambria}} || {{font|⟨a⟩|font=Cambria}}
 +
|-
 +
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=295 Candara]
 +
| {{font|〈a〉|font=Candara}} || {{font|〈a〉|font=Candara}} || {{font|⟨a⟩|font=Candara}}
 +
|-
 +
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=300 Consolas]
 +
| {{font|〈a〉|font=Consolas}} || {{font|〈a〉|font=Consolas}} || {{font|⟨a⟩|font=Consolas}}
 +
|-
 +
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=304 Constantia]
 +
| {{font|〈a〉|font=Constantia}} || {{font|〈a〉|font=Constantia}} || {{font|⟨a⟩|font=Constantia}}
 +
|-
 +
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=308 Corbel]
 +
| {{font|〈a〉|font=Corbel}} || {{font|〈a〉|font=Corbel}} || {{font|⟨a⟩|font=Corbel}}
 +
|-
 +
|}
 +
 
{|class="wikitable"
 
{|class="wikitable"
 +
|+ Available options for angle brackets in Unicode 8.0
 
|-
 
|-
|rowspan=2|Mediawiki math markup<ref>Dependent on user settings: may render as PNG image or text (MathML or MathJax), the latter uses U+27E8|9.</ref>
+
|rowspan=2|Mediawiki math markup
 
|<source><math>\langle</math>{{{1}}}<math>\rangle</math></source>
 
|<source><math>\langle</math>{{{1}}}<math>\rangle</math></source>
 
|<math>\langle</math>a<math>\rangle</math>
 
|<math>\langle</math>a<math>\rangle</math>
Line 10: Line 36:
 
| 2
 
| 2
 
|-
 
|-
|rowspan=2|Named entity references (HTML)<ref>Realized as U+2329|A according to XHTML 1.0 which are deprecated, realized as U+27E8|9 according to HTML5. See [http://www.w3.org/TR/xml-entity-names/#diff-xhtml1 XML Entity Definitions for Characters]</ref>
+
|rowspan=2|Named entity references (HTML)
 
|<source>{{Unicode|&lang;}}{{{1}}}{{Unicode|&rang;}}</source>
 
|<source>{{Unicode|&lang;}}{{{1}}}{{Unicode|&rang;}}</source>
 
|{{Unicode|&lang;}}a{{Unicode|&rang;}}
 
|{{Unicode|&lang;}}a{{Unicode|&rang;}}
Line 19: Line 45:
 
| 3b
 
| 3b
 
|-
 
|-
|rowspan=3|U+2329|A “Left/Right-Pointing Angle Bracket”,<br> equivalent to U+3008|9; but possibly narrower.<ref>Unicode: “These characters are deprecated and are strongly discouraged for mathematical use because of their canonical equivalence to CJK punctuation.”[http://www.unicode.org/charts/PDF/U2300.pdf (page 3 of 7)] The U+3008|9 angles are defined fullwidth in Chinese script. U+2329|A are not defined “[[Halfwidth and fullwidth forms|halfwidth]]” (that is, not half a fixed-width character)</ref>
+
|rowspan=3|U+2329/A <br>“Left/Right-Pointing Angle Bracket”,<br> canonically equivalent to U+3008/9
 
|<source>{{Unicode|&#x2329;}}{{{1}}}{{Unicode|&#x232A;}}</source>
 
|<source>{{Unicode|&#x2329;}}{{{1}}}{{Unicode|&#x232A;}}</source>
 
|{{Unicode|&#x2329;}}a{{Unicode|&#x232A;}}
 
|{{Unicode|&#x2329;}}a{{Unicode|&#x232A;}}
Line 32: Line 58:
 
| 4c
 
| 4c
 
|-
 
|-
|rowspan=3|U+3008|9 “Left/Right Angle Bracket”,<br> fullwidth CJK
+
|rowspan=3|U+3008/9 <br>“Left/Right Angle Bracket”<br> (fullwidth CJK)
 
|<source>{{Unicode|&#x3008;}}{{{1}}}{{Unicode|&#x3009;}}</source>
 
|<source>{{Unicode|&#x3008;}}{{{1}}}{{Unicode|&#x3009;}}</source>
 
|{{Unicode|&#x3008;}}a{{Unicode|&#x3009;}}
 
|{{Unicode|&#x3008;}}a{{Unicode|&#x3009;}}
Line 45: Line 71:
 
| 5c
 
| 5c
 
|-
 
|-
|rowspan=3|U+27E8|9 “Mathematical Left/Right Angle Bracket”<br> (Math Symbols A block)<ref>Recommended for technical/mathematical use according to Unicode documentation</ref>
+
|rowspan=3|U+27E8/9 <br>“Mathematical Left/Right Angle Bracket”<br> (Math Symbols A block)
 
|<source>{{Unicode|&#x27E8;}}{{{1}}}{{Unicode|&#x27E9;}}</source>
 
|<source>{{Unicode|&#x27E8;}}{{{1}}}{{Unicode|&#x27E9;}}</source>
 
|{{Unicode|&#x27E8;}}a{{Unicode|&#x27E9;}}
 
|{{Unicode|&#x27E8;}}a{{Unicode|&#x27E9;}}
Line 57: Line 83:
 
|⟨a⟩
 
|⟨a⟩
 
| 6c
 
| 6c
 +
|-
 +
|rowspan=3|U+2039/A <br>“Single Left/Right-Pointing Angle Quotation Mark”<br> (Punctuation Marks)
 +
|<source>{{Unicode|&#x2039;}}{{{1}}}{{Unicode|&#x203A;}}</source>
 +
|{{Unicode|&#x2039;}}a{{Unicode|&#x203A;}}
 +
| 7a
 +
|-
 +
|<source>&#x2039;{{{1}}}&#x203A;</source>
 +
|&#x2039;a&#x203A;
 +
| 7b
 +
|-
 +
|<source>‹{{{1}}}›</source>
 +
|‹a›
 +
| 7c
 +
|-
 +
|rowspan=3|U+003C/E <br>“Less/Greater Than Sign”<br> (Basic Latin)
 +
|<source>{{Unicode|&#x003C;}}{{{1}}}{{Unicode|&#x003E;}}</source>
 +
|{{Unicode|&#x003C;}}a{{Unicode|&#x003E;}}
 +
| 8a
 +
|-
 +
|<source>&lt;{{{1}}}&gt;</source>
 +
|&lt;a&gt;
 +
| 8b
 +
|-
 +
|<source>‹{{{1}}}›</source>
 +
|<a>
 +
| 8c
 +
|-
 +
|rowspan=3|U+227A/B <br>“Precedes/Succeeds”<br> (Math Symbols)
 +
|<source>{{Unicode|&#x227A;}}{{{1}}}{{Unicode|&#x227B;}}</source>
 +
|{{Unicode|&#x227A;}}a{{Unicode|&#x227B;}}
 +
| 9a
 +
|-
 +
|<source>&#x227A;{{{1}}}&#x227B;</source>
 +
|&#x227A;a&#x227B;
 +
| 9b
 +
|-
 +
|<source>≺{{{1}}}≻</source>
 +
|≺a≻
 +
| 9c
 +
|-
 +
|rowspan=3|U+29FC/D <br>“Left/Right-Pointing Curved Angle Bracket”<br> (Math Symbols)
 +
|<source>{{Unicode|&#x29FC;}}{{{1}}}{{Unicode|&#x29FD;}}</source>
 +
|{{Unicode|&#x29FC;}}a{{Unicode|&#x29FD;}}
 +
| 10a
 +
|-
 +
|<source>&#x29FC;{{{1}}}&#x29FD;</source>
 +
|&#x29FC;a&#x29FD;
 +
| 10b
 +
|-
 +
|<source>⧼{{{1}}}⧽</source>
 +
|⧼a⧽
 +
| 10c
 
|}
 
|}
 
<noinclude>
 
<noinclude>
<references/>
+
# Output for <code>&lt;math></code> 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 [http://www.w3.org/TR/xml-entity-names/#diff-xhtml1 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.”[http://www.unicode.org/charts/PDF/U2300.pdf (page 3 of 7)] The U+3008/9 angles are defined fullwidth in Chinese script. U+2329/A are not defined “[[Halfwidth and fullwidth forms|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.
 
</noinclude>
 
</noinclude>

Revision as of 12:57, 23 October 2015

Newer Microsoft fonts
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⟩
Available options for angle brackets in Unicode 8.0
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)
{{Unicode|&lang;}}{{{1}}}{{Unicode|&rang;}}
Template:UnicodeaTemplate:Unicode 3a
&lang;{{{1}}}&rang;
〈a〉 3b
U+2329/A
“Left/Right-Pointing Angle Bracket”,
canonically equivalent to U+3008/9
{{Unicode|&#x2329;}}{{{1}}}{{Unicode|&#x232A;}}
Template:UnicodeaTemplate:Unicode 4a
&#x2329;{{{1}}}&#x232A;
〈a〉 4b
〈{{{1}}}〉
〈a〉 4c
U+3008/9
“Left/Right Angle Bracket”
(fullwidth CJK)
{{Unicode|&#x3008;}}{{{1}}}{{Unicode|&#x3009;}}
Template:UnicodeaTemplate:Unicode 5a
&#x3008;{{{1}}}&#x3009;
〈a〉 5b
〈{{{1}}}〉
〈a〉 5c
U+27E8/9
“Mathematical Left/Right Angle Bracket”
(Math Symbols A block)
{{Unicode|&#x27E8;}}{{{1}}}{{Unicode|&#x27E9;}}
Template:UnicodeaTemplate:Unicode 6a
&#x27E8;{{{1}}}&#x27E9;
⟨a⟩ 6b
⟨{{{1}}}⟩
⟨a⟩ 6c
U+2039/A
“Single Left/Right-Pointing Angle Quotation Mark”
(Punctuation Marks)
{{Unicode|&#x2039;}}{{{1}}}{{Unicode|&#x203A;}}
Template:UnicodeaTemplate:Unicode 7a
&#x2039;{{{1}}}&#x203A;
‹a› 7b
‹{{{1}}}›
‹a› 7c
U+003C/E
“Less/Greater Than Sign”
(Basic Latin)
{{Unicode|&#x003C;}}{{{1}}}{{Unicode|&#x003E;}}
Template:UnicodeaTemplate:Unicode 8a
&lt;{{{1}}}&gt;
<a> 8b
‹{{{1}}}›
<a> 8c
U+227A/B
“Precedes/Succeeds”
(Math Symbols)
{{Unicode|&#x227A;}}{{{1}}}{{Unicode|&#x227B;}}
Template:UnicodeaTemplate:Unicode 9a
&#x227A;{{{1}}}&#x227B;
≺a≻ 9b
≺{{{1}}}≻
≺a≻ 9c
U+29FC/D
“Left/Right-Pointing Curved Angle Bracket”
(Math Symbols)
{{Unicode|&#x29FC;}}{{{1}}}{{Unicode|&#x29FD;}}
Template:UnicodeaTemplate:Unicode 10a
&#x29FC;{{{1}}}&#x29FD;
⧼a⧽ 10b
⧼{{{1}}}⧽
⧼a⧽ 10c
  1. Output for <math> depends on user settings: may render as PNG image or text (MathML or MathJax), the latter uses U+27E8/9.
  2. This should only differ from option 1 in the treatment of enclosed text.
  3. 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.
  4. 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)
  5. Like most sinograms these usually occupy a whole em square.
  6. Recommended for technical/mathematical use according to Unicode documentation.
  7. The chevron or guillemot quotation marks are too small.
  8. Size relation signs are both not tall enough and too wide.
  9. Succession signs are not appropriate for the intended use.
  10. Not really appropriate.