Template:Bra: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Cmloegcmluin (talk | contribs)
fix typo
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="val"><span class="left-delim">&#x27E8;</span>{{trim| {{{1|0}}} }}<span class="right-delim">{{rbrack}}</span></span></includeonly><noinclude>
<includeonly><span class="val"><span class="left-delim">&#x27E8;</span>{{trim| {{{1|0}}} }}<span class="right-delim">{{rbrack}}</span></span></includeonly><noinclude>
This template puts bra notation (<code>&#x27E8;</code> and <code>&#93;</code>) around its arguments and removes leading and trailing whitespaces.
'''Note:''' If you are notating for [[val]]s, use [[Template:Val]] instead.
{{documentation}}
{{documentation}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 15:54, 30 January 2025

Template documentation[view] [edit] [history] [purge]

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 }}
Tip: Adding spaces improves readability of the markup.
You get (rendered)
31 49 72 87]

Technical note

Code point U+27E8 is used for the left angle bracket , the ASCII approximation is less-than symbol (< or &lt;).

See also