Skip to main content

Jupyter to write nice equations




I have already mentioned jupyter notebook as a great way to program in python (this is what I use for making the code on this blog, and making this I re-discovered jupyter, as I was using sublime text 3 as editor, finding it very very useful and handy).

Now, you can use jupyter not only for your code, but also for markdown... but I want to talk of this in particular... ho to write equations with markdown (it came to my mind doing the last post about equations)...

So I want to let you see a little example that may want you to use it to display equations.


This is what you write in the cell of jupyter in markdown mode:

\begin{equation*}
1 + \frac{q^2}{1-q}+\frac{q^6}{(1-q^2)}
\end{equation*}

After this hit ctrl + enter and you'll get this pretty noce formula:




You have to deal with all those curly brakets and tag but I think it's a pretty nice way to show equations in jupyter. In case you want to know more go to http://jupyter-notebook.readthedocs.io/en/latest/examples/Notebook/Typesetting%20Equations.html

Comments