Template:Rket: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
m Recategorize
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="rank-ket"><span class="left-delim">&#91;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">&#x7d;</span></span></includeonly><noinclude>
<includeonly><span class="rank-ket"><span class="left-delim">&#91;</span>{{trim|{{{1|{{{text|0}}}}}}}}<span class="right-delim">&#125;</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 square bracket <code>&#91;</code> and a right curly bracket <code>&#x7d;</code> around its arguments (it also removes surrounding space).
{{documentation}}
 
== Usage example ==
 
; You type
: <code><nowiki>{{rket| -19 12 }}</nowiki></code>
 
; You get
: <span class="monzo"><span class="left-delim">&#91;</span>{{trim| -19 12 }}<span class="right-delim">&#x7d;</span></span>
 
== See also ==
* [[Template: Ket]]


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

Latest revision as of 19:44, 30 January 2025

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

This template eases using Dave Keenan and Douglas Blumeyer's variation on Extended bra-ket notation: It puts a left square bracket [ and a right curly bracket } around its arguments and removes surrounding spaces.

Usage example

You type
{{rket| -19 12 }}
You get
[-19 12}

See also