Template:Rket/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Style |
||
| Line 1: | Line 1: | ||
{{Dochead}} | {{Dochead}} | ||
This template eases using [[Dave Keenan]] and [[Douglas Blumeyer]]'s [[ | This template eases using [[Dave Keenan]] and [[Douglas Blumeyer]]'s [[extended bra–ket notation #Variant including curly and square brackets|variation]] on [[extended bra–ket notation]]: It puts a left square bracket <code>[</code> and a right curly bracket <code>}</code> around its arguments and removes surrounding spaces. | ||
=== Usage example === | === Usage example === | ||
Latest revision as of 07:26, 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.