Template:Multimonzo

Revision as of 19:27, 30 January 2025 by ArrowHead294 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

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