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

From blackwiki
Jump to navigation Jump to search
blackwiki>Unready
m (<source> → <syntaxhighlight lang="html5">)
(Blanked the page)
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|&#x2329;a&#x232A;|font=Calibri}} || {{font|&#x3008;a&#x3009;|font=Calibri}} || {{font|&#x27E8;a&#x27E9;|font=Calibri}}
 
|-
 
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=291 Cambria]
 
| {{font|&#x2329;a&#x232A;|font=Cambria}} || {{font|&#x3008;a&#x3009;|font=Cambria}} || {{font|&#x27E8;a&#x27E9;|font=Cambria}}
 
|-
 
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=295 Candara]
 
| {{font|&#x2329;a&#x232A;|font=Candara}} || {{font|&#x3008;a&#x3009;|font=Candara}} || {{font|&#x27E8;a&#x27E9;|font=Candara}}
 
|-
 
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=300 Consolas]
 
| {{font|&#x2329;a&#x232A;|font=Consolas}} || {{font|&#x3008;a&#x3009;|font=Consolas}} || {{font|&#x27E8;a&#x27E9;|font=Consolas}}
 
|-
 
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=304 Constantia]
 
| {{font|&#x2329;a&#x232A;|font=Constantia}} || {{font|&#x3008;a&#x3009;|font=Constantia}} || {{font|&#x27E8;a&#x27E9;|font=Constantia}}
 
|-
 
! [https://www.microsoft.com/typography/fonts/family.aspx?FID=308 Corbel]
 
| {{font|&#x2329;a&#x232A;|font=Corbel}} || {{font|&#x3008;a&#x3009;|font=Corbel}} || {{font|&#x27E8;a&#x27E9;|font=Corbel}}
 
|-
 
|}
 
  
{|class="wikitable"
 
|+ Available options for angle brackets in Unicode 8.0
 
|-
 
|rowspan=2|Mediawiki math markup
 
|<syntaxhighlight lang="html5"><math>\langle</math>{{{1}}}<math>\rangle</math></syntaxhighlight>
 
|<math>\langle</math>a<math>\rangle</math>
 
| 1
 
|-
 
|<syntaxhighlight lang="html5"><math>\langle\text{{{{1}}}}\rangle</math></syntaxhighlight>
 
|<math>\langle\text{a}\rangle</math>
 
| 2
 
|-
 
|rowspan=2|Named entity references (HTML)
 
|<syntaxhighlight lang="html5">&lang;{{{1}}}&rang;</syntaxhighlight>
 
|&lang;a&rang;
 
| 3a
 
|-
 
|<syntaxhighlight lang="html5">&lang;{{{1}}}&rang;</syntaxhighlight>
 
|&lang;a&rang;
 
| 3b
 
|-
 
|rowspan=3|U+2329/A <br>“Left/Right-Pointing Angle Bracket”,<br> canonically equivalent to U+3008/9
 
|<syntaxhighlight lang="html5">&#x2329;{{{1}}}&#x232A;</syntaxhighlight>
 
|&#x2329;a&#x232A;
 
| 4a
 
|-
 
|<syntaxhighlight lang="html5">&#x2329;{{{1}}}&#x232A;</syntaxhighlight>
 
|&#x2329;a&#x232A;
 
| 4b
 
|-
 
|<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight>
 
|〈a〉
 
| 4c
 
|-
 
|rowspan=3|U+3008/9 <br>“Left/Right Angle Bracket”<br> (fullwidth CJK)
 
|<syntaxhighlight lang="html5">&#x3008;{{{1}}}&#x3009;</syntaxhighlight>
 
|&#x3008;a&#x3009;
 
| 5a
 
|-
 
|<syntaxhighlight lang="html5">&#x3008;{{{1}}}&#x3009;</syntaxhighlight>
 
|&#x3008;a&#x3009;
 
| 5b
 
|-
 
|<syntaxhighlight lang="html5">〈{{{1}}}〉</syntaxhighlight>
 
|〈a〉
 
| 5c
 
|-
 
|rowspan=3|U+27E8/9 <br>“Mathematical Left/Right Angle Bracket”<br> (Math Symbols A block)
 
|<syntaxhighlight lang="html5">&#x27E8;{{{1}}}&#x27E9;</syntaxhighlight>
 
|&#x27E8;a&#x27E9;
 
| 6a
 
|-
 
|<syntaxhighlight lang="html5">&#x27E8;{{{1}}}&#x27E9;</syntaxhighlight>
 
|&#x27E8;a&#x27E9;
 
| 6b
 
|-
 
|<syntaxhighlight lang="html5">⟨{{{1}}}⟩</syntaxhighlight>
 
|⟨a⟩
 
| 6c
 
|-
 
|rowspan=3|U+2039/A <br>“Single Left/Right-Pointing Angle Quotation Mark”<br> (Punctuation Marks)
 
|<syntaxhighlight lang="html5">&#x2039;{{{1}}}&#x203A;</syntaxhighlight>
 
|&#x2039;a&#x203A;
 
| 7a
 
|-
 
|<syntaxhighlight lang="html5">&#x2039;{{{1}}}&#x203A;</syntaxhighlight>
 
|&#x2039;a&#x203A;
 
| 7b
 
|-
 
|<syntaxhighlight lang="html5">‹{{{1}}}›</syntaxhighlight>
 
|‹a›
 
| 7c
 
|-
 
|rowspan=3|U+003C/E <br>“Less/Greater Than Sign”<br> (Basic Latin)
 
|<syntaxhighlight lang="html5">&#x003C;{{{1}}}&#x003E;</syntaxhighlight>
 
|&#x003C;a&#x003E;
 
| 8a
 
|-
 
|<syntaxhighlight lang="html5">&lt;{{{1}}}&gt;</syntaxhighlight>
 
|&lt;a&gt;
 
| 8b
 
|-
 
|<syntaxhighlight lang="html5">‹{{{1}}}›</syntaxhighlight>
 
|<a>
 
| 8c
 
|-
 
|rowspan=3|U+227A/B <br>“Precedes/Succeeds”<br> (Math Symbols)
 
|<syntaxhighlight lang="html5">&#x227A;{{{1}}}&#x227B;</syntaxhighlight>
 
|&#x227A;a&#x227B;
 
| 9a
 
|-
 
|<syntaxhighlight lang="html5">&#x227A;{{{1}}}&#x227B;</syntaxhighlight>
 
|&#x227A;a&#x227B;
 
| 9b
 
|-
 
|<syntaxhighlight lang="html5">≺{{{1}}}≻</syntaxhighlight>
 
|≺a≻
 
| 9c
 
|-
 
|rowspan=3|U+29FC/D <br>“Left/Right-Pointing Curved Angle Bracket”<br> (Math Symbols)
 
|<syntaxhighlight lang="html5">&#x29FC;{{{1}}}&#x29FD;</syntaxhighlight>
 
|&#x29FC;a&#x29FD;
 
| 10a
 
|-
 
|<syntaxhighlight lang="html5">&#x29FC;{{{1}}}&#x29FD;</syntaxhighlight>
 
|&#x29FC;a&#x29FD;
 
| 10b
 
|-
 
|<syntaxhighlight lang="html5">⧼{{{1}}}⧽</syntaxhighlight>
 
|⧼a⧽
 
| 10c
 
|}
 
<noinclude>
 
# 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>
 

Revision as of 05:50, 19 September 2017