LaTeX with Adobe Illustrator
I tested the set up with Adobe Illustrator CS6 on Windows 10.
First get the script from my Github repository and put it into C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Presets\en_US\Scripts
folder so that it could be available from the context menu in Adobe Illustrator File->Scripts->LaTeX
.
Then install MiKTeX or TeX Live software if you don't have it already. MikTeX is preferred on Windows because it does not install all the packages during the first installation and thus takes much less space.
Locate the path to pdflatex.exe
file and update the absolute path in the LaTeX script at the first line. In my case, the path is C:\Users\Roman\AppData\Local\Programs\MiKTeX\miktex\bin\x64\pdflatex.exe
. Don't forget to escape the backward slash \
in the path string with another backward slash \
.
Locate the folder for the math fonts of ams
package. In my case, it's C:\Users\Roman\AppData\Local\Programs\MiKTeX\fonts\type1\public\amsfonts
. Combine all the fonts in all the folders into one folder, name it Fonts
, and put it into C:\Program Files (x86)\Adobe\Adobe Illustrator CS6
folder.
When the script asks for a formula, enter the formula between \\(...\\)
symbols.
Enjoy creating illustrations with beautiful LaTeX math formulas!