Skip to content

Add the rootsAreExponents MathQuill setting to other contexts that defined nth roots. - #1573

Open
drgrice1 wants to merge 1 commit into
openwebwork:developfrom
drgrice1:more-root-are-exponents
Open

drgrice1 wants to merge 1 commit into
openwebwork:developfrom
drgrice1:more-root-are-exponents

Conversation

@drgrice1

@drgrice1 drgrice1 commented Nov 5, 2026

Copy link
Copy Markdown
Member

The contextLimitedRadical.pl, contextLimitedRadicalComplex.pl, and contextRationalExponent.pl macros all define contexts that have an nth root function that students can enter. So all of these should have the MathQuill option that leaves nth roots as roots instead of passing a rational exponent. This was only done previously for the parserRoot.pl macro, probably because that is the one I happened to notice this with. But this should be done for all of these.

This was inspired by https://forums.openwebwork.org/mod/forum/discuss.php?d=4980.

…defined nth roots.

The `contextLimitedRadical.pl`, `contextLimitedRadicalComplex.pl`, and
`contextRationalExponent.pl` macros all define contexts that have an nth
root function that students can enter.  So all of these should have the
MathQuill option that leaves nth roots as roots instead of passing a
rational exponent.  This was only done previously for the `parserRoot.pl`
macro, probably because that is the one I happened to notice this with.
But this should be done for all of these.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants