# MathJax for LaTeX equations

**URL:** <https://discourse.julialang.org/t/mathjax-for-latex-equations/212>\
**Category:** Meta Discussion\
**Tags:** proposal\
**Created:** [November 9, 2016, 11:03am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212 "2016-11-09T11:03:24Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![johansigfrids](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johansigfrids/32/3590_2.png) [@johansigfrids](https://discourse.julialang.org/u/johansigfrids)\
**Post date:** [November 9, 2016, 11:03am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/1 "2016-11-09T11:03:24Z")

</div>

Would it be possible to add MathJax to Discourse? It would be nice to be able to write good looking LaTeX equations.

---

<div class="post-metadata">

**Author:** ![vchuravy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vchuravy/32/8_2.png) [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Post date:** [November 9, 2016, 11:04am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/2 "2016-11-09T11:04:56Z")

</div>

There is a plugin that allows for MathJax, but it is currently not supported on this version of discourse.

I would like to see support for it too, but as of right now it is not possible.

---

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [November 9, 2016, 3:07pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/3 "2016-11-09T15:07:47Z")

</div>

[This recent post](https://meta.discourse.org/t/mathjax-plugin-supports-math-notation-using-latex/12826/82) on the meta-discourse forum suggests that a recent commit may fix the problem.

---

<div class="post-metadata">

**Author:** ![vchuravy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vchuravy/32/8_2.png) [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Post date:** [November 9, 2016, 3:10pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/4 "2016-11-09T15:10:07Z")

</div>

Thanks for pointing that out. One of the issues is that we have a hosted instance provided by `discourse` and they currently don’t support that plugin. I raised the issue with them and hopefully we will get it enabled eventually.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [November 9, 2016, 4:11pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/5 "2016-11-09T16:11:31Z")

</div>

Their response indicated that there wasn’t much demand for supporting this plugin, so maybe if we can think of other projects using hosted Discourse that might be interested, we can make a “petition” together with those other projects.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [November 9, 2016, 4:34pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/6 "2016-11-09T16:34:16Z")

</div>

To that end, if anyone knows of projects using Discourse that would want MathJax support, post them here!

---

<div class="post-metadata">

**Author:** ![pitao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pitao/32/116_2.png) [@pitao](https://discourse.julialang.org/u/pitao)\
**Post date:** [November 9, 2016, 6:30pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/7 "2016-11-09T18:30:52Z")

</div>

Nobody seems to have linked to the plug-in: [GitHub - kasperpeulen/discourse-mathjax: Mathjax plugin for discourse](https://github.com/kasperpeulen/discourse-mathjax)

@StefanKarpinski, If you have just asked them “Are you supporting this?” and they said “Nobody seems to really want it” then surely the next logical line of dialogue is “Julia is moving to Discourse and (as Julia is a tech for mathmos) we would _ **love** _ it!” – that may qualify as sufficient demand in and of itself, coming from one of the founders of a key emerging technology.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [November 9, 2016, 6:32pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/8 "2016-11-09T18:32:05Z")

</div>

We already expressed that we want it – I think that doesn’t count as enough demand.

---

<div class="post-metadata">

**Author:** ![bicycle1885](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bicycle1885/32/107_2.png) [@bicycle1885](https://discourse.julialang.org/u/bicycle1885)\
**Post date:** [November 10, 2016, 12:55am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/9 "2016-11-10T00:55:02Z")

</div>

KaTeX may be a better alternative though. [Redirecting…](https://khan.github.io/KaTeX/)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [November 10, 2016, 10:37am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/10 "2016-11-10T10:37:08Z")

</div>

> [@bicycle1885](#):
>
> KaTeX may be a better alternative though. [Redirecting…](https://khan.github.io/KaTeX/)

For reference, Gitter uses KaTeX and it works very well.

---

<div class="post-metadata">

**Author:** ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Post date:** [February 15, 2017, 8:24am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/11 "2017-02-15T08:24:19Z")

</div>

@StefanKarpinski, I know [Pixl.Us](http://Pixl.Us) wants it:

> **[discuss.pixls.us](https://discuss.pixls.us)**
>
> Discussion forum for PIXLS.US

---

<div class="post-metadata">

**Author:** ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Post date:** [February 19, 2017, 9:39am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/12 "2017-02-19T09:39:11Z")

</div>

Also, the CVX Forum has it as well:

> **[CVX Forum: a community-driven support forum](https://ask.cvxr.com/)**
>
> Software for disciplined convex programming

Though I’m not sure about the version.

---

<div class="post-metadata">

**Author:** ![AdamR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamr/32/5109_2.png) [@AdamR](https://discourse.julialang.org/u/AdamR)\
**Post date:** [July 31, 2021, 2:49pm UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/13 "2021-07-31T14:49:40Z")

</div>

We also want it for the Stan forum: [MathJax on Discourse - General - The Stan Forums](https://discourse.mc-stan.org/t/mathjax-on-discourse/679) . Stan is a leading implementation of the Hamiltonian sampler for Bayesian models.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [August 1, 2021, 9:04am UTC](https://discourse.julialang.org/t/mathjax-for-latex-equations/212/14 "2021-08-01T09:04:25Z")

</div>

It is my impression that we have had this for ages now, as display

e^{i\pi} + 1 = 0

and inline a^2 + b^2 = c^2.
