Template:Rket/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
No edit summary
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.
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 ===
Line 8: Line 8:
; You get
; You get
: {{{{ROOTPAGENAME}}| -19 12 }}
: {{{{ROOTPAGENAME}}| -19 12 }}
{{Spaces note}}


=== See also ===
=== See also ===
* [[Template: Ket]]
* [[Template: Ket]] – puts ket notation around its argument
* [[Template: Rbra]] – puts rounded bra notation around its argument
* [[Template: Trim]]
* [[MediaWiki: Common.css]] – contains style definition(s) for the <code>left-delim</code> and <code>right-delim</code> classes.

Revision as of 07:26, 30 January 2026

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}
💡Tip: Adding spaces improves readability of the markup.

See also