Template:Monzo: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
link to site-wide common.css
m Wikipedia has an article on code point and we can link directly
Line 3: Line 3:


== Usage example ==
== Usage example ==
; You type
; You type
: <code><nowiki>{{monzo| -19 12 }}</nowiki></code> or the equivalent
: <code><nowiki>{{monzo| -19 12 }}</nowiki></code> or the equivalent
Line 13: Line 12:


== Technical Note ==
== Technical Note ==
 
[[Wikipedia: Code point|Code point]] [https://www.compart.com/unicode/U+27E9 U+27E9] is used for the right angle bracket <code>⟩</code>, the ASCII approximation is the greater-than symbol (<code>&gt;</code> or <code>&amp;gt;</code>).
[[Code point]] [https://www.compart.com/unicode/U+27E9 U+27E9] is used for the right angle bracket <code>⟩</code>, the ASCII approximation is the greater-than symbol (<code>&gt;</code> or <code>&amp;gt;</code>).


== See also ==
== See also ==
* [[Template:Val]]
* [[Template:Val]]
* [[Template:Lbrack]]
* [[Template:Lbrack]]

Revision as of 20:14, 3 November 2021

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