1 前提
电脑已经配置好Latex环境
2 安装过程
2.1 下载IguanaTex_v1_56插件
官网下载地址
下载的文件格式为:IguanaTex v1.56 (.ppam) .ppam
2.2 移动插件
将IguanaTex v1.56 .ppam移动到C:\Users\ 你的用户名\AppData\Roaming\Microsoft\AddIns
目录下。
2.3 创建临时文件夹
在C盘创建一个空白文件夹,并复制该文件夹路径。
2.4 设置PPT激活Iguana
打开PowerPoint > 文件 > 选项 > 加载项 > 管理 > 下拉 > 选择PowerPoint加载项
,选择IguanaTex v1.56 .ppam
2.5 设置Iguana
在PowerPoint面板点击IguanaTex
,点击main settings
,在路径处粘贴之前创建的文件夹路径。
3 使用
使用就是按照正常的LaTex的输入使用即可。
以下为Reference:
Installation:
1.Load the add-in:
in “File” > “Options” > “Add-Ins” > “Manage:”, choose “PowerPoint Add-Ins” then “Go…”, then click “Add New”, select the .ppam file in the default Add-In folder or in the folder where you downloaded it, then “Close”
2.Create and set a temporary file folder:
IguanaTex needs access to a folder with read/write permissions to store temporary files.
The default is “C:\Temp”. If you have write permissions under “C:”, create the folder “C:\Temp”. You’re all set.
If you cannot create this folder, choose/create a folder with write permission at any other location. In the IguanaTex tab, choose “Main Settings” and put the path to the folder of your choice. You can also use a relative path under the presentation’s folder (e.g., “.” for the presentation folder itself).
3.(Optional, for pdflatex/xelatex/lualatex support) Install and set path to GhostScript and ImageMagick:
To use the PDF to PNG conversion (i.e., with pdflatex, xelatex and lualatex) instead of the default DVI to PNG one, you need to install GhostScript and ImageMagick and set the appropriate full paths to gswin32c.exe/gswin64c.exe (note the “c”!) and convert.exe in the “Main Settings” window. When installing ImageMagick, make sure to check the box to “Install development headers and libraries for C and C++” and (in recent versions) to “Install legacy utilities (e.g. convert)”. Download links are provided in the Main Settings window.
4.(Optional, for vector graphics support) Install and set path to TeX2img:
To use vector graphics output, you need to install TeX2img (here is the direct download link for recommended version 2.1.0). After unpacking TeX2img somewhere on your machine, please run TeX2img.exe once to set the various paths to latex/ghostscript, then set the full path to TeX2imgc.exe (note the “c”!) in the “Main Settings” window.
4 其他
为了可以输入任意公式和中英日文,可以参考下面的代码输入:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\pagestyle{empty}
\newcommand{\xa}{\mbox{\boldmath$a$}}
\newcommand{\xb}{\mbox{\boldmath$b$}}
\newcommand{\xc}{\mbox{\boldmath$c$}}
\newcommand{\xd}{\mbox{\boldmath$d$}}
\newcommand{\xe}{\mbox{\boldmath$e$}}
\newcommand{\xf}{\mbox{\boldmath$f$}}
\newcommand{\xg}{\mbox{\boldmath$g$}}
\newcommand{\xh}{\mbox{\boldmath$h$}}
\newcommand{\xk}{\mbox{\boldmath$k$}}
\newcommand{\xl}{\mbox{\boldmath$l$}}
\newcommand{\xp}{\mbox{\boldmath$p$}}
\newcommand{\xq}{\mbox{\boldmath$q$}}
\newcommand{\xr}{\mbox{\boldmath$r$}}
\newcommand{\xs}{\mbox{\boldmath$s$}}
\newcommand{\xu}{\mbox{\boldmath$u$}}
\newcommand{\xv}{\mbox{\boldmath$v$}}
\newcommand{\xx}{\mbox{\boldmath$x$}}
\newcommand{\xy}{\mbox{\boldmath$y$}}
\newcommand{\xz}{\mbox{\boldmath$z$}}
\newcommand{\xE}{\mbox{\boldmath$E$}}
\newcommand{\xF}{\mbox{\boldmath$F$}}
\newcommand{\xG}{\mbox{\boldmath$G$}}
\newcommand{\xO}{\mbox{\boldmath$O$}}
\newcommand{\xP}{\mbox{\boldmath$P$}}
\newcommand{\xR}{\mbox{\boldmath$R$}}
\newcommand{\xrho}{\mbox{\boldmath$\rho$}}
\newcommand{\xtheta}{\mbox{\boldmath$\theta$}}
\newcommand{\xtau}{\mbox{\boldmath$\tau$}}
\newcommand{\diag}{\mbox{diag}}
\newcommand{\eye}{\mbox{eye}}
\newcommand{\tr}{\mbox{tr}}
\newcommand{\sgn}{\mbox{sgn}}
\newcommand{\xOmega}{\mbox{\boldmath$\Omega$}}
\newcommand{\xDelta}{\mbox{\boldmath$\Delta$}}
\newcommand{\xGamma}{\mbox{\boldmath$\Gamma$}}
\newcommand{\xchi}{\mbox{\boldmath$\chi$}}
\newcommand{\xepsilon}{\mbox{\boldmath$\epsilon$}}
\newcommand{\xTheta}{\mbox{$\Theta$}}
\newcommand{\xLambda}{\mbox{$\Lambda$}}
\newcommand{\xPhi}{\mbox{\boldmath$\Phi$}}
\newcommand{\xzero}{\mbox{\boldmath$0$}}
\newcommand{\xalpha}{\mbox{\boldmath$\alpha$}}
\newcommand{\xbeta}{\mbox{\boldmath$\beta$}}
\newcommand{\xxi}{\mbox{\boldmath$\xi$}}
\newcommand{\xeta}{\mbox{\boldmath$\eta$}}
\newcommand{\xlambda}{\mbox{\boldmath$\lambda$}}
\newcommand{\xzeta}{\mbox{\boldmath$\zeta$}}
\newcommand{\xomega}{\mbox{\boldmath$\omega$}}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK}{UTF8}{ipxm}
输入正文
\end{CJK}
\end{document}