Is it possible to take something like x ^ 2 + 5 and generate this: http://imgur.com/Muq2X.gif
I will use Python so that everything that was in Python works, but I am open to other solutions, such as latex output.
Sympy can output LaTeX and MathML code , from there you can create images or other forms of display depending on what you need. You will find some methods for this in this old fooobar.com/questions/563802 / ....
In theory, MathML is ideal for displaying equations in a browser, but not for all browsers that support MathML.
You can take a look at this LaTeX module for Python: http://www.pytex.org/
You might need SVGMath , this is pure python and will convert MathML to SVG.
Source: https://habr.com/ru/post/1315191/More articles:What encryption should be used in coding and how does it affect key and initialization vectors? - c #Server side javascript function call - javascriptCan you make a ping or traceroute command on an iPhone? - iphoneCreate tar.gz using .NET. - c #How to make bidirectional display over annotated @Any property? - javaQTreeView, QFileSystemModel, setRootPath and QSortFilterProxyModel with RegExp for filtering - c ++Are there any Android tools that help create content providers? - androidDisable PRINT in SQL Server - sql-serverwith IN clause in postgresql - performanceAmbiguous class namespace - c ++All Articles