Template:Rket/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Docpage
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
This template eases using [[Dave Keenan]] and [[Douglas Blumeyer]]'s [[Extended_bra-ket_notation#Variant_including_curly_and_square_brackets|variation]] on [[Extended bra-ket notation]]: It puts a left square bracket <code>&#91;</code> and a right curly bracket <code>&#125;</code> around its arguments and removes surrounding spaces.
=== Usage example ===
=== Usage example ===
; You type
; You type
Line 5: Line 7:


; You get
; You get
: <span class="monzo"><span class="left-delim">&#91;</span>{{trim| -19 12 }}<span class="right-delim">&#x7d;</span></span>
: {{{{ROOTPAGENAME}}| -19 12 }}


=== See also ===
=== See also ===
* [[Template: Ket]]
* [[Template: Ket]]

Latest revision as of 19:44, 30 January 2025

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