Hello MathJax

MathJax examples:

This

When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

becomes this:

When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

See the View Samples button in the Features and Benefits area of the MathJax home page for more complex math examples. Right-click a math expression on the page to see its LaTeX code.

In addition, the MathJax Examples page holds a number of links to more complex examples of MathJax.

Math expressions can be sized by placing them in an html div block like this to make a display-type equation:


<div style="font-size: 200%;">
\[
  g\frac{d^2u}{dx^2} + L\sin u = 0
\]
</div>

to make this
\[ g\frac{d^2u}{dx^2} + L\sin u = 0 \]
Math with font-size set to 200%

Math expressions can also be re-sized by LaTeX size commands in MathJax without adding HTML. For example, this is the default size for a MathJax expression.
Normal size:

\[ \left\{\frac{x^2}{y^3}\right\} \]

And, this is the expression set 2 sizes larger using the LaTeX \Large command.
Large size:

\[ \Large{ \begin{equation} \left\{\frac{x^2}{y^3}\right\} \end{equation} } \]

The largest size set with LateX uses the \Huge command.
Huge size:

\[ \Huge{ \left\{\frac{x^2}{y^3}\right\} } \] \[ \left\{\frac{x^2}{y^3}\right\} \]

Read the Getting Started page to learn how to include MathJax math on your HTML pages.

MathJax recreates LaTeX math expressions, not LaTeX text formatting, although, current versions of MathJax allow defining your own LaTex macros and has optional automatic equation numbering and \label and \ref macros. See more MathJax options and extensions on the MathJax TeX and LaTeX Support page.


Paul Kates
Mathematics Faculty CTE Liaison
pkates@uwaterloo.ca, x37047
Last modification date: Fri 17 Jun 2016 06:08:00 PM EDT
Previous modification date: Fri 17 Aug 2012 03:22:44 PM EDT