Template:Monzo: Difference between revisions
Jump to navigation
Jump to search
Polishing done. |
fixed changed delimiter class names |
||
Line 1: | Line 1: | ||
<includeonly><span class="monzo"><span class="left">[</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right">⟩</span></span></includeonly><noinclude> | <includeonly><span class="monzo"><span class="left-delim">[</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">⟩</span></span></includeonly><noinclude> | ||
This template eases using [[monzo notation]]: it puts the right brackets (<code>[</code> and <code>⟩</code>) around its arguments (it also removes surrounding space). | This template eases using [[monzo notation]]: it puts the right brackets (<code>[</code> and <code>⟩</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 >
).