LaTex not working in middle of question

LaTex not working in middle of question

by J K -
Number of replies: 1

I am having an issue with LaTex code not working, especially in the middle of the question, such as below


is fine, 

However, consequently,

\[ f_{Y}Yes = \int_{{g}}^{{h}} f(x,y) \mathrm{d} x \] does not display anything

Further, the code P(X < \( {@apx1_@} \)) is displayed as  instead of P(X < \( {1.4} \)), with the extra \( { and \})

Further fYYes     is displayed as fY(thumbs up sign)

Thanks in advance

Average of ratings: -
In reply to J K

Re: LaTex not working in middle of question

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
In Moodle, the various text filters that process content before it is displayed run in a certain order. This can be controlled at Admin -> Plugins -> Filters -> Mange filters. It is important to get these in the right order. E.g. it looks like it is set to run 'Replace emoticons' before 'Maths' which is a bad order.

Also, the list of emoticons is configurable in another admin screen '(', 'y', ')' -> thumbs up, is not good for maths, so perhaps get rid of it.
Average of ratings: Useful (3)