Rendering Latex formulas in Python
It’s easy with generativepy.
In this article we will look at the simplest way to render a Latex formula as a PNG image using generativepy.
We will use the
rasterise_formula function of the
formula module. First, we will look at how a formula is defined.