Figure 2-5. Markdown and LaTeX for financial formulae
Magic commands
One of IPython’s strengths lies in its magic commands. They are “magic” in the sense that
they add some really helpful and powerful functions to the standard Python shell
functionality. Basic information and help about these functions can be accessed via:
In [1]: %magic
IPython’s ‘magic’ functions
===========================
The magic function system provides a series of functions which allow you to
control the behavior of IPython itself, plus a lot of system-type
features. There are two kinds of magics, line-oriented and cell-oriented.
...
A list of all available magic commands can be generated in an IPython session as follows:
In [ 2 ]: %lsmagic