You are here: Foswiki>Main Web>MathJax (17 Mar 2018, RobertoBernetti)Edit Attach

MathJax

Beautiful math in all browsers A JavaScript display engine for mathematics that works in all browsers. No more setup for readers. It just works.

The web site is at the following address

https://www.mathjax.org/

It is necessary, in the simplest case, to add the following snipset of code to the wiki page

<script type="text/javascript"  
     src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'>
</script>

the below code will results in the following display
in line delimiter for display mathematics  \(ax^2 + bx + c = 0\) and to diplay maths $$ \int_{\beta}^{\gamma} \alpha(x) \mathrm{d} x $$
in line delimiter for display mathematics \(ax^2 + bx + c = 0\) and to diplay maths $$ \int_{\beta}^{\gamma} \alpha(x) \mathrm{d} x $$

$$ \left( \begin{array}{c} p_x \\ p_y \end{array} \right) = \left( \begin{array}{cc} \sigma_x & \tau_{xy} \\ \tau_{xy} & \sigma \end{array} \right) \cdot \left( \begin{array}{c} cos(\theta) \\ sin(\theta) \end{array} \right)$$

-- RobertoBernetti - 19 Oct 2015
Topic revision: r4 - 17 Mar 2018, RobertoBernetti
This site is powered by FoswikiCreative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License1999-2025
Ideas, requests, problems regarding this site? Send feedback