-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
LFAQ less frequently asked questions
The MathJax FAQ answers many basic questions about MathJax.
The MathJax User Group is the right place to ask further questions.
On this page we collect some of useful threads from the Mathjax User Group.
Contents
- Can I use MathJax with my Javascript program?
- Can I access the MathML code generated from a formula in a programmatic way through javascript?
- I modified/created a formula using Javascript but it is not displayed correctly by MathJax. Why?
- How can I configure a local fallback for the CDN?
- Are there any fundamental differences between MathJax TeX input and TeX/LaTeX?
- How do I show MathJax menu on double-click?
- How do I re-size text when the browser falls back to image fonts?
- Can I embed equations in SVG and have them rendered by MathJax?
- Can MathJax use [enter your favorite font] to render mathematics?
- How do I print a page after MathJax rendering is complete?
- How can I work around the Firefox printing bug?
- Why doesn't a TeX command like
\. {a}
work in MathJax? How do I enter international symbols? - Can I get mouse clicks from rendered MathJax?
- How can I disable MathZoom.js and MathMenu.js?
- Why is MathJax waiting 15 seconds before rendering my site?
Yes, but MathJax performs much of its activity asynchronously so be sure to synchronize your code with MathJax. See also these examples
Yes, see this thread for an example, but again keep in mind that MathJax performs much its activity asynchronoulsy.
MathJax processes the formulas when the page is loaded but you must ask MathJax to reprocess the formulas that are modified/created later. See Modifying Math on the Page See also these examples
You might want to read this thread
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script> <script>window.MathJax || document.write('<script type="text/x-mathjax-config">MathJax.Hub.Config({"HTML-CSS":{imageFont:null }});<\/script> <script src="<<PATH_TO_YOUR_LOCAL_MATHJAX>>MathJax.js?config=TeX-AMS_HTML-full"><\/ script>')</script>
There aren't many, but here's one discussion .
Examples:
-
\sqrt\frac{3}{4}
doesn't work. Enclosing the argument in curly braces works\sqrt{\frac{3}{4}}
-
\hat \mathbf u
works in article, not in amsart (or MathJax) --\hat{\mathbf u}
works in amsart and MathJax.
Here's a thread discussing it and here's code that might help you get started.
See this thread but note that there are very few reasons why your browser might fall back to image fonts for rendering -- be sure to check the FAQ
See this thread for an example that works in Firefox, Safari and Chrome.
MathJax currently only supports STIX and our own webfonts (which are based on TeX Computer Modern and AMS fonts). For the technical reasons, see this thread. For unsupported hacks, see this thread, and even more information at this tread.
From this thread you get
<script type="text/x-mathjax-config"> MathJax.Hub.Queue( ["Remove",MathJax.Message], print ); </script>
You should probably switch to SVG rendering on your print-page (see the discussion on the thread).
See this thread.
MathJax only strives to implement math-mode macros of TeX, not text-mode. But see this thread for more information
See `this thread <https://groups.google.com/d/msg/mathjax-users/-8FaQfp5Dz8/VX83KTSu-1kJ>'_ for further reading material.
See this thread -- but this won't improve rendering speed.
MathJax waits 15 seconds for resources to load. Often this is caused by an error in custom configurations, see this thread.