Template:Rbra: Difference between revisions
Jump to navigation
Jump to search
m Recategorize |
- class "rank-bra" (doesn't exist) |
||
| (2 intermediate revisions by one other user 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:Formatting templates]] | ||
</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.