Template:LaTeX mapping operators/doc: Difference between revisions
ArrowHead294 (talk | contribs) m lowercase after dashes |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
This template is mainly used to typeset [[Monzo]]s and [[val]]s, but multimonzos and multivals are also supported up to four dimensions. | This template is mainly used to typeset [[Monzo]]s and [[val]]s, but multimonzos and multivals are also supported up to four dimensions. | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|+ style="font-size: 105% | |+ style="font-size: 105%;" | Pre-defined LaTeX control sequences for interval vectors | ||
|- | |- style="white-space: nowrap;" | ||
! rowspan="2" | Operator !! colspan="2" | Example !! rowspan="2" | Definition | ! rowspan="2" | Operator !! colspan="2" | Example !! rowspan="2" | Definition | ||
|- | |- style="white-space: nowrap;" | ||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
Line 41: | Line 41: | ||
| <code>quadtval</code> || <code>{{nowrap|\quadtval{{(}}12 & 19 & 28{{)}}}}</code> || <math>\quadtval{12 & 19 & 28}</math> || Tempered quadval | | <code>quadtval</code> || <code>{{nowrap|\quadtval{{(}}12 & 19 & 28{{)}}}}</code> || <math>\quadtval{12 & 19 & 28}</math> || Tempered quadval | ||
|- | |- | ||
| <code>lket</code> || <code>{{nowrap|\lket{{(}}\monzo{{(}}1 & 2 & 3{{)}} & \monzo{{(}}0 & -3 & -5{{))}}}}</code> || <math>\lket{\monzo{1 & 2 & 3} & \monzo{0 & -3 & -5}}</math> || rowspan="2" | [[Dave Keenan]] and [[Douglas Blumeyer]]'s<br />[[Extended_bra-ket_notation#Variant_including_curly_and_square_brackets|variation]] on [[extended bra-ket notation]] | | <code>lket</code> || <code>{{nowrap|\lket{{(}}\monzo{{(}}1 & 2 & 3{{)}}}} & {{nowrap|\monzo{{(}}0 & -3 & -5{{))}}}}</code> || <math>\lket{\monzo{1 & 2 & 3} & \monzo{0 & -3 & -5}}</math> || rowspan="2" | [[Dave Keenan]] and [[Douglas Blumeyer]]'s<br />[[Extended_bra-ket_notation#Variant_including_curly_and_square_brackets|variation]] on [[extended bra-ket notation]] | ||
|- | |- | ||
| <code>rket</code> || <code>{{nowrap|\rket{{(}}\val{{(}}1 & 2 & 3{{)}} & \val{{(}}0 & -3 & -5{{))}}}}</code> || <math>\rket{\val{1 & 2 & 3} & \val{0 & -3 & -5}}</math> | | <code>rket</code> || <code>{{nowrap|\rket{{(}}\val{{(}}1 & 2 & 3{{)}}}} & {{nowrap|\val{{(}}0 & -3 & -5{{))}}}}</code> || <math>\rket{\val{1 & 2 & 3} & \val{0 & -3 & -5}}</math> | ||
|- | |- | ||
| <code>vmp</code> || <code>{{nowrap|\vmp{{(}}12 & 19 & 28{{)}}{{(}}-4 & 4 & -1{{)}}}}</code> || <math>\vmp{12 & 19 & 28}{-4 & 4 & -1}</math> || Dot product of Monzo and val | | <code>vmp</code> || <code>{{nowrap|\vmp{{(}}12 & 19 & 28{{)}}}}{{nowrap|{{(}}-4 & 4 & -1{{)}}}}</code> || <math>\vmp{12 & 19 & 28}{-4 & 4 & -1}</math> || Dot product of Monzo and val | ||
|- | |- | ||
| <code>wmp</code> || <code>{{nowrap|\wmp{{(}}12 & 19 & 28{{)}}{{(}}-4 & 4 & -1{{)}}}}</code> || <math>\wmp{12 & 19 & 28}{-4 & 4 & -1}</math> || Dot product of bimonzo and [[wedgies and multivals|wedgie]] | | <code>wmp</code> || <code>{{nowrap|\wmp{{(}}12 & 19 & 28{{)}}}}{{nowrap|{{(}}-4 & 4 & -1{{)}}}}</code> || <math>\wmp{12 & 19 & 28}{-4 & 4 & -1}</math> || Dot product of bimonzo and [[wedgies and multivals|wedgie]] | ||
|- | |- | ||
| <code>hs</code> || <code>\hs</code> || || Narrow whitespace | | <code>hs</code> || <code>\hs</code> || || Narrow whitespace |