Template:Angle bracket/testcases
![]() | This is the template test cases page for the sandbox of Template:Angle bracket. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
__EXPECTUNUSEDTEMPLATE__
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 | <syntaxhighlight lang="html">{{{1}}}</syntaxhighlight> | a | 1 |
<syntaxhighlight lang="html">Failed to parse (syntax error): {\displaystyle \langle\text{{{{1}}}}\rangle} </syntaxhighlight> | 2 | ||
Named entity references (HTML) | <syntaxhighlight lang="html">⟨{{{1}}}⟩</syntaxhighlight> | ⟨a⟩ | 3b |
U+2329/A “Left/Right-Pointing Angle Bracket”, canonically equivalent to U+3008/9 |
<syntaxhighlight lang="html">〈{{{1}}}〉</syntaxhighlight> | 〈a〉 | 4b |
<syntaxhighlight lang="html">〈{{{1}}}〉</syntaxhighlight> | 〈a〉 | 4c | |
U+3008/9 “Left/Right Angle Bracket” (fullwidth CJK) |
<syntaxhighlight lang="html">〈{{{1}}}〉</syntaxhighlight> | 〈a〉 | 5b |
<syntaxhighlight lang="html">〈{{{1}}}〉</syntaxhighlight> | 〈a〉 | 5c | |
U+27E8/9 “Mathematical Left/Right Angle Bracket” (Math Symbols A block) |
<syntaxhighlight lang="html">⟨{{{1}}}⟩</syntaxhighlight> | ⟨a⟩ | 6b |
<syntaxhighlight lang="html">⟨{{{1}}}⟩</syntaxhighlight> | ⟨a⟩ | 6c | |
U+2039/A “Single Left/Right-Pointing Angle Quotation Mark” (Punctuation Marks) |
<syntaxhighlight lang="html">‹{{{1}}}›</syntaxhighlight> | ‹a› | 7b |
<syntaxhighlight lang="html">‹{{{1}}}›</syntaxhighlight> | ‹a› | 7c | |
U+003C/E “Less/Greater Than Sign” (Basic Latin) |
<syntaxhighlight lang="html"><{{{1}}}></syntaxhighlight> | <a> | 8b |
<syntaxhighlight lang="html">‹{{{1}}}›</syntaxhighlight> | <a> | 8c | |
U+227A/B “Precedes/Succeeds” (Math Symbols) |
<syntaxhighlight lang="html">≺{{{1}}}≻</syntaxhighlight> | ≺a≻ | 9b |
<syntaxhighlight lang="html">≺{{{1}}}≻</syntaxhighlight> | ≺a≻ | 9c | |
U+29FC/D “Left/Right-Pointing Curved Angle Bracket” (Math Symbols) |
<syntaxhighlight lang="html">⧼{{{1}}}⧽</syntaxhighlight> | ⧼a⧽ | 10b |
<syntaxhighlight lang="html">⧼{{{1}}}⧽</syntaxhighlight> | ⧼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.
The a variants have been removed because they relied on the deprecated template {{Unicode}}.