Template:Rbra: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
m Recategorize
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span class="rank-bra"><span class="left-delim">&#x7B;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">&#x5D;</span></span></includeonly><noinclude>
<includeonly><span class="rank-bra"><span class="left-delim">&#x7B;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">&#x5D;</span></span></includeonly><noinclude>
This template eases using [[Dave Keenan]] and [[Douglas Blumeyer]]'s [[Extended_bra-ket_notation#Variant_including_curly_and_square_brackets|variation]] on [[EBK]] notation. It puts a left curly bracket <code>&#x7B;</code> and and a right square bracket <code>&#x5D;</code> around its arguments (it also removes surrounding space).
{{documentation}}
 
== Usage example ==
 
; You type
: <code><nowiki>{{rbra| 0 1/4 }}</nowiki></code>
 
; You get (rendered)
: <span class="val"><span class="left-delim">&#x7B;</span>{{trim| 0 1/4 }}<span class="right-delim">&#x5D;</span></span>
 
== See also ==
* [[Template: Bra]]


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

Latest revision as of 19:42, 30 January 2025

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

This template eases using Dave Keenan and Douglas Blumeyer's variation on EBK notation. It puts a left curly bracket { and and a right square bracket ] around its arguments (it also removes surrounding spaces).

Usage example

You type
{{rbra| 0 1/4 }}
You get (rendered)
{0 1/4]

See also