Template:Wmp: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) Make template |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span class="left-delim">⟨⟨</span>{{trim|{{{1|0}}}}} ‖ {{trim|{{{2|0}}}}}<span class="right-delim">⟩⟩</span></includeonly><noinclude> | <includeonly><span class="left-delim">⟨⟨</span>{{trim|{{{1|0}}}}} <span style="display: inline-block; transform: scale(1, calc(4 / 3)) translate(0, calc(1em / 24));">‖</span> {{trim|{{{2|0}}}}}<span class="right-delim">⟩⟩</span></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:26, 26 February 2025
This template eases typing products between bimonzos and wedgies by putting bra-ket notation around its arguments and removing surrounding spaces.
Usage
You type
{{wmp| 12 19 28 | -4 4 -1 }}
You get
- ⟨⟨12 19 28 ‖ -4 4 -1⟩⟩
Tip: Adding spaces improves readability of the markup.
See also
- Template:Monzo
- Template:Val
- Template:Ket
- Template:LaTeX mapping operators – for typesetting multimonzos and multivals up to four dimensions in LaTeX.