WeBWorK Problems

Any way to get MathQuill to allow multiple word phrases to be entered?

Any way to get MathQuill to allow multiple word phrases to be entered?

by Paul Seeburger -
Number of replies: 3

Is there any way to adjust the MathQuill answer blanks to allow multiple word answers to be entered, such as "all real numbers" or "no solution"?

I believe Glenn Rice suggested a patch to disallow MathQuill altogether on answer blanks, which I've not yet been able to implement, but is there any other way this can be adjusted?  Often these types of phrases are not the answer for many of a set of similar problems, so it would be nice if all the problems behaved the same way.

Currently I have to tell students in every problem, "To enter an answer with two or more words, remember to use text mode by clicking on [`Tt`] in the palette."

But these are basic algebra students and this need for technical insight when entering certain types of answers is tough for them.

Thanks!

Paul

In reply to Paul Seeburger

Re: Any way to get MathQuill to allow multiple word phrases to be entered?

by Glenn Rice -
You could use

$ans->cmp(mathQuillOpts => "spaceBehavesLikeTab: false")

to allow spaces to by typed in the answer.
In reply to Glenn Rice

Re: Any way to get MathQuill to allow multiple word phrases to be entered?

by Paul Seeburger -
That's awesome, Glenn!

Is there a way to make this the default behavior for my whole course?

I like them to be able to add spaces in lists, interval notation, etc.

And it would be really nice if I did not need to edit every problem that has the possibility of text answers of two or more words, etc.

Thanks!

Paul
In reply to Paul Seeburger

Re: Any way to get MathQuill to allow multiple word phrases to be entered?

by Glenn Rice -

If you have administrative access to the server, you can change the source code.  Otherwise no.