Skip to content

Instantly share code, notes, and snippets.

@TysonRayJones
Last active February 25, 2019 15:41
Show Gist options
  • Save TysonRayJones/31995bb0d0f90c4bc7a15f77cbeecec4 to your computer and use it in GitHub Desktop.
Save TysonRayJones/31995bb0d0f90c4bc7a15f77cbeecec4 to your computer and use it in GitHub Desktop.
How to easily insert scalable LaTeX equations into powerpoints

Here's a convenient method for generating vector-graphic LateX equations for Microsoft Powerpoint presentations

You can generate a pdf on your machine which is cropped around a single equation with this LaTeX template

\documentclass[border=0pt,varwidth,fleqn]{standalone}
\usepackage{amsmath,amssymb}

\begin{document}
  \setlength{\mathindent}{0pt}
  \noindent
  
  \begin{gather*}
  E = m c^2
  \end{gather*}
  
\end{document}

Rendering this, for example in TeXStudio, will create a pdf file you can then copy and paste directly into your Powerpoint file. The equation will be light (you can add many without slowing powerpoint down), scalable (you can resize it with no loss it quality) and can even be recoloured in the Picture Format > Color menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment