Template:Monzo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
mNo edit summary
m Recategorize
Line 21: Line 21:
* [[Template: Ket]]
* [[Template: Ket]]


[[Category:Templates]]
[[Category:Formatting templates]]


<!-- interwiki -->
<!-- interwiki -->

Revision as of 09:14, 14 November 2023

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