A PowerPoint add-in to insert LaTeX equations into PowerPoint presentations on Windows and Mac
1,449
stars
66
commits
VBA
primary language
Sep 6, 2026
updated
(C) Jonathan Le Roux and Zvika Ben-Haim (Windows), Tsung-Ju Chiang and Jonathan Le Roux (Mac)
IguanaTex is a PowerPoint add-in which allows you to insert LaTeX equations into your PowerPoint presentation on Windows and Mac. It is distributed completely for free, along with its source code.
This repository hosts the source code in a form that can be easily tracked, shared, and discussed (the VBA code is exported using the ExportVBA macro).
The add-in file (.ppam) and its source version (.pptm) can be found in the Releases.
dvisvgm in MacTeX.%appdata%\Microsoft\Addins (i.e., C:\Users\user_name\Appdata\Roaming\Microsoft\Addins). If you get a malware warning, try "Trust"-ing the file (Right-Click > Properties). You may have better luck downloading the .pptm file, Trusting it, opening it in PowerPoint, and using "Save As" to create your own .ppam file..ppam file in the folder where you downloaded it, then "Close" (if you downloaded the .pptm source and saved it as .ppam, it will be in the default Add-In folder).gswin32c.exe or gswin64c.exe (note the "c"!) and to ImageMagick's magick.exe in the "Main Settings" window.%USERPROFILE%. It is recommended to click on "..." to make sure the path gets properly converted to the actual user profile path.TeX2imgc.exe (note the "c"!) in the "Main Settings" window.LaTeXiT-metadata-Win.zip from the Releases page, unzip, and set the path to LaTeXiT-metadata.exe in the "Main Settings" window.If you use Homebrew, installation is as simple as:
brew tap tsung-ju/iguanatexmac
brew install --cask iguanatexmac latexit-metadata
Then follow 5. Verify that paths are set correctly in the Manual installation instructions below.
For more details (e.g., how to upgrade or uninstall), please see Tsung-Ju's Homebrew instructions.
Download the "prebuilt files for Mac" zip from this repository's Releases page
There are 3 files to install:
IguanaTex.scpt: AppleScript file for handling file and folder accesslibIguanaTexHelper.dylib: library for creating native text views; source code included in the git repo, under "IguanaTexHelper/"IguanaTex_v1_XX_Y.ppam: main add-in fileInstall IguanaTex.scpt
mkdir -p ~/Library/Application\ Scripts/com.microsoft.Powerpoint
cp ./IguanaTex.scpt ~/Library/Application\ Scripts/com.microsoft.Powerpoint/IguanaTex.scpt
Install libIguanaTexHelper.dylib
sudo mkdir -p '/Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized'
sudo cp ./libIguanaTexHelper.dylib '/Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/libIguanaTexHelper.dylib'
Load the add-in: Start PowerPoint (restart if it was running when installing the dylib). From the menu bar, select Tools > PowerPoint Add-ins... > '+' , and choose IguanaTex_v1_XX_Y.ppam
libIguanaTexHelper.dylib was blocked. Go to the Mac's Settings, then Security and Privacy, and click "Allow Anyway".Verify that paths are set correctly: Click on "Main Settings" in the IguanaTex ribbon tab:
Set the Temp folder used for file conversions in one of the following ways:
Verify that the following paths are set correctly by clicking on each "..." button next to them. If the path is correct, this should take you to its location; otherwise, you'll need to navigate to the relevant path. The defaults should match the MacTeX installation locations, but your installation may differ.
If you cannot find them or if IguanaTex complains that a command did not return, open a terminal and use locate gs, locate pdflatex, and locate libgs.
(Optional) Install LaTeXiT-metadata:
LaTeXiT-metadata-macos from the Releases page, add executable permission, and either set the path to its location in the "Main Settings" window or copy it to the secure add-in folder:chmod 755 ./LaTeXiT-metadata-macossudo cp ./LaTeXiT-metadata-macos '/Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/'wsl -e for a LaTeX installation under the Windows Subsystem for Linux).Most issues originate from some steps of the installation process described above not being followed: please double-check you went through all the steps. A reboot also often helps after a first installation.
If you are having trouble installing or using IguanaTex, please see the Frequently Asked Questions and check the Issues on this repo.
When running into an issue while trying to generate a display, the first thing to do is to check the "Debug" box in the Editor window prior to clicking "Generate". This will step through the process of generating the display, so that we can know where the error occurred, and it will give the option to copy each command so that they can be run in a Terminal or Command Prompt.
If this does not solve the issue, or the issue does not occur during the generation process, the next step is to try to debug in the VBA Editor. To do so:
.pptm file in PowerPoint.Alt+F11 on Windows, Tools > Macro > Visual Basic Editor on Mac).Load LatexForm under NewLatexEquation()) by clicking in the margin..pptm file: just try one, and if the IguanaTex window appears without hitting the breakpoint, try the other), or in the VBA Editor click Tools > Macros... and select NewLatexEquation and Run..pptm files, so instead click Tools > Macro > Macros... and select NewLatexEquation and Run.Accelerator keys (i.e., keyboard shortcuts): many of IguanaTex's commands ("Generate", "Cancel", etc) can be accessed by using a combination of modifier keys and a single letter. Look for the underlined letter in the corresponding button's text/label.
Alt + g. (This is the standard Office behavior on Windows)Ctrl + ⌘ + g. (Accelerator keys are not available in the standard Office for Mac, this was specially coded by Tsung-Ju for IguanaTex)To be informed of the release of new versions, you can subscribe to the IguanaTex Google Group.
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
64 commits
2 commits
Hacker News (1)
VBA
93.6%
Swift
4.6%
A PowerPoint add-in to insert LaTeX equations into PowerPoint presentations on Windows and Mac
1,449
stars
66
commits
VBA
primary language
Sep 6, 2026
updated
(C) Jonathan Le Roux and Zvika Ben-Haim (Windows), Tsung-Ju Chiang and Jonathan Le Roux (Mac)
IguanaTex is a PowerPoint add-in which allows you to insert LaTeX equations into your PowerPoint presentation on Windows and Mac. It is distributed completely for free, along with its source code.
This repository hosts the source code in a form that can be easily tracked, shared, and discussed (the VBA code is exported using the ExportVBA macro).
The add-in file (.ppam) and its source version (.pptm) can be found in the Releases.
dvisvgm in MacTeX.%appdata%\Microsoft\Addins (i.e., C:\Users\user_name\Appdata\Roaming\Microsoft\Addins). If you get a malware warning, try "Trust"-ing the file (Right-Click > Properties). You may have better luck downloading the .pptm file, Trusting it, opening it in PowerPoint, and using "Save As" to create your own .ppam file..ppam file in the folder where you downloaded it, then "Close" (if you downloaded the .pptm source and saved it as .ppam, it will be in the default Add-In folder).gswin32c.exe or gswin64c.exe (note the "c"!) and to ImageMagick's magick.exe in the "Main Settings" window.%USERPROFILE%. It is recommended to click on "..." to make sure the path gets properly converted to the actual user profile path.TeX2imgc.exe (note the "c"!) in the "Main Settings" window.LaTeXiT-metadata-Win.zip from the Releases page, unzip, and set the path to LaTeXiT-metadata.exe in the "Main Settings" window.If you use Homebrew, installation is as simple as:
brew tap tsung-ju/iguanatexmac
brew install --cask iguanatexmac latexit-metadata
Then follow 5. Verify that paths are set correctly in the Manual installation instructions below.
For more details (e.g., how to upgrade or uninstall), please see Tsung-Ju's Homebrew instructions.
Download the "prebuilt files for Mac" zip from this repository's Releases page
There are 3 files to install:
IguanaTex.scpt: AppleScript file for handling file and folder accesslibIguanaTexHelper.dylib: library for creating native text views; source code included in the git repo, under "IguanaTexHelper/"IguanaTex_v1_XX_Y.ppam: main add-in fileInstall IguanaTex.scpt
mkdir -p ~/Library/Application\ Scripts/com.microsoft.Powerpoint
cp ./IguanaTex.scpt ~/Library/Application\ Scripts/com.microsoft.Powerpoint/IguanaTex.scpt
Install libIguanaTexHelper.dylib
sudo mkdir -p '/Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized'
sudo cp ./libIguanaTexHelper.dylib '/Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/libIguanaTexHelper.dylib'
Load the add-in: Start PowerPoint (restart if it was running when installing the dylib). From the menu bar, select Tools > PowerPoint Add-ins... > '+' , and choose IguanaTex_v1_XX_Y.ppam
libIguanaTexHelper.dylib was blocked. Go to the Mac's Settings, then Security and Privacy, and click "Allow Anyway".Verify that paths are set correctly: Click on "Main Settings" in the IguanaTex ribbon tab:
Set the Temp folder used for file conversions in one of the following ways:
Verify that the following paths are set correctly by clicking on each "..." button next to them. If the path is correct, this should take you to its location; otherwise, you'll need to navigate to the relevant path. The defaults should match the MacTeX installation locations, but your installation may differ.
If you cannot find them or if IguanaTex complains that a command did not return, open a terminal and use locate gs, locate pdflatex, and locate libgs.
(Optional) Install LaTeXiT-metadata:
LaTeXiT-metadata-macos from the Releases page, add executable permission, and either set the path to its location in the "Main Settings" window or copy it to the secure add-in folder:chmod 755 ./LaTeXiT-metadata-macossudo cp ./LaTeXiT-metadata-macos '/Library/Application Support/Microsoft/Office365/User Content.localized/Add-Ins.localized/'wsl -e for a LaTeX installation under the Windows Subsystem for Linux).Most issues originate from some steps of the installation process described above not being followed: please double-check you went through all the steps. A reboot also often helps after a first installation.
If you are having trouble installing or using IguanaTex, please see the Frequently Asked Questions and check the Issues on this repo.
When running into an issue while trying to generate a display, the first thing to do is to check the "Debug" box in the Editor window prior to clicking "Generate". This will step through the process of generating the display, so that we can know where the error occurred, and it will give the option to copy each command so that they can be run in a Terminal or Command Prompt.
If this does not solve the issue, or the issue does not occur during the generation process, the next step is to try to debug in the VBA Editor. To do so:
.pptm file in PowerPoint.Alt+F11 on Windows, Tools > Macro > Visual Basic Editor on Mac).Load LatexForm under NewLatexEquation()) by clicking in the margin..pptm file: just try one, and if the IguanaTex window appears without hitting the breakpoint, try the other), or in the VBA Editor click Tools > Macros... and select NewLatexEquation and Run..pptm files, so instead click Tools > Macro > Macros... and select NewLatexEquation and Run.Accelerator keys (i.e., keyboard shortcuts): many of IguanaTex's commands ("Generate", "Cancel", etc) can be accessed by using a combination of modifier keys and a single letter. Look for the underlined letter in the corresponding button's text/label.
Alt + g. (This is the standard Office behavior on Windows)Ctrl + ⌘ + g. (Accelerator keys are not available in the standard Office for Mac, this was specially coded by Tsung-Ju for IguanaTex)To be informed of the release of new versions, you can subscribe to the IguanaTex Google Group.
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
Hacker News (1)
64 commits
2 commits
VBA
93.6%
Swift
4.6%