Template:LaTeX mapping operators/doc: Difference between revisions

ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}{{{{ROOTPAGENAME}} }}
{{dochead}}{{{{ROOTPAGENAME}} }}
This template allows LaTeX representations of [[monzo]]s, [[vals]], and monzo–val products by defining the operators in advance to avoid the need to manually enter brackets.
=== Usage ===
=== Usage ===
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.
Line 101: Line 103:
|-
|-
| <code>rket</code>
| <code>rket</code>
| <code>{{nowrap|<nowiki>\rket{\val{1 & 2 & 3}</nowiki>}} & {{nowrap|<nowiki>\val{0 & -3 & -5}}</nowiki>}}}</code>
| <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>
|-
|-
Line 114: Line 116:
| Dot product of bival and bimonzo
| Dot product of bival and bimonzo
|}
|}
{{spaces note}}


=== See also ===
=== See also ===
* [[:Template:LaTeX preset characters]] &ndash; for predefining the bracket sequences.
* [[:Template:LaTeX preset characters]] for predefining the bracket sequences.
* [[:Template:LaTeX operators]] &ndash; for typesetting more basic mathematical functions.
* [[:Template:LaTeX operators]] for typesetting more basic mathematical functions.