Template:Multimonzo/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}} | ||
This template eases using nested kets, such as for [[The dual|multimonzos]]: it puts the correct brackets (<code>[[</code> and <code>⟩⟩</code>) around its arguments (it also removes surrounding space). | |||
You can select bi-, tri-, or quad-monzo by specifying a second argument as <code>2</code> (default), <code>3</code>, or <code>4</code>. | |||
=== Usage === | === Usage === | ||
{| class="wikitable center-all" | {| class="wikitable center-all" | ||
|- | |||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
Line 7: | Line 12: | ||
| {{{{ROOTPAGENAME}}| 12 -13 4 10 -4 1 }} | | {{{{ROOTPAGENAME}}| 12 -13 4 10 -4 1 }} | ||
|- | |- | ||
| <code><nowiki>{{multimonzo| nullity=3 | -87 72 -49 31 }}</nowiki></code> | | <code><nowiki>{{multimonzo|nullity=3| -87 72 -49 31 }}</nowiki></code> | ||
| {{{{ROOTPAGENAME}}|nullity=3| -87 72 -49 31 }} | | {{{{ROOTPAGENAME}}|nullity=3| -87 72 -49 31 }} | ||
|} | |} | ||
Line 15: | Line 20: | ||
* [[Template:Monzo list]] | * [[Template:Monzo list]] | ||
* [[Template:Multival]] | * [[Template:Multival]] | ||
* [[Template:LaTeX mapping operators]] – For typesetting monzos and vals up to four dimensions in LaTeX. |
Latest revision as of 19:27, 30 January 2025
This template eases using nested kets, such as for multimonzos: it puts the correct brackets ([[
and ⟩⟩
) around its arguments (it also removes surrounding space).
You can select bi-, tri-, or quad-monzo by specifying a second argument as 2
(default), 3
, or 4
.
Usage
You type | You get |
---|---|
{{multimonzo| 12 -13 4 10 -4 1 }}
|
[[12 -13 4 10 -4 1⟩⟩ |
{{multimonzo|nullity=3| -87 72 -49 31 }}
|
[[[-87 72 -49 31⟩⟩⟩ |
See also
- Template:Monzo
- Template:Monzo list
- Template:Multival
- Template:LaTeX mapping operators – For typesetting monzos and vals up to four dimensions in LaTeX.