Geek Culture
Published in

Geek Culture

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.

Latex

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin McBride

Martin McBride

247 Followers

Freelance software consultant, developer, technical author. Java, Python. martinmcbride.org