How to display mathematical equations in Jupyter Notebook

Did you know that Jupyter Notebook has built-in LaTeX support? I didn’t.

When you change the format of a cell to “Markdown,” you can write not only in the markdown syntax, which is obvious ;) but you can also include LaTeX code to generate formulas:

1
2
3
\begin{align*}
(a+b)^2 = a^2+2ab+b^2
\end{align*}

After pressing ENTER, this gets automatically converted to:

Awesome! ;)


Remember to share on social media!
If you like this text, please share it on Facebook/Twitter/LinkedIn/Reddit or other social media.

If you want to contact me, send me a message on LinkedIn or Twitter.

Would you like to have a call and talk? Please schedule a meeting using this link.


Bartosz Mikulski
Bartosz Mikulski * data/machine learning engineer * conference speaker * co-founder of Software Craft Poznan & Poznan Scala User Group

Subscribe to the newsletter and get access to my free email course on building trustworthy data pipelines.

Do you want to work with me at riskmethods?

REMOTE position (available in Poland or Germany)