# MathJax extension for LaTeX equations

**URL:** <https://talk.commonmark.org/t/mathjax-extension-for-latex-equations/698>\
**Category:** Extensions\
**Created:** [September 24, 2014, 2:59pm UTC](https://talk.commonmark.org/t/mathjax-extension-for-latex-equations/698 "2014-09-24T14:59:38Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Netsaver](https://talk.commonmark.org/letter_avatar_proxy/v2/letter/n/aca169/32.png) [@Netsaver](https://talk.commonmark.org/u/Netsaver)\
**Post date:** [May 15, 2017, 9:19pm UTC](https://talk.commonmark.org/t/mathjax-extension-for-latex-equations/698/17 "2017-05-15T21:19:31Z")

</div>

Generally, I use:

- `${` math `}$` for **inline** equations and
- `$${` math `}$$` for **block** equations

The addition of the { and } delimiters has three advantages:

1. **reduces ambiguities** wrt other inline use of dollars, e.g: _100$ on that site and 150$ on the other_
2. **keeps asimmetry** among opening and closing delimiters, so that it is possible to automatically exclude pending delimiters to avoid errors or to perform massive substitutions with other delimiters
3. it is still **compatible with latex** : indeed opening and closing {} are hidden by latex processors as superfluous symbols (but they are not in the meta language!), so it is back compatible with other solutions.

Anyway, in order to have the point 1 fulfilled, the parser has to be aware of the delimiters including `{}`.  
I would like having this choice available in future CommonMark + Latex implementations.

Thanks and regards,  
Netsaver, Rome (IT)

---

_[View the full topic](https://talk.commonmark.org/t/mathjax-extension-for-latex-equations/698)._
