### Maths symbols in WIKI

Number of replies: 6i am using moodle 1.9.10

For maths code creation- i am using Mathtype 5.2

In this

Tex/Latex using

\ [..... ] \ (neglect spaces)

where

Wiki also uses [....] for creation of new page

----------------------------------------------

This [...] clashes to each other

----------------------------------------------

so i am using

TeX- Plain TeX

it tokens/delimiters are $ $..........$ $ (neglect spaces)

Its working !!!

My Question is

will it create any problem in future ?

OR

Has any other solution regarding this problem?

TIA

Ravi

### Re: Maths symbols in WIKI

Square brackets do indeed cause some problems in Wiki, not only with delimiter conflicts but also with some mathematical notations that use square brackets. Sometimes you just need to use workarounds like optional renderers or images to get things look correct

### Re: Maths symbols in WIKI

We have another weapon - 'Mathjax' To render Maths symbols

I know that '$ $..... $ $' '\ [ ..... \ ]'

These are delimiter used for MathTran and MathJax too

so i add one more '@ @...@ @' delimiter in meta.php file (see attachment)

but it can't render

What will be problem?

location->.....wwwroot/theme/high-school-classes/meta.php

-------------------------------------------------------------

For WIKI,

i used TEX-Plain

but it sometimes renders sometime can't

(see screen shot)

What to do?

plz. suggest something

Ravi

### Re: Maths symbols in WIKI

MathJax can't render

MathType Translator- ....> AMS-Tex

### Re: Maths symbols in WIKI

sometimes renders sometimes NOT

Below it some code is created

MathType Translator 'Tex-Plain'

### Re: Maths symbols in WIKI

You have simply missed one comma , between arrays in line 11:

... ['@ @','@ @'] , ['$ $','$ $'], ...

But honestly, I don't understand why you need 4 different pairs of delimiters for inline maths in mathJax...

There is another tiny risk in using @ @ : s - if you some day try to use algebra filter at the same time you will notice that algebra filter is using @ @ :s too ... and one of my asciimathml image fallback scripts is using the same delimiters for "forced image fallback to mathtex" ...

### Re: Maths symbols in WIKI

Now it works

New Delimiter '@ d.... @ d' (plz. see attachment)

Why do i use FOUR different pairs delimiters?

-> I used

DragMath- delimiter '$ $......$ $'

MathTran- delimiter '$ $ \ [...........\ ] $ $' somtimes '\ [.....\ ]'

i wanted to use MathJax Completely.

That is why......

(I gave '\ \' before' \'.....somewhere i read in moodle doc but i am not sure)

------------------------------------------------------------

I have one Query

Suppose MathTran & MathJax have same delimiter (e.g. $ $.... $ $)

Which one first render maths symbols?

can we change this preference ?

TIA

Ravi