Skip to content

Commit 95376d2

Browse files
committed
Document ·, ⊠, and ⧢ operators
1 parent 054d577 commit 95376d2

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

M2/Macaulay2/packages/Macaulay2Doc/operators/tensor.m2

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,33 @@ Node
3434
Example
3535
{1, 2} ** {10, 20, 30}
3636
///
37+
38+
doc ///
39+
Key
40+
symbol
41+
Headline
42+
a binary operator, usually used for external product
43+
Description
44+
Text
45+
To insert this character in Emacs, you may press @KBD "C-x 8 RET"@
46+
or @KBD "M-x insert-char"@ and then enter "squared times" in the
47+
minibuffer.
48+
49+
Alternatively, you may press @KBD "C-x RET C-\\"@ or
50+
@KBD "M-x set-input-method"@ and then enter "TeX" in the minibuffer.
51+
Afterwards, typing "\boxtimes" will input the ⊠ character. You may then
52+
toggle the input method using @KBD "C-\\"@ or
53+
@KBD "M-x toggle-input-method"@.
54+
///
55+
56+
doc ///
57+
Key
58+
symbol
59+
Headline
60+
a binary operator, usually used for shuffle product
61+
Description
62+
Text
63+
To insert this character in Emacs, you may press @KBD "C-x 8 RET"@
64+
or @KBD "M-x insert-char"@ and then enter "shuffle product" in the
65+
minibuffer.
66+
///

M2/Macaulay2/packages/Macaulay2Doc/operators/times.m2

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,21 @@ document {
196196
},
197197
SeeAlso => {(degree,Matrix),degrees}
198198
}
199+
200+
doc ///
201+
Key
202+
symbol ·
203+
Headline
204+
a binary operator, usually used for dot product
205+
Description
206+
Text
207+
To insert this character in Emacs, you may press @KBD "C-x 8 RET"@
208+
or @KBD "M-x insert-char"@ and then enter "middle dot" in the
209+
minibuffer.
210+
211+
Alternatively, you may press @KBD "C-x RET C-\\"@ or
212+
@KBD "M-x set-input-method"@ and then enter "TeX" in the minibuffer.
213+
Afterwards, typing "\cdot" will input the · character. You may then
214+
toggle the input method using @KBD "C-\\"@ or
215+
@KBD "M-x toggle-input-method"@.
216+
///

M2/Macaulay2/packages/Macaulay2Doc/ov_language.m2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,7 @@ document {
10651065
TO symbol + ,
10661066
TO symbol - ,
10671067
TO symbol * ,
1068+
TO symbol · ,
10681069
TO symbol / ,
10691070
TO symbol // ,
10701071
TO symbol % ,
@@ -1073,6 +1074,8 @@ document {
10731074
TO symbol ++ ,
10741075
TO symbol ** ,
10751076
TO symbol ^** ,
1077+
TO symbol ⊠ ,
1078+
TO symbol ⧢ ,
10761079
TO symbol ~ ,
10771080
TO symbol (*) ,
10781081
TO symbol : ,

0 commit comments

Comments
 (0)