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

Displaying LaTeX expression as a plain text in MathJax

From: saf sied <saf_itpro@yahoo.com>
Date: Fri, 2 Jun 2017 03:47:08 +0000 (UTC)
To: "www-math@w3.org" <www-math@w3.org>
Message-ID: <471890479.99025.1496375228169@mail.yahoo.com>
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>
Received on Friday, 2 June 2017 03:51:43 UTC

This archive was generated by hypermail 2.3.1 : Friday, 2 June 2017 03:51:44 UTC