Hello there Albert,
I was having the same problem. In fact I couldn't get any "LaTeX" \
functions to work. But then I noticed in another thread that you have
to proceed any latex function with an extra \. So if you want to
produce and omega then use...
function(){return ' \\( \\omega \\)' ;}
or
function(){return '\\[ F= \\frac{5x}{\\theta}\\]' ;}
which solved my problem.
Regards,
Kevin