Template:Ket/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m See also: Lowercase after dashes
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
This '''ket''' template puts ket notation (<code>&#91;</code> and <code>&#x27E9;</code>) around its arguments and removes leading and trailing spaces.
'''Note:''' If you are notating for [[monzo]]s, use [[Template:Monzo]] instead.
=== Usage ===
=== Usage ===
; You type
; You type

Revision as of 18:53, 30 January 2025

This ket template puts ket notation ([ and ) around its arguments and removes leading and trailing spaces.

Note: If you are notating for monzos, use Template:Monzo instead.

Usage

You type
{{ket| -19 12 }}
Tip: Adding spaces improves readability of the 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