dragmath- why does $$ show up? (v.2.2)

dragmath- why does $$ show up? (v.2.2)

by sue sugizaki -
Number of replies: 1

Hi,

I tested DragMath and discovered  shows up for some reason.

1+2      (1+2)

 

Q: what have I missed here?

Any advice?

Average of ratings: -
In reply to sue sugizaki

Re: dragmath- why does $$ show up? (v.2.2)

by Mauno Korpelainen -

The default output format of dragmath (in moodle 2) is set to "MoodleTex" which means that dragmath outputs TeX expressions delimited by double-dollar signs. You can use different tokens with different renderers but dragmath is by default using double dollars...

To see those expressions as maths on your pages of moodle you need to have some renderer enabled - usually it is Tex filter, see http://docs.moodle.org/23/en/TeX_notation_filter or for example MathJax (see other discussions here)

For example if you add with dragmath to editor

   $ $ \sqrt{x + y} $ $

and tex filter is enabled & functional (using local latex or executable mimetex file from folder filter/tex/ ) your site could render

$$ \sqrt{x + y} $$