Template:Rket: Difference between revisions

Cmloegcmluin (talk | contribs)
add new template to help with curly variation on EBK for matrix rows/cols with shape entry = rank
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users 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:Templates]]


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