Beautiful math in all browsers
A JavaScript display engine for mathematics that works in all browsers.
No more setup for readers. It just works.
Features and Benefits
High-quality typography
MathJax™ uses CSS with web fonts or SVG, instead of bitmap images or Flash, so equations scale with surrounding text at all zoom levels.
Modular Input & Output
MathJax is highly modular on input and output. Use MathML, TeX and ASCIImath as input and produce HTML+CSS, SVG and MathML as output.
Accessible & reusable
MathJax is compatible with screenreaders & provides zoom for everyone. You can also copy equations into Office, LaTeX, wikis, and other software.
Samples
Our homepage is configured to use MathJax's CommonHTML mode with web fonts to display the equations, which produces uniform layout and typesetting across browsers. But MathJax can also be configured to use HTML-CSS (for legacy browsers), SVG, and native MathML rendering when available in a browser. You can try the various output modes using the MathJax context Menu (which you access by ctrl+clicking / alt-clicking an equation) or the button below.
Select the rendering mode:
The Quadratic Formula
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]Cauchy's Integral Formula
\[f(a) = \frac{1}{2\pi i} \oint\frac{f(z)}{z-a}dz\]Double angle formula for Cosines
\[ \cos(θ+φ)=\cos(θ)\cos(φ)−\sin(θ)\sin(φ) \]Gauss' Divergence Theorem
\[ \int_D ({\nabla\cdot} F)dV=\int_{\partial D} F\cdot ndS \]Curl of a Vector Field
\[ \vec{\nabla} \times \vec{F} = \left( \frac{\partial F_z}{\partial y} - \frac{\partial F_y}{\partial z} \right) \mathbf{i} + \left( \frac{\partial F_x}{\partial z} - \frac{\partial F_z}{\partial x} \right) \mathbf{j} + \left( \frac{\partial F_y}{\partial x} - \frac{\partial F_x}{\partial y} \right) \mathbf{k} \]Standard Deviation
\[\sigma = \sqrt{ \frac{1}{N} \sum_{i=1}^N (x_i -\mu)^2} \]Definition of Christoffel Symbols
\[(\nabla_X Y)^k = X^i (\nabla_i Y)^k = X^i \left( \frac{\partial Y^k}{\partial x^i} + \Gamma_{im}^k Y^m \right)\] ✖Live Demo
Type text in the box below. Include some math as MathML, wrap TeX in $
or $$
delimiters,
and ASCIImath in `
delimiters (pre-populated jsbin).
Preview is shown here: ✖
Accessibility and reuse.
Accessibility
MathJax provides a powerful set of accessibility extensions that provide navigation, exploration, and voicing on the client.
You can find more information in our introductory video on YouTube. and our documentation.
Reuse
Using the MathJax context menu, you can access the source of any mathematical expression either in MathML format, or in TeX if its source format was TeX.
To access the MathJax menu, right-click on a math formula (if you are using Windows), or Control-click it (if you are using a Mac) or touble-tap and hold on a touch device. In the sub-menu Show Math as
you can choose between MathML Code
and TeX commands
to get a pop-up that allows you to copy the math source into another application. Try it out on the equation below!
You can also watch our screencast on YouTube of a MathJax equation being copied and pasted into a variety of applications below. Note that this screencast is based on MathJax v1.1 so the menu structure is a little different.
✖Documentation
Getting Started
Whether you're a casual user, a serious author or a professional developer, it's easy to integrate MathJax.
A rich API
Use our extensive APIs to create interactive content, advanced authoring tools, and math-enabled web and mobile apps.
Works everywhere
MathJax generates high-quality output on all browsers & platforms - even on IE 6 (if you have to).
Bugs, Issues, Code
We host our code, docs, and this site on GitHub. Please report issues & submit patches!
General Support
You can ask general questions on the MathJax-Users mailing list where the entire community will chime in.
Simple integration
Integrating MathJax is easy and many community tools make it even easier.
If you are using a CMS, there's probably a plugin to add MathJax to your site already, e.g., for Wordpress or Drupal.
If you are using specialized authoring tools they might integrate MathJax out of the box or have plugins, e.g., for LaTeX, Markdown, or even epub.
If you roll your own HTML (directly or via a template/theme engine), you can jump start with a CDN, e.g., by adding this snippet to your page:
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML'></script>
Here's a pre-populated example on jsbin you can re-use.
Note: the configuration file TeX-MML-AM_CHTML
is a great way test all input options at once. You can find leaner combined configuration packages in our documentation.
If you are a developer who wants to integrate MathJax you can download a copy or fetch it from npm or Packagist. and configure MathJax yourself. If you prefer to render server-side, you can check out mathjax-node.
Jump to our docs ✖A rich set of APIs
Our extensive APIs allow developers to create everything from interactive content, to advanced authoring tools, to math-enabled web and mobile apps.
To get started, check out how to modify math, or write your own extension, or render on the server using NodeJS. To dive deeper, start with the landing page in
our API documentation ✖Browser support
MathJax generates identical, high-quality output on all browsers & platforms. Our newer output formats have minimal restrictions on browser support:
- The HTML-CSS Output supports even IE 6+ (as well as Firefox 3+, Safari 2+, Chrome 1+).
- The CommonHTML Output supports IE 8+ etc.
- The SVG Output supports IE 9+ etc.
You can find additional details in our documentation
✖Sponsors
We are supported by the MathJax Sponsorship Program and individual donations via Pledgie.
The MathJax Sponsorship Program
The MathJax project was initiated in 2009 by Design Science, the American Mathematical Society (AMS) and the Society for Industrial and Applied Mathematics (SIAM) with the goal of creating a robust, easy-to-use, and universal solution for displaying high-quality mathematics online. From the beginning, MathJax was conceived as open-source software, on the principle that math display should be part of the common infrastructure of the web.
Providing a universal solution for online math display requires a long-term commitment. Our users need MathJax to be reliable and easy to use, now and in the future. This requires a continuous and coordinated rapid response to browser updates and bugs, keeping up with the proliferation of tablets, smartphones, and ebook readers, and a consistent approach towards new functionality and performance improvements. All of this is important to the community, and requires dedicated time, effort and money.
Our founding sponsors have been very generous in providing funding. However, as more and more individuals and organizations are using MathJax and its benefit to the community is growing, its base of support grew via the Sponsorship Program. To ensure the long-term stability of MathJax, we continuously reach out to the community and ask organizations to contribute to the MathJax project by becoming a Friend, Supporter, or Partner. All MathJax sponsors share a demonstrated and significant interest in the dissemination of mathematics on the web, in particular through the MathJax project and its activities.
Please feel free to contact us for any further information about the sponsorship program.
MathJax Friends
By becoming a MathJax Friend, organizations show the community that they support the goal of easy-to-use, high-quality mathematics display on the web for everyone, and are contributing in a very concrete way to help MathJax realize that goal. MathJax Friends will be listed on the MathJax Sponsors page.
Summary of Benefits:
- A name (with link) on the MathJax Sponsors page.
- Use of the term “MathJax Friend” in corporate communications.
Annual contribution:
$500+
MathJax Supporters
MathJax Supporters make an important contribution to the project and demonstrate their commitment to a durable math display solution for the web. Upon joining, Supporters receive exposure on the MathJax website, Facebook page and Twitter feed. This will alert their users to their interest in using the best math display technology to enhance their online viewing experience, and displays their support for a project benefitting the entire math, science, and education community.
Supporters also receive informative quarterly reports giving insight into project timelines, development plans, and upcoming activities. These reports enable to better plan their use of MathJax to take full advantage of MathJax resources to benefit their users.
Summary of Benefits (in addition to Friend benefits):
- Quarterly reports summarizing timelines, development plans and upcoming project activities.
- Prominent, exclusive announcement in the News section on the MathJax homepage, a Twitter post and Facebook update upon joining.
- A small logo (with link) on the MathJax Sponsors page.
- Use of the term “MathJax Supporter” and MathJax Supporter Badge in corporate communications.
Annual contribution:
$5,000+ (for-profit) / 3,000+ (not-for-profit)
MathJax Partners
MathJax Partners are a driving force behind the project. They are discussion partners in determining the long-term direction of the project, and through exclusive benefits, we seek to ensure that Partners can offer their readers the highest quality math display and user experience.
Partners receive priority support and consideration for enhancements through a dedicated technical contact. This technical contact will work to ensure that issues receive prompt attention and receive a timely resolution. The contact will also meet with Partners to understand their requirements, serve as a liaison to the technical team, and work with Partners to be sure their requirements are being addressed to the extent possible within resource and technology constraints.
Summary of Benefits (in addition to Supporter benefits):
- Quarterly reports on the financial condition and budget forecasts for the project.
- A dedicated technical contact to develop a personalized technical relationship, who will:
- Coordinate priority response to technical issues and feature requests;
- Work with Partners to understand and advise about technical requirements;
- Organize one-on-one meetings, technical webinars and Q and A sessions with technical staff as needed.
- A press release (optionally joint) upon joining.
- A large logo (with link) and paragraph on the MathJax Sponsors page.
- Use of the term “MathJax Partner” and MathJax Partner Badge in corporate communications.
Annual contribution:
$20,000+
For individuals and organization who would like to support MathJax, but aren’t able to become an official sponsor at this time, individual donations are also possible in any amount via the Donate button on the mathjax.org web site.
✖Managing Partners
The American Mathematical Society
The AMS, founded in 1888 to further the interests of mathematical research and scholarship, serves the national and international community through its publications, meetings, advocacy and other programs, which promote mathematical research, its communication and uses, encourage and promote the transmission of mathematical understanding and skills, support mathematical education at all levels, advance the status of the profession of mathematics, encouraging and facilitating full participation of all individuals, foster an awareness and appreciation of mathematics and its connections to other disciplines and everyday life. For more information, please visit www.ams.org. ✖The Society for Industrial and Applied Mathematics
SIAM is an international community of over 13,000 individual members. Almost 500 academic, manufacturing, research and development, service and consulting organizations, government, and military organizations worldwide are institutional members. SIAM fosters the development of applied mathematical and computational methodologies needed in these various application areas. Applied mathematics in partnership with computational science is essential in solving many real-world problems. Through publications, research, and community, the mission of SIAM is to build cooperation between mathematics and the worlds of science and technology. For more information, please visit www.siam.org. ✖Partners
Stack Overflow
Stack Overflow is the preeminent site for programmers to find, ask, and answer questions about software development. Founded in 2008, co-founders Jeff Atwood and Joel Spolsky brought together millions of computer programmers from around the world to help each other with detailed technical questions. Based on Stack Overflow’s success, the company expanded and launched the Stack Exchange Network in August 2010. Stack Exchange currently consists of over 100 sites and and more than 3 million active users. For more information, please visit www.stackoverflow.com/about. ✖IEEE
The Institute of Electrical and Electronics Engineers (IEEE) is the world’s largest professional association dedicated to advancing technological innovation and excellence for the benefit of humanity. IEEE and its members inspire a global community through IEEE’s highly cited publications, conferences, technology standards, and professional and educational activities. IEEE is designed to serve professionals involved in all aspects of the electrical, electronic and computing fields and related areas of science and technology that underlie modern civilization. Its 38 Societies and 7 technical Councils represent the wide range of IEEE technical interests. The IEEE Xplore Digital Library hosts more than 3 million documents, with more than 8 million downloads each month. For more information, please visit www.ieee.org. ✖Elsevier
Headquartered in Amsterdam, Elsevier serves more than 30 million scientists, students and health and information professionals worldwide. With more than 7,000 employees in 24 countries Elsevier partners with a global community of 7,000 journal editors, 70,000 editorial board members, 300,000 reviewers and 600,000 authors to help advance science and health by providing world-class information and innovative tools. Elsevier is a founding publisher of global programs that provide free or low-cost access to science and health information in the developing world. With its roots in journal and book publishing, Elsevier has fostered the peer-review process for more than 130 years.For more information, please visit www.elsevier.com. ✖
Supporters
Friends
About us
The MathJax Consortium is a joint venture of the American Mathematical Society (AMS) and the Society for Industrial and Applied Mathematics (SIAM) to advance mathematical and scientific content on the web.
Core Goals
The core of the MathJax project is the development of its state-of-the-art, open source, JavaScript platform for display of mathematics. Our key design goals are
- high-quality display of mathematics notation in all browsers
- no special browser setup required
- support for LaTeX, MathML and other equation markup directly in the HTML source.
- an extensible, modular design with a rich API for easy integration into web applications.
- support for accessibility, copy and paste and other rich functionality
- interoperability with other applications and math-aware search.
Advisory Committees
The MathJax Steering Committee and the MathJax Technical Committee meet regularly to advise the MathJax team on its development goals and priorities. We’re grateful for the support of our committee members!
MathJax Steering Committee
- David Fullerton, Stack Overflow
- Ken Rawson, IEEE
- Paul Mostert, Elsevier
- Ted Kull, SIAM
- Robert Harington, AMS
MathJax Technical Committee
- Omar Al-Ithawi, Edraak
- David Carlisle, NAG Ltd
- Paul Dlug, APS
- Jason Grout, Bloomberg
- Jean Kaplansky, McGraw Hill Higher Education
- Martin Lessmeister, arXiv.org
- Christopher Maloney, NIH
- Marko Obrovac, Wikimedia Foundation
- Matias Piipari, ManuscriptApp
- Phil Schatz, OpenStax CNX
- Neil Soiffer, Independent Consultant
- Alfred Wassermann, Universität Bayreuth
- Ed Woodward, OpenStax CNX
- Peter Krautzberger, krautzource
History
MathJax grew out of the popular jsMath project, an earlier Ajax-based math rendering system developed by Davide Cervone in 2004. In the following years, there were many significant developments relevant for web publication of mathematics: consolidation of browser support for CSS 2.1, Web Font technology, adoption of math accessibility standards, and increasing usage of XML workflows for scientific publication.
In 2009, AMS, Design Science, and SIAM formed the MathJax Consortium to enable Cervone and others to design MathJax from the ground up as a next-generation platform, while still benefiting from the extensive real-world experience gained from jsMath. Since its initial release in 2010, MathJax has become the gold standard for mathematics on the web.
The MathJax Team
The MathJax team is Davide Cervone and Volker Sorge with support by the staff at AMS and SIAM. Regular contributors include Christian Lawson-Perfect and Peter Krautzberger.