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 15:50:13 +0000 (UTC)
To: "www-math@w3.org" <www-math@w3.org>
Message-ID: <1643208939.510313.1496418613094@mail.yahoo.com>
I noticed that www-math@w3.org did not copy the link in my previous response. So, I'm hardcoding the link here. Questions was answered here: https://stackoverflow.com/a/44323342/1232087 Thanks.

 

    On Friday, June 2, 2017 10:52 AM, saf sied <saf_itpro@yahoo.com> wrote:
 

 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 15:54:48 UTC

This archive was generated by hypermail 2.3.1 : Friday, 2 June 2017 15:54:49 UTC