Template:LaTeX mapping operators/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) m De-escape |
ArrowHead294 (talk | contribs) m →Usage |
||
| Line 96: | Line 96: | ||
|- | |- | ||
| <code>rbra</code> | | <code>rbra</code> | ||
| <code>{{nowrap|<nowiki>\rbra{\monzo{1 & 2 & 3 | | <code>{{nowrap|<nowiki>\rbra{\monzo{1 & 2 & 3}</nowiki>}} & {{nowrap|<nowiki>\monzo{0 & -3 & -5}}</nowiki>}}</code> | ||
| <math>\rbra{\monzo{1 & 2 & 3} & \monzo{0 & -3 & -5}}</math> | | <math>\rbra{\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]] | | 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>rket</code> | ||
| <code>{{nowrap|<nowiki>\rket{\val{1 & 2 & 3 | | <code>{{nowrap|<nowiki>\rket{\val{1 & 2 & 3}</nowiki>}} & {{nowrap|<nowiki>\val{0 & -3 & -5}}</nowiki>}}}</code> | ||
| <math>\rket{\val{1 & 2 & 3} & \val{0 & -3 & -5}}</math> | | <math>\rket{\val{1 & 2 & 3} & \val{0 & -3 & -5}}</math> | ||
|- | |- | ||
| <code>vmp</code> | | <code>vmp</code> | ||
| <code>{{nowrap|<nowiki>\vmp{12 & 19 & 28}</nowiki>}} | | <code>{{nowrap|<nowiki>\vmp{12 & 19 & 28}</nowiki>}}{{nowrap|<nowiki>{-4 & 4 & -1}</nowiki>}}</code> | ||
| <math>\vmp{12 & 19 & 28}{-4 & 4 & -1}</math> | | <math>\vmp{12 & 19 & 28}{-4 & 4 & -1}</math> | ||
| Dot product of val and monzo | | Dot product of val and monzo | ||
|- | |- | ||
| <code>wmp</code> | | <code>wmp</code> | ||
| <code>{{nowrap|<nowiki>\wmp{12 & 19 & 28}</nowiki>}} | | <code>{{nowrap|<nowiki>\wmp{12 & 19 & 28}</nowiki>}}{{nowrap|<nowiki>{-4 & 4 & -1}</nowiki>}}</code> | ||
| <math>\wmp{12 & 19 & 28}{-4 & 4 & -1}</math> | | <math>\wmp{12 & 19 & 28}{-4 & 4 & -1}</math> | ||
| Dot product of bival and bimonzo | | Dot product of bival and bimonzo | ||
Revision as of 00:37, 17 November 2024
Usage
This template is mainly used to typeset Monzos and vals, but multimonzos and multivals are also supported up to four dimensions.
| Note: | You can use {{texmap}} as a shortcut.
|
| Operator | Example | Definition | |
|---|---|---|---|
| You type | You get | ||
monzo
|
\monzo{-4 & 4 & -1}
|
[math]\displaystyle{ \monzo{-4 & 4 & -1} }[/math] | Monzo |
tmonzo
|
\tmonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \tmonzo{-4 & 4 & -1} }[/math] | Monzo (pipe variant) |
bimonzo
|
\bimonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \bimonzo{-4 & 4 & -1} }[/math] | Bimonzo |
bitmonzo
|
\bitmonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \bitmonzo{-4 & 4 & -1} }[/math] | Bimonzo (pipe variant) |
trimonzo
|
\trimonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \trimonzo{-4 & 4 & -1} }[/math] | Trimonzo |
tritmonzo
|
\tritmonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \tritmonzo{-4 & 4 & -1} }[/math] | Trimonzo (pipe variant) |
quadmonzo
|
\quadmonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \quadmonzo{-4 & 4 & -1} }[/math] | Quadmonzo |
quadtmonzo
|
\quadtmonzo{-4 & 4 & -1}
|
[math]\displaystyle{ \quadtmonzo{-4 & 4 & -1} }[/math] | Quadmonzo (pipe variant) |
val
|
\val{12 & 19 & 28}
|
[math]\displaystyle{ \val{12 & 19 & 28} }[/math] | Val |
tval
|
\tval{12 & 19 & 28}
|
[math]\displaystyle{ \tval{12 & 19 & 28} }[/math] | Val (pipe variant) |
bival
|
\bival{12 & 19 & 28}
|
[math]\displaystyle{ \bival{12 & 19 & 28} }[/math] | Bival |
bitval
|
\bitval{12 & 19 & 28}
|
[math]\displaystyle{ \bitval{12 & 19 & 28} }[/math] | Bival (pipe variant) |
trival
|
\trival{12 & 19 & 28}
|
[math]\displaystyle{ \trival{12 & 19 & 28} }[/math] | Trival |
tritval
|
\tritval{12 & 19 & 28}
|
[math]\displaystyle{ \tritval{12 & 19 & 28} }[/math] | Trival (pipe variant) |
quadval
|
\quadval{12 & 19 & 28}
|
[math]\displaystyle{ \quadval{12 & 19 & 28} }[/math] | Quadval |
quadtval
|
\quadtval{12 & 19 & 28}
|
[math]\displaystyle{ \quadtval{12 & 19 & 28} }[/math] | Quadval (pipe variant) |
rbra
|
\rbra{\monzo{1 & 2 & 3} & \monzo{0 & -3 & -5}}
|
[math]\displaystyle{ \rbra{\monzo{1 & 2 & 3} & \monzo{0 & -3 & -5}} }[/math] | Dave Keenan and Douglas Blumeyer's variation on extended bra-ket notation |
rket
|
\rket{\val{1 & 2 & 3} & \val{0 & -3 & -5}}}
|
[math]\displaystyle{ \rket{\val{1 & 2 & 3} & \val{0 & -3 & -5}} }[/math] | |
vmp
|
\vmp{12 & 19 & 28}{-4 & 4 & -1}
|
[math]\displaystyle{ \vmp{12 & 19 & 28}{-4 & 4 & -1} }[/math] | Dot product of val and monzo |
wmp
|
\wmp{12 & 19 & 28}{-4 & 4 & -1}
|
[math]\displaystyle{ \wmp{12 & 19 & 28}{-4 & 4 & -1} }[/math] | Dot product of bival and bimonzo |
| Tip: | Adding spaces improves readability of the markup. |
See also
- Template:LaTeX preset characters – for predefining the bracket sequences.
- Template:LaTeX operators – for typesetting more basic mathematical functions.