# How to write using math notation in jupyter

Hi everyone, I would like to write into a markdown cell using math notation; specifically I would like to write NSpam or NHam using math notation so that it can be prettier and more correct for who reads.
Do you know how to do it?

Thank you

You will have to use LaTeX/MathJax for that.

It can have a bit of a steep learning curve, but for basic stuff, it shouldn’t be too difficult. You can look up cheatsheets for MathJax/LaTeX to find relevant syntax.

N_{Spam} is written as $N_{Spam}$, for example.

2 Likes

Oh…ok…looks like kind of hard. I think I’ll just copy and paste