Skip to content

LFAQ less frequently asked questions

pkra edited this page May 28, 2012 · 24 revisions

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.

WARNING Use at your own risk!

Some (but not all) solutions below involve hacks and use undocumented features of MathJax. We give no guarantee that such hacks will work in future versions of MathJax. If you're uncertain about this, ask us on the User Group.

Contents

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.

Clone this wiki locally