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

Give option to not have the left/right arrows navigate between the numerator and denominator of a fraction #2582

Open
jaltekruse opened this issue Jan 27, 2025 · 1 comment
Labels
feature Request for a new feature or functionality, as opposed to a defect in an existing feature.

Comments

@jaltekruse
Copy link

Most of the sites that use Mathquill that I have encountered set a config option so that the left and right arrows will immediate jump out of the fraction when you reach the corresponding end of the numerator or denominator and then hit left or right one more time.

This is the option
https://docs.mathquill.com/en/latest/Config/#leftrightintocmdgoes

While I do understand that this creates a disconnect between the navigation of all of the content of an expression using only left/right, I do think the 2D non-linear nature of expressions makes this a more intuitive behavior for some use cases.

To be fair, the default behavior of Mathquill does match the default in Mathlive, it is possible I missed this option in the docs when I searched for it.

Example from mathquill project home:

Screencast.from.2025-01-26.18-45-55.webm

Example from Desmos:

Screencast.from.2025-01-26.18-46-43.webm
@arnog
Copy link
Owner

arnog commented Jan 27, 2025

Yes, I'm aware of the behavior of Desmos in that regard, and I don't quite understand the appeal. Seems to me that it makes navigating to denominator more difficult. That said, if there is enough interest in supporting that, I'm open to it.

There is actually already an option to control the navigation of the numerator/denominator, but it's specifically for localization where in some East Asian cultures, the denominator is visited first. https://cortexjs.io/mathlive/guides/customizing/#fraction-navigation-order

It could however be extended to include an option to navigate only the numerator (or only the denominator, I suppose).

@arnog arnog added the feature Request for a new feature or functionality, as opposed to a defect in an existing feature. label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request for a new feature or functionality, as opposed to a defect in an existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants