Template:Rket: Difference between revisions
Jump to navigation
Jump to search
Cmloegcmluin (talk | contribs) add new template to help with curly variation on EBK for matrix rows/cols with shape entry = rank |
- class "rank-ket" (doesn't exist) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly | <includeonly><span class="left-delim">[</span>{{trim|{{{1|{{{text|0}}}}}}}}<span class="right-delim">}</span></includeonly><noinclude> | ||
{{Documentation}} | |||
[[Category:Formatting templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 07:00, 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
- 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
left-delimandright-delimclasses.