Template:Monzo

From Xenharmonic Wiki
Revision as of 11:18, 25 May 2023 by FloraC (talk | contribs)
Jump to navigation Jump to search

This monzo template eases typing monzos: it puts ket notation ([ and ) around its arguments (it also removes surrounding spaces), and you may optionally include a legend.

Usage

You type
{{monzo| -19 12 }}
{{monzo|legend=1| -19 12 }}
Tip: adding spaces improves readability of the wiki markup.
You get (rendered)
[-19 12
monzo[-19 12

Technical note

This template calls Template: Ket to render the brackets.

See also