Template:Rbra/doc: Difference between revisions

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 [[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 spaces).
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 spaces).


=== Usage example ===
=== Usage example ===
Line 7: Line 7:


; You get (rendered)
; You get (rendered)
: <span class="val"><span class="left-delim">&#x7B;</span>{{trim| 0 1/4 }}<span class="right-delim">&#x5D;</span></span>
: {{{{ROOTPAGENAME}}| 0 1/4 }}
 
{{Spaces note}}


=== See also ===
=== See also ===
* [[Template:Bra]]
* [[Template: Bra]] – puts bra notation around its argument
* [[Template: Rket]] – puts rounded ket 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.