What's the best (and quickest) way to insert LaTeX equations into PowerPoint?

Long story short, I have to do a presentation in PowerPoint, I want to be able to insert LaTeX equations as images (possibly png) with transparent background.

Normally I have found the MS office equation editor adequate for simple presentations, but this time I seem to be unable to get the effect I want with the particular font I want (probably because Powerpoint's font support is abysmal).

I'm looking for a way to do this quickly and efficiently. I know I can use something like the standalone class, but I'm looking for a more efficient way, if it exist. Something that allows me to generate equations and copy them on the fly without the hassle of a regular tex document.

I found this website that does almost what I want: https://www.codecogs.com/latex/eqneditor.php but unfortunately it does not give enough control over the choice of font and color.

Any suggestions?

• "best" is somewhat subjective and not a good fit for this site. "quickest" depends heavily on your prior knowledge and current computer setup. But getting an image of an equation with a particular font into Powerpoint probably does point to the standalone class. If you had more time, it may be simpler to use the beamer class instead of Powerpoint altogether, but learning beamer probably wouldn't qualify as "quick". Jul 5 '19 at 22:10
• I'm familiar with beamer, but unfortunately I HAVE to use powerpoint, for multiple reasons, one of which being collaboration. I think I found a solution, but I'm researching it a bit further before I updated my post. Jul 5 '19 at 22:16
• I recommend my answer to the following post. It uses one text file where each line is an equation. Then an Asymptote script reads that file and creates a PNG for each equation. I'm not sure if Asymptote can make a transparent background, but if not you could simply include a call to ImageMagick in the script to achieve the transparency. tex.stackexchange.com/questions/287481 Jul 6 '19 at 1:36
• @johnymm I will use IguanaTex (it is free) jonathanleroux.org/software/iguanatex Jul 6 '19 at 10:08
• @Sebastiano Looks interesting as it can integrate with powerpoint. Does it allow to modify the preamble in order to control fonts, colors, etc. ? Jul 7 '19 at 13:35

Microsoft Word supports inserting LaTex code. You can then copy and paste from Word to PowerPoint.

1. Open Equation Editor (Alt + =), and select the {}LaTeX option,
2. Paste (as text) your LaTeX code. ( e.g.: MSE = \frac{1}{K}\sum_{k=1}^{K} (d_k - \hat{d}_k)^2)
3. Hit Enter

A few LaTeX tags (like \textrm) are not supported by Word; some manual editing might be needed.

• This now has native support within PowerPoint. No need to copy from Word. Oct 5 '21 at 5:12
• @MohitLamba I couldn't make it work on PowerPoint, I only have the "$e^x$ Professional" option and it doesn't seem to work. Any idea why? Oct 27 '21 at 14:42
• @samwolfe the professional seems to work for me when I type latex. Ket and bra are only langle and rangle but it is usable Nov 27 '21 at 21:11

I can highly recommend http://www.jonathanleroux.org/software/iguanatex/

It requires a LaTeX installation but works great, including editing in PowerPoint and support of vector graphics.

There is a a updated version from end of 2020.

Mac users: the MacTex distribution comes with a software called LaTeXIt. You enter LaTeX code (equations, TikZ, tables, whatever) and compile it to an image (png, pdf, etc) you can copy onto a slide. Works great.

• Still sort of a way around. I just noticed keynote allows you to type latex in the equation window. Great! You can edit it later as well. I'm converting my pptx to keynote as we speak... Apr 22 '20 at 2:49
• LaTeXIt on macOS also supports linkback. This means that in those applications that also support linkback, you (double) click on the image to return to the source code in LaTeXIt. May 5 '21 at 15:39

I found a decent-enough solution to my problem. KLatexFormula seems to do what I need. You can type anything you want and it immediately exports an image which may be copied, while also allowing you to efficiently control the preamble.

As far as I can tell, it's exactly what I was looking for.

One option is to have all your formulae in a pdf produced by LaTeX that contains all your formulae and that uses transparent background:

\documentclass[20pt]{extarticle}
\usepackage{xcolor}
% Whatever other options you need here

\begin{document}
\nopagecolor
\color{blue}  $$x + {y\over 2+y}$$

\color{yellow}  $$x + {y\over 2+y}$$
\end{document}


Then copy-paste from the pdf to Powerpoint. This may be OS-dependent; at least on MacOS you can copy rectangular selections in Preview.app and paste them in a PPT document.

Copy in Preview:

Paste in PPT (resize there if needed):

I want to be able to insert LaTeX equations as images (possibly png) with transparent background.

I'm looking for a way to do this quickly and efficiently

No worries, we have got your back :).

You may want to go through @Sebastino's and @dacastror's answers. They have explained it well.

Finding myself in a similar position couple of days back, I got introduced to Mathcha tool and been personally using it 24x7. With it's super-easy GUI board, it gives freedom to create otherwise complicated diagrams/figs/ in an extremely customizable fashion.

To save your work in Mathcha, you may sign-in to Mathcha using your either of your facebook, google or twitter github account. You can directly start drawing your images with either a New Document or a New Repository.

You may as well refer Mathcha's documentation for efficient typing.

• Well, and has the image transparent background or is it white? May 5 '21 at 22:21
• Afaik, you can export a 'drawing' in Mathcha either as image or Tikz code. If you go with image, you may either choose No/transparent background or white background or grid background. Does that answer your question? May 8 '21 at 6:35

This might not sound like a proper sophisticated answer. I think the quickest way is to generate the latex equations in the TeXstudio or something and then use the snip tool/any other screen grabbing tool to get the equation out. Works all the time.

Just an idea since I never had to do that. If you compile the latex source with htlatex, all the math formulas are rendered in png images. So you just have to gather them, but its up to you to have them inserted at good place.

pandoc can convert from Markdown to ppt. For example, consider the markdown file:

# This is a test

$$E = mc^2$$

- Can we do $x = y$ _math_?


Compiling with

pandoc -t pptx -o test.pptx test.md


gives

I didn't see any comment about http://latex2png.com/ It is an online service for conversion of equations to images. No background and good resolution.

Hope it will be helpful :)

• Welcome to TeX.SE! What does your given link? please explain better! Jun 28 '21 at 17:21
• Thanks ! This website enable to transform a latex equation into a png image. If you copy it from your browser you just have to paste it into PowerPoint. Jun 28 '21 at 19:08
• It would be better to add those details to the answer, answers should ideally be self-contained. Jun 28 '21 at 20:42

By the way, you can use mathpix snipping tool to convert low quality images of equations to latex, then use the latexIt to convert latex code to convert latex code into high quality images suited for powerpoint.

• You need to also show how to use it. That would benefit future visitors and showcase the exact steps.
– Werner
May 8 '21 at 4:42