|
|
| (5 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| <includeonly><span class="monzo"><span class="left-delim">[{{#switch: {{{nullity|2}}} | 2 = [ | 3 = [[ | 4 = [[[ }}</span>{{trim| {{{1|{{{text|0}}}}}} }}<span class="right-delim">⟩{{#switch: {{{nullity|2}}} | 2 = ⟩ | 3 = ⟩⟩ | 4 = ⟩⟩⟩ }}</span></span></includeonly><noinclude> | | <includeonly><span class="left-delim">[{{#switch: {{{nullity|2}}}|2=[|3=[[|4=[[[}}</span>{{trim|{{{1|{{{text|0}}}}}}}}<span class="right-delim">⟩{{#switch: {{{nullity|2}}}|2=⟩|3=⟩⟩|4=⟩⟩⟩}}</span></includeonly><noinclude> |
| | | {{Documentation}} |
| This template eases using nested kets, such as for [[The_dual|multimonzos]]: it puts the correct brackets (<code>[[</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>.
| |
| | |
| ; You type | |
| * <code><nowiki>{{Multimonzo| 12 -13 4 10 -4 1 }}</nowiki></code>
| |
| * <code><nowiki>{{Multimonzo| nullity=3 | -87 72 -49 31 }}</nowiki></code>
| |
| | |
| ; You get
| |
| * {{ {{PAGENAME}} | 12 -13 4 10 -4 1 }}
| |
| * {{ {{PAGENAME}} | nullity=3 | -87 72 -49 31 }}
| |
| | |
| [[Category:Templates]]
| |
|
| |
|
| | [[Category:Formatting templates]] |
| </noinclude> | | </noinclude> |