Template:Rbra: 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-bra" (doesn't exist) |
||
| (3 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]] | |||
[[Category: | |||
</noinclude> | </noinclude> | ||
Latest revision as of 06:59, 30 January 2026
This template eases using Dave Keenan and Douglas Blumeyer's variation on extended bra–ket notation. It puts a left curly bracket { and and a right square bracket ] around its arguments (it also removes surrounding spaces).
Usage example
- You type
{{rbra| 0 1/4 }}
- You get (rendered)
- {0 1/4]
| Tip: | Adding spaces improves readability of the markup. |
See also
- 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
left-delimandright-delimclasses.