Personal tools
You are here: Home CSE Student Resources Documentation jsMath examples

jsMath examples

LaTeX in Plone via jsMath

jsMath provides the ability to use LaTeX for math equations in Plone. While it does not provide full LaTeX it does provide a subset of math symbols and allows for positioning of equations.

All equations must be surrounded by

"\("  at the beginning and "\)"

A list of TeX Symbols supported by jsMath can be found here http://www.math.union.edu/~dpvc/jsMath/symbols/

 

Below are shown what must be entered in the editor page along with what it will look like when rendered.

  1. \(\sqrt{\frac{x^2}{x+1}-2}\)
    \(\sqrt{\frac{x^2}{x+1}-2}\)
  2. \(\sum_{i=1}^n i = {n(n+1)\over 2}\) 
    \(\sum_{i=1}^n i = {n(n+1)\over 2}\)
  3. Here is some inline math \(\int {1\over f}\,dx\)
    Here is some inline math \(\int {1\over f}\,dx\)
  4. \(\begin{align}(a+b)^3 &= (a+b)^2(a+b)\\&=(a^2+2ab+b^2)(a+b)\\&=(a^3+2a^2b+ab^2) +(a^2b+2ab^2+b^3)\\&=a^3+3a^2b+3ab^2+b^3\end{align}\)
    \(\begin{align}(a+b)^3 &=
    (a+b)^2(a+b)\\&=(a^2+2ab+b^2)(a+b)\\&=(a^3+2a^2b+ab^2)
    +(a^2b+2ab^2+b^3)\\&=a^3+3a^2b+3ab^2+b^3\end{align}\)
  5. \(\int^1_\kappa\left[\bigl(1-w^2\bigr)\bigl(\kappa^2-w^2\bigr)\right]^{-1/2} dw= \frac{4}{\left(1+\sqrt{\kappa}\,\right)^2} K\left(\left(\frac{1-\sqrt{\kappa}}{1+\sqrt{\kappa}}\right)^{\!\!2}\right)\)
    \(\int^1_\kappa\left[\bigl(1-w^2\bigr)\bigl(\kappa^2-w^2\bigr)\right]^{-1/2}
    dw= \frac{4}{\left(1+\sqrt{\kappa}\,\right)^2}
    K\left(\left(\frac{1-\sqrt{\kappa}}{1+\sqrt{\kappa}}\right)^{\!\!2}\right)\)
  6. \(\{ E=mc^{2}\} \)
    \(\{ E=mc^{2}\} \)

 

 $$\sqrt{\frac{x+1}{x-1}}$$

 

Document Actions