Template:Bra: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
-redirect. Template: Val should call this instead
Tag: Removed redirect
mNo edit summary
Line 4: Line 4:
Note: If you are notating for [[val]]s, use [[Template: Val]] instead.
Note: If you are notating for [[val]]s, use [[Template: Val]] instead.


== Usage example ==
== Usage ==
; You type
; You type
: <code><nowiki>{{val| 31 49 72 87 }}</nowiki></code>
: <code><nowiki>{{bra| 31 49 72 87 }}</nowiki></code>


:'''Tip''': Adding spaces improves readability of the wiki markup.
:'''Tip''': Adding spaces improves readability of the wiki markup.
Line 17: Line 17:


== See also ==
== See also ==
* [[Template:Multival]]
* [[Template: Val]]
* [[Template:Ket]] – puts ket notation around its argument
* [[Template: Mapping]]
* [[Template:Rbrack]] – right bracket
* [[Template: Multival]]
* [[Template:Trim]]
* [[Template: Ket]] – puts ket notation around its argument
* [[MediaWiki:Common.css]] – contains style definition(s) for the <code>val class</code>  
* [[Template: Rbrack]] – right bracket
* [[Template: Trim]]
* [[MediaWiki: Common.css]] – contains style definition(s) for the <code>val class</code>  


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 11:00, 25 May 2023

This template puts bra notation ( and ]) around its arguments (it also removes surrounding spaces).

Note: If you are notating for vals, use Template: Val instead.

Usage

You type
{{bra| 31 49 72 87 }}
Tip: Adding spaces improves readability of the wiki markup.
You get (rendered)
31 49 72 87]

Technical note

Code point U+27E8 is used for the left angle bracket , the ASCII approximation is less-than symbol (< or &lt;).

See also