# Math formula ionic

**URL:** <https://forum.ionicframework.com/t/math-formula-ionic/52245>\
**Category:** ionic-v1\
**Created:** [May 17, 2016, 10:25am UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245 "2016-05-17T10:25:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ervis](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ervis/32/100541_2.png) [@Ervis](https://forum.ionicframework.com/u/Ervis)\
**Post date:** [May 17, 2016, 10:25am UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/1 "2016-05-17T10:25:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nagarjunbn8](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@nagarjunbn8](https://forum.ionicframework.com/u/nagarjunbn8)\
**Post date:** [May 17, 2016, 12:04pm UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/2 "2016-05-17T12:04:28Z")

</div>

Hi,  
Use UTF-8 Mathematical Operators  
[http://www.w3schools.com/charsets/ref\_utf\_math.asp](http://www.w3schools.com/charsets/ref_utf_math.asp)  
And even the mathjax is working fine.

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/f/8/f80a758e14f86c3b37324014d3d93d6afc8d7bab.png)

---

<div class="post-metadata">

**Author:** ![Ervis](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ervis/32/100541_2.png) [@Ervis](https://forum.ionicframework.com/u/Ervis)\
**Post date:** [May 18, 2016, 3:52pm UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/3 "2016-05-18T15:52:04Z")

</div>

Thanks man for the reply!

---

<div class="post-metadata">

**Author:** ![bshikhar13](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bshikhar13](https://forum.ionicframework.com/u/bshikhar13)\
**Post date:** [December 11, 2016, 12:08pm UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/4 "2016-12-11T12:08:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nagarjunbn8](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@nagarjunbn8](https://forum.ionicframework.com/u/nagarjunbn8)\
**Post date:** [December 12, 2016, 2:49pm UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/5 "2016-12-12T14:49:46Z")

</div>

Ionic 1 Steps :  
1 .[http://docs.mathjax.org/en/latest/installation.html](http://docs.mathjax.org/en/latest/installation.html) 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">
> MathJax.Hub.Config({
> tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
> });
> </script>
> 
> ```

```
3. Add the Required formula .
Example : 

```

> ```
> <p>
> 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}.$$
> </p>
> 
> ```

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 .

---

<div class="post-metadata">

**Author:** ![bshikhar13](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@bshikhar13](https://forum.ionicframework.com/u/bshikhar13)\
**Post date:** [December 12, 2016, 5:04pm UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/6 "2016-12-12T17:04:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bhekor](https://avatars.discourse-cdn.com/v4/letter/b/87869e/32.png) [@Bhekor](https://forum.ionicframework.com/u/Bhekor)\
**Post date:** [December 30, 2016, 8:50am UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/7 "2016-12-30T08:50:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![luiss1992](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luiss1992/32/129541_2.png) [@luiss1992](https://forum.ionicframework.com/u/luiss1992)\
**Post date:** [December 1, 2019, 6:55pm UTC](https://forum.ionicframework.com/t/math-formula-ionic/52245/8 "2019-12-01T18:55:32Z")

</div>

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