Skip to content

Commit e9ff761

Browse files
committed
- update README.md
1 parent a0eca1a commit e9ff761

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,39 @@ To build the add-in perform the following steps:
2222
* select correct platform (x86 or x64) depending on your PowerPoint version
2323
* If you are not sure if you have a 32bit or 64bit version of PowerPoint, just start PowerPoint and open "File" -> "Account" -> "About PowerPoint".
2424
* build the add-in
25-
* start PowerPoint and the add-in should be loaded automatically
25+
* start PowerPoint and the add-in should be loaded automatically
26+
27+
## Use Add-In
28+
29+
First, you must set the MiKTex path. That is the location of latex.exe
30+
31+
### Latex template
32+
33+
If you need other packages or want to define your own commands, you can edit the latex template. Just open "Options" - > "Edit Latex template" and it will be opened in a text editor. The default template looks like this:
34+
35+
```tex
36+
\documentclass[12pt,a4paper]{article}
37+
\usepackage{amsmath}
38+
\usepackage[utf8]{inputenc}
39+
\usepackage{bbm}
40+
\usepackage{ae,aecompl}
41+
\usepackage{color}
42+
\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
43+
\setlength{\parindent}{0pt}
44+
\begin{document}
45+
\thispagestyle{empty}
46+
47+
${Content}
48+
49+
\end{document}
50+
```
51+
52+
Don't remove the command "\changefont" and the placeholder "${Content}" since they are needed by the add-in. "${Content}" will be replaced by your latex code.
53+
54+
### Code snippets & auto completion
55+
56+
Code snippets and auto completion are very helpful to write down equations very quickly. Auto completion can be performed by pressing "Ctrl + Space". Currently, the auto completion only knows some of the latex commands. However, you can easily extend the list of commands by editing the file "Language.xml" which is in the same folder as the Latex template.
57+
58+
Code snippets can be added by pressing "Ctrl + J". Currently, there are only a few snippets available. However, you can define new ones by editing the file "Language.xml" which is in the same folder as the Latex template.
59+
60+

0 commit comments

Comments
 (0)