Inequalities in JSX Graph

Inequalities in JSX Graph

by Anna Lena Daake -
Number of replies: 4
We are using JSX Graph in Moodle and we would like to use the signs for inequalities, as for example "<" or "<=". But if we type them in the question tag in editing mode, these signs are always translated to html code ( as you can see in the picture) and that makes the whole code not work.

Does anyone have a solution for that problem?

Regards, Lena
Attachment 0fb96206-6c69-4803-971a-b2042b8fa362.PNG
Average of ratings: -
In reply to Anna Lena Daake

Re: Inequalities in JSX Graph

by David Galiana -
You can use Plain text editor in Moodle instead of Atto default editor.
In reply to David Galiana

Re: Inequalities in JSX Graph

by Frauke Sprengel -
You better use the functions JXG.Math.leq(a, b) or JXG.Math.lt(a, b), see here https://jsxgraph.uni-bayreuth.de/docs/symbols/JXG.Math.html and avoid "<" or "<="
In reply to Frauke Sprengel

Re: Inequalities in JSX Graph

by Anna Lena Daake -
But how can I make something like this work?
I don't know how to write the arrow without moodle translating it.

For explaination