Template:Monzo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
Polishing done.
Xenwolf (talk | contribs)
fixed changed delimiter class names
Line 1: Line 1:
<includeonly><span class="monzo"><span class="left">&#91;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right">&#x27E9;</span></span></includeonly><noinclude>
<includeonly><span class="monzo"><span class="left-delim">&#91;</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">&#x27E9;</span></span></includeonly><noinclude>
This template eases using [[monzo notation]]: it puts the right brackets (<code>&#91;</code> and <code>&#x27E9;</code>) around its arguments (it also removes surrounding space).
This template eases using [[monzo notation]]: it puts the right brackets (<code>&#91;</code> and <code>&#x27E9;</code>) around its arguments (it also removes surrounding space).



Revision as of 12:06, 31 May 2020

This template eases using monzo notation: it puts the right brackets ([ and ) around its arguments (it also removes surrounding space).

Usage example

You type
{{monzo| -19 12 }} or the equivalent
{{monzo|text= -19 12 }}

(the option of adding spaces supports readability of the wiki markup)

You get (rendered)
[-19 12

Technical Note

Code point U+27E9 is used for the right angle bracket , the ASCII approximation is the greater-than symbol (> or &gt;).

See also