Template:Multimonzo: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span class="monzo"><span class="left-delim">&#91;{{#switch: {{{nullity|2}}} | 2 = &#91; | 3 = &#91;&#91; | 4 = &#91;&#91;&#91; }}</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">{{#switch: {{{nullity|2}}} | 2 = | 3 = ⟩⟩ | 4 = ⟩⟩⟩ }}</span></span></includeonly><noinclude>
<includeonly><span class="monzo"><span class="left-delim">&#91;{{#switch: {{{nullity|2}}}|2=&#91;|3=&#91;&#91;|4=&#91;&#91;&#91;}}</span>{{trim|{{{1|{{{text|0}}}}}}}}<span class="right-delim">&#10217;{{#switch: {{{nullity|2}}}|2=&#10217;|3=&#10217;&#10217;|4=&#10217;&#10217;&#10217;}}</span></span></includeonly><noinclude>
 
{{documentation}}
This template eases using nested kets, such as for [[The dual|multimonzos]]: it puts the correct brackets (<code>&#91;&#91;</code> and <code>⟩⟩</code>) around its arguments (it also removes surrounding space).
 
You can select bi-, tri-, or quad-monzo by specifying a second argument as <code>2</code> (default), <code>3</code>, or <code>4</code>.
 
{{doc}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>