Template:Vmp: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="left-delim">&#10216;</span>{{trim|{{{1|0}}}}}&#8239;{{pipe}}&#8239;{{trim|{{{2|0}}}}}<span class="right-delim">&#10217;</span></includeonly><noinclude>
<includeonly><span class="left-delim">&#10216;</span>{{trim|{{{1|0}}}}}&#8239;<span style="display: inline-block; transform: scale(1, 1.1);">{{pipe}}</span>&#8239;{{trim|{{{2|0}}}}}<span class="right-delim">&#10217;</span></includeonly><noinclude>
This template eases typing products between [[monzo]]s and [[val]]s by putting [[bra-ket notation]] around its arguments (it also removes surrounding spaces).
 
{{documentation}}
{{documentation}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 13:06, 20 March 2025

Template documentation[view] [edit] [history] [purge]

This template eases typing products between monzos and vals by putting bra-ket notation around its arguments and removing surrounding spaces.

Usage

You type

{{vmp| 12 19 28 | -4 4 -1 }}

You get

12 19 28 | -4 4 -1

Tip: Adding spaces improves readability of the markup.

See also