-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document customizable binary operators #33479
Conversation
I learned indirectly through comments on a PR that \otimes and \oplus and \odot can be extended as binary operators yet I cannot find this fact anywhere in the documentation. Search the docs for `oplus` yields nothing. Somewhere there must be a list of which characters can be extended this way and it should be documented in the manual. This PR is an attempt to get that ball rolling!
Sounds good to have. The complete list is here: (Note also that by postfix I think you mean prefix!) I also can’t find where it is mentioned that things like |
@mcabbott thanks for the link. I added it to the PR and also fixed the typo you mentioned. I was unaware of the syntax you mentioned. Cautionary note to anyone who tries to reproduce it: the quote in |
It may be mentioned somewhere logical! But you are allowed any unicode decoration like The exact line I linked is the symbols parsed like |
Thanks for the clarification. I've updated the PR to tell the story somewhat more generally. |
@JeffBezanson, can you give a read through and merge if you approve? |
@JeffBezanson, it's been a few weeks so I thought I'd make a gentle ping... |
* Document customizable binary operators I learned indirectly through comments on a PR that \otimes and \oplus and \odot can be extended as binary operators yet I cannot find this fact anywhere in the documentation. Search the docs for `oplus` yields nothing. Somewhere there must be a list of which characters can be extended this way and it should be documented in the manual. This PR is an attempt to get that ball rolling! * Add url for list and fix prefix typo * Expand docs of infix binary operators.
I learned indirectly through comments on a PR that \otimes and \oplus and \odot can be extended as binary operators yet I cannot find this fact anywhere in the documentation. Search the docs for
oplus
yields nothing.Somewhere there must be a list of which characters can be extended this way and it should be documented in the manual.
This PR is an attempt to get that ball rolling!