Template:Bra: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
Cmloegcmluin (talk | contribs) fix typo |
||
| Line 1: | Line 1: | ||
<includeonly><span class="val"><span class="left-delim">⟨</span>{{trim| {{{1|0}}} }}<span class="right-delim">{{rbrack}}</span></span></includeonly><noinclude> | <includeonly><span class="val"><span class="left-delim">⟨</span>{{trim| {{{1|0}}} }}<span class="right-delim">{{rbrack}}</span></span></includeonly><noinclude> | ||
This template | This template puts bra notation (<code>⟨</code> and <code>]</code>) around its arguments and removes leading and trailing whitespaces. | ||
'''Note:''' If you are notating for [[val]]s, use [[Template:Val]] instead. | '''Note:''' If you are notating for [[val]]s, use [[Template:Val]] instead. | ||
Revision as of 15:49, 5 January 2025
This template puts bra notation (⟨ and ]) around its arguments and removes leading and trailing whitespaces.
Note: If you are notating for vals, use Template:Val instead.
This template puts bra notation (⟨ and ]) around its arguments and removes leading and trailing whitespaces.
| Note: | If you are notating for vals, use Template: Val instead. Only use this template if you wish to explicitly use bra notation. |
Usage
- You type
{{bra| 31 49 72 87 }}
- You get (rendered)
- ⟨31 49 72 87]
| Tip: | Adding spaces improves readability of the markup. |
Technical note
Code point U+27E8 is used for the left angle bracket ⟨, the ASCII approximation is less-than symbol (< or <).
See also
- Template: Val
- Template: Mapping
- Template: Multival
- Template: Rbra – puts rounded bra notation around its argument
- Template: Ket – puts ket notation around its argument
- Template: Rbrack – right bracket
- Template: Trim
- MediaWiki: Common.css – contains style definitions for the
left-delimandright-delimclasses.