-
-
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?
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.