---
title: "Comment by Sebastiano Ferraris on \"MathJax: Crafting Elegant Mathematical Formulas for Web Browsers\" | Hashnode"
description: "Thanks, nice article! Only detail, the inline maths formula must have the double backslash before the parenthesis: Please note: To use newline in an expression,"
url: "https://hashnode.com/posts/math-tex/611ff68fe404793819ca8082/comment/62e6745d053e6bd578426a7e"
---

[Discussion](https://hashnode.com/posts/math-tex/611ff68fe404793819ca8082)

Comment [MathJax: Crafting Elegant Mathematical Formulas for Web Browsers](https://hashnode.com/posts/math-tex/611ff68fe404793819ca8082)

[Sebastiano Ferraris](https://hashnode.com/@SebastianoF)

[Jul 31, 2022](https://hashnode.com/posts/math-tex/611ff68fe404793819ca8082/comment/62e6745d053e6bd578426a7e)

Thanks, nice article!

Only detail, the inline maths formula must have the double backslash before the parenthesis:

```
Please note: To use newline in an expression, you will have to use (\\) instead of the standard latex command (\).

You can render *LaTeX* mathematical expressions using MathJax. Wrap your inline expression in \\( and \\) Ex. \\( YOUR_EXPRESSION_HERE \\).

To use it as a separate block, wrap your expression in $$ or \\[ and \\]
Ex.

$$  
YOUR_EXPRESSION_HERE  
$$
--OR--
\\[
YOUR_EXPRESSION_HERE  
\\]
```

[Otavio Macedo](https://hashnode.com/@otaviomacedo)

[Jul 4, 2025](https://hashnode.com/posts/math-tex/611ff68fe404793819ca8082/comment/62e6745d053e6bd578426a7e#reply-6867f72082dd3f9ffb4c21d2)

Thanks! I've spent more than an hour trying to figure out how to do inline formulas!
