I set up the code below. The documentation for MathJax is not very complete. Can anyone find out more about how I can modify the code below so that Tex only parses when I specify delimiters like $ \ alpha $. I would like to make it work like on math.stackexchange.
<html> <head> <title>MathJax Dynamic Math Test Page</title> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"],["\\(","\\)"]] } }); </script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"> </script> </head> <body> <script> </script> <textarea id="MathInput" size="50" onkeyup="UpdateMath(this.value)"></textarea> <div id="MathOutput"> You typed: ${}$ </div> </body> </html>
Mark
source share