(Answer) (Category) LON-CAPA User Help : (Category) Authoring :
<m > tag?
Wrapping TeX with <m > </m > will put the TeX through the TTH (tex to html) converter. If you want variables inside of this tag to be evaluated before the tex gets converted, then use <m eval="on" >
<m eval="on">\[$eqn\]</m >, will evaluate the variable $eqn first and then run it through the TTH converter.
The following will get rid of +- and convert it to - inside of equations:
<script >
...
$eq = "$a + $b"; $eq = ~s/\+-/-/s; </script >
In text area:
<m eval="on" >$eq</m >
[Append to This Answer]
Previous: (Answer) What's better, HTML formatting or TeX formatting?
Next: (Answer) samba help, (I mapped my LON-CAPA server on my windows machine)?
This document is: http://help.loncapa.org/cgi-bin/fom?file=114
[Search] [Appearance] [Show This Answer As Text]
This is a Faq-O-Matic 2.719.
This FAQ administered by the LON-CAPA team at MSU. Submit a help request ticket to contact us.