W3C home > Mailing lists > Public > www-math@w3.org > June 2017

Re: Displaying LaTeX expression as a plain text in MathJax

From: saf sied <saf_itpro@yahoo.com>
Date: Fri, 2 Jun 2017 14:52:50 +0000 (UTC)
To: "www-math@w3.org" <www-math@w3.org>
Message-ID: <1843109022.460385.1496415170621@mail.yahoo.com>
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

This archive was generated by hypermail 2.3.1 : Friday, 2 June 2017 14:57:30 UTC