Many thanks for coming to help. I am using tex filter. Where will I find custom css file to which to add the above code. Kindly let me know.
In your moodle folder /theme/"nameofyourtheme"/style/
Editor.css is used only for editor content area, usually moodle 2 themes have there files like core.css ... and you may need to purge all caches from Site administration > Development > Purge all caches to make moodle use new css.
I am using Standard theme of Moodle and I have checked the core.css. It does contain the .texrender line. Do I have to insert the above lines in other css files under style folder for standard theme? Nevertheless, I purged all cache. However, still I get a lot number of blank rows before any equation. Sorry bothering.
Then it's caused by something else - no need to add that css.
What preview window is it? Quiz/some question type/some activity?
Do you have any custom plugins ( 3rd party blocks etc ) installed? Sometimes different 3rd party activities use the same css classes for different things...
I have installed moodle on Fedora 17. I do not know if the problem of equation display right at the bottom relates to some other file not directly connected with moodle.
On CentOS 6 the same thing is working well.
Is there any other easier way to install some other equation editor if not dragmath? I will be grateful for response.
Finally I downloaded MPlugA, installed it as given in here. And then, wrote additional html as given here and here (a mix as $$ delimiter is absent under Advanced Math tool script.). Incidentally so far as filters are concerned, Tex and Algbera are disabled. So are GeoGebra and JSXGraph. Math, MAthML and Mathtran are off but available (Maybe I can disable them also). I am not using TinyMath. Except probably now I am displaying using MathJaX and instead of linking to an external site by downloading MPlugA, I have installed the necessary scripts on my machine.
Thanks for your great package.