---
title: "Discussion on \"MathJax: Crafting Elegant Mathematical Formulas for Web Browsers\" | Hashnode"
description: "Discussion on \"MathJax: Crafting Elegant Mathematical Formulas for Web Browsers\". How to type mathematical formulas using MathJax"
url: "https://hashnode.com/posts/math-tex/611ff68fe404793819ca8082"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [MathJax: Crafting Elegant Mathematical Formulas for Web Browsers](https://datailm.hashnode.dev/math-tex?utm_source=hashnode&utm_medium=feed)

How to type mathematical formulas using MathJax

Aug 20, 2021 · 2 min read · datailm.hashnode.dev  
Updated Sep 26, 2023  
Read the article

-   [#mathematics](https://hashnode.com/tag/mathematics)
-   [#blogging](https://hashnode.com/tag/blogging)

## Written by

[K Ahamed](https://hashnode.com/@datailm)

@datailm · Chennai, TN

  
[View profile](https://hashnode.com/@datailm)

Mechanical Engineer turned Data Science Explorer

A skilled construction professional specializing in MEP projects. Armed with a Master's degree in Data Science, seamlessly combines hands-on expertise in construction with a passion for Python, NLP, Deep Learning, and Data Visualization. While currently at a basic level, dedicated to enhancing data skills, envisioning a future where insights derived from data reshape the landscape of construction practices. With a forward-thinking mindset, building structures but also shaping the future at the intersection of construction and data.

## Responses 1

Markdown supported · ⌘↵ to post

[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!
