「テンプレート:Monzo list/doc」の版間の差分

提供: Xenharmonic Wiki
ナビゲーションに移動 検索に移動
ページの作成:「{{dochead}} This '''monzo list''' template eases typing monzo lists: it puts ket notation (<code>⟨</code> and <code>]</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Monzo lists are supported up to rank-4. === Usage === ; You type : <code><nowiki>{{monzo list| 1 0 0 0 }}</nowiki></code> : <code><nowiki>{{monzo list| 1 0 0 | 0 0 1 }}</nowiki></code> :…」
 
typo
 
1行目: 1行目:
{{dochead}}
{{dochead}}
This '''monzo list''' template eases typing [[monzo list]]s: it puts ket notation (<code>&#x27E8;</code> and <code>&#93;</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Monzo lists are supported up to rank-4.  
This '''monzo list''' template eases typing [[monzo list]]s: it puts ket notation (<code>[</code> and <code>&#x27E9;</code>) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Monzo lists are supported up to rank-4.  


=== Usage ===
=== Usage ===

2025年11月16日 (日) 04:24時点における最新版

This monzo list template eases typing monzo lists: it puts ket notation ([ and ) around each of its arguments and left and right brackets outside (it also removes surrounding spaces). You may optionally include a legend. Monzo lists are supported up to rank-4.

Usage

You type
{{monzo list| 1 0 0 0 }}
{{monzo list| 1 0 0 | 0 0 1 }}
{{monzo list|legend=1| 1 0 0 0 | 0 1 1/4 0 | -3 0 5/2 0 }}
Tip: adding spaces improves readability of the wiki markup.
You get (rendered)
[[1 0 0 0]
[[1 0 0, [0 0 1]
Monzo list[[1 0 0 0, [0 1 1/4 0, [-3 0 5/2 0]

Technical note

This template calls Template:Ket to render the brackets.

See also