Skip to content
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

A means for question authors to change how operators are interpreted and displayed #1071

Open
christianp opened this issue Jan 9, 2024 · 0 comments
Labels
Difficult! Issues that will take a long time to implement, or involve big breaking changes Needs thinking about

Comments

@christianp
Copy link
Member

This is related to #677, which is about parsing.
This is also loosely related to #939, which is about limiting which functions and operators are available in mathematical expression parts.

Question authors can change how constants are displayed, using the "custom constants" tab.

There are different conventions for how some operators are interpreted and rendered. The example that's motivating this issue at the moment is that somebody wants the boolean or operator to be displayed in LaTeX with the symbol +, and xor with \oplus, ⊕. At the moment, or is always rendered with \vee, ∨.

Could we have a table of LaTeX representations of functions and operators, to allow the author to give a different representation?

For consistency, the author should be able to say that the symbol + is interpreted as identical to or, so the student can write either a + b or a or b.

@christianp christianp added Needs thinking about Difficult! Issues that will take a long time to implement, or involve big breaking changes labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficult! Issues that will take a long time to implement, or involve big breaking changes Needs thinking about
Projects
None yet
Development

No branches or pull requests

1 participant