Template:Rket: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
- class "rank-ket" (doesn't exist)
 
(One intermediate revision by one other 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">&#125;</span></span></includeonly><noinclude>
<includeonly><span class="left-delim">&#91;</span>{{trim|{{{1|{{{text|0}}}}}}}}<span class="right-delim">&#125;</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 [[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.
{{Documentation}}
 
{{documentation}}


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

Latest revision as of 07:00, 30 January 2026

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

See also