Re: Displaying LaTeX expression as a plain text in MathJax

Answered here. 

 

    On Thursday, June 1, 2017 11:47 PM, saf sied <saf_itpro@yahoo.com> wrote:
 

 Following html page with MathJax javascript displays LaTeX expression as a plain text: (x^2+1).
Question: How can we modify it to display it as a plain text: \(x^2+1\)
Note: You can copy/paste the following content on a notepad and save it as an `.html` file to test what I'm after.
<!DOCTYPE html><html><head><script type="text/javascript" async  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script></head><body>
\(\text{(x^2+1)}\)
</body><html>

   

Received on Friday, 2 June 2017 14:57:29 UTC