Template:Rket/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ | {{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 === | ||
| Line 8: | Line 8: | ||
; You get | ; You get | ||
: {{{{ROOTPAGENAME}}| -19 12 }} | : {{{{ROOTPAGENAME}}| -19 12 }} | ||
{{Spaces note}} | |||
=== See also === | === See also === | ||
* [[Template: Ket]] | * [[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 <code>left-delim</code> and <code>right-delim</code> classes. | |||
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.