Writing Math in LaTeX on Medium

Yongyi Mao
2 min readMar 20, 2023

--

Not sure yet that I would be needing it, I was curious whether I can write math equations rather simply in a Medium post. With a quick online investigation, I learned from a post of Bill Markos that the most convenient way is by installing an Chrome extension “TexMath” — who does not use Chrome ?

It seems that for fancier things beyond text, Medium would only allow a few types of content, and in this case, image type is what we need. The TexMath extension on Chrome (which appears on the top right corner of the browser) allows you to type a math equation in LaTeX and after you click “convert” it would convert the equation into an image and copy the image on your clipboard. All you have to do then is pasting the image to your Medium editor. Here is an example.

Here is how it looks after pasting the image.

Bill Markos’ post covers more than this, which you may want to persuse.

--

--

Yongyi Mao

Ph.D. (Toronto, 2003), Professor of Electrical Engineering and Computer Science at the University of Ottawa