Template:Vmp/doc: Difference between revisions

ArrowHead294 (talk | contribs)
m De-escape
ArrowHead294 (talk | contribs)
 
(6 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><nowiki>{{vmprod| 12 19 28 | -4 4 -1 }}</nowiki></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 }}


{{spaces note}}
{{spaces note}}
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.