1 | initial version |
In the Ipython notebook (now called Jupyter notebook), simply type
%display latex
grad
Note the % in front of display. After this command, all outputs will be displayed using LaTeX (MathJax rendering) (there is no need to type %display latex in subsequent cells). Note also that you don't need to write expr=latex(grad).