Template:Vmp/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
=== Usage ===
=== Usage ===
You type  
You type  
: <code><nowiki>{{vmprod| 12 19 28 | -4 4 -1 }}</nowiki></code>
<pre>{{vmp| 12 19 28 | -4 4 -1 }}</pre>


You get
You get
Line 15: Line 15:
* [[Template:Val]]
* [[Template:Val]]
* [[Template:Ket]]
* [[Template:Ket]]
* [[Template:LaTeX mapping operators]] – For typesetting multimonzos and multivals up to four dimensions in LaTeX.
* [[Template:Wmp]]
* [[Template:LaTeX mapping operators]] – for typesetting multimonzos and multivals up to four dimensions in LaTeX.

Latest revision as of 13:06, 20 March 2025

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