Template:Vmp/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation page
 
ArrowHead294 (talk | contribs)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
This template eases typing products between [[monzo]]s and [[val]]s by putting [[bra-ket notation]] around its arguments and removing surrounding spaces.
=== Usage ===
=== Usage ===
You type  
You type  
: <code>{{((}}vmprod{{pipe}} 12 19 28 {{pipe}} -4 4 -1 {{))}}</code>
<pre>{{vmp| 12 19 28 | -4 4 -1 }}</pre>


You get
You get
: {{{{ROOTPAGENAME}}| 12 19 28 | -4 4 -1 }}
: {{{{ROOTPAGENAME}}| 12 19 28 | -4 4 -1 }}


'''Tip:''' Adding spaces improves readability of the wiki markup.
{{spaces note}}


=== See also ===
=== See also ===
Line 13: Line 15:
* [[Template:Val]]
* [[Template:Val]]
* [[Template:Ket]]
* [[Template:Ket]]
* [[Template:LaTeX mapping operators]] &ndash; 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