Template:Vmp: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Product template
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="left-delim">&#x27E8;</span>{{trim|{{{1|0}}}}}&nbsp;{{pipe}}&nbsp;{{trim|{{{2|0}}}}}<span class="right-delim">&#x27E9;</span></includeonly><noinclude>[[Category:Formatting templates]]</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>
{{documentation}}
 
[[Category:Formatting templates]]
</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