Math formula ionic

Hello friends,
does anyone know how to write mathematical formulas. I tried with mathjax but does not work.
Thank you

Use UTF-8 Mathematical Operators
And even the mathjax is working fine.

1 Like

Thanks man for the reply!

Can you please explain, how to use MathJax on Ionic 2 in offline mode.

Ionic 1 Steps :
1 . Download the MathJax .
2 . Link the JS and configuration as per your requirement .
Example :

<script type="text/javascript" src="/js/MathJax.js?config=TeX-AMS_HTML-full"></script>
<script type="text/x-mathjax-config">
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
3. Add the Required formula .
Example : 
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}.$$

I have not tried this with Ionic 2 . I will try once in Ionic 2 and reply back again after downloading the latest android build tools .

@nagarjunbn8 Thanks for the reply. Please try with Ionic 2. I am stuck in installing it in Ionic 2.

1 Like

Using CDN it’s only working in the first view (that is your default view) when the app loads, but does not work when you switch the view. Mathjax

Please can anyone help me, I think am missing something.

I’ve the dame question. Can anyone make a video about mathjax installation? Please thanks