How to pretty mathematical formulas in Python? Similar to Mathematica formats.

random832 at fastmail.us random832 at fastmail.us
Thu Jun 11 14:54:47 EDT 2015


On Thu, Jun 11, 2015, at 14:32, Sebastian M Cheung via Python-list
wrote:
> How to pretty mathematical formulas in Python? Similar to Mathematica
> formats.
> 
> Are there good packages to prettify mathematica formulas in Python?

>From a google search, apparently matplotlib has a module called mathtext
which uses a subset of LaTeX.

http://matplotlib.org/api/mathtext_api.html

Of course, you've got to put your formula in LaTeX format... which is
the same format used on Stack Exchange and Wikipedia, so you should be
able to find plenty of resources to learn about it.



More information about the Python-list mailing list