Template:Monzo

From Xenharmonic Wiki
Revision as of 09:44, 25 May 2023 by FloraC (talk | contribs) (Simply call Template: Ket to do the rendering)
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 example

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