Template:Ket: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) m Undid revision 174920 by ArrowHead294 (talk) Tag: Undo |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span class="monzo"><span class="left-delim">{{lbrack}}</span>{{trim| {{{1|0}}} }}<span class="right-delim">⟩</span></span></includeonly><noinclude> | <includeonly><span class="monzo"><span class="left-delim">{{lbrack}}</span>{{trim| {{{1|0}}} }}<span class="right-delim">⟩</span></span></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:53, 30 January 2025
This template puts ket notation ([ and ⟩) around its arguments and removes leading and trailing spaces.
| Note: | If you are notating for monzos, use Template: Monzo instead. Only use this template if you wish to explicitly use ket notation. |
Usage
- You type
{{ket| -19 12 }}
- You get (rendered)
- [-19 12⟩
| Tip: | Adding spaces improves readability of the markup. |
Technical note
Code point U+27E9 is used for the right angle bracket ⟩, the ASCII approximation is the greater-than symbol (> or >).
See also
- Template: Monzo
- Template: Monzo list
- Template: Multimonzo
- Template: Rket – puts rounded ket notation around its argument
- Template: Bra – puts bra notation around its argument
- Template: Lbrack – left bracket
- Template: Trim
- MediaWiki: Common.css – contains style definition(s) for the
left-delimandright-delimclasses.