TeX4PPT - University of Southampton

Download Report

Transcript TeX4PPT - University of Southampton

TEX4PPT
TeX4PPT
Version 1.1
Steve R. Gunn
Introduction
This package is designed following the philosophy of TEXPoint, to enable PowerPoint
to typeset sentences and equations using the
power of TEX.
It di®ers from TEXPoint in that it uses a native DVI to PowerPoint converter, providing
extremely fast conversion. Additionally, the
result is set using native truetype fonts under
windows, providing the highest ¯delity.
Requirements
This program requires PowerPoint 2002 (PowerPoint XP) and is not compatible with any previous
versions of PowerPoint due to the lack of Web
Archive support. The package uses a custom DVI
to Web Archive converter. Web Archive is an XML
format for o±ce documents.
You will also require a working MiKTeX installation. A full installation is recommended, but if
not please add the kpsewhich package to enable the
converter to ¯nd the relevant font metrics.
Entering in TeX style
From the drawing toolbar, select text box.
Enter a TeX expression into it
Right click in the text box and select
TeXify from the menu and you should end
up with something like this
1
n2 +1
Editing a TeX Object
Double left clicking on the TeX object
1
n2 +1
Will open it up to show you the source
You can then modify it and TeXify it again
Templates
Right click in a
text box and
select an item
from the TeX
Templates menu
for insertion.
You can add your own
templates to this menu
by adding them to the
Templates directory
where TeX4PPT is
installed.
Configuration
Include packages and any definitions,
macros that you will need here
This is where your “Text Box” code
will be placed before LaTeXing
By default LaTeX will set text in
10pt font. You can change this
default by modifying the
magnification. See the next page for
more on sizing objects.
When you double click on an object
to get the TeX source, this sets the
font size that the text will be set in
Clicking on configure from the
TeX4PPT menu will bring up the
per presentation options
Resizing
CreateZa TeX object
1
¡(z ) =
tz
¡1 ¡t
e dt
0
Select it and drag to resize
¡ (z ) =
Z
1
t
z ¡ 1
e
¡ t
d t
0
Z
Press TeXify again to regenerate the result correctly
1
¡(z) =
0
¡1 ¡ t
z
t e
dt
Adding Colour
2
sin (x)
x
Viewing the TeX Log
To view the TeX Log, right click over the
object, and select TeX Log... from the menu.
Copying
To copy or cut an object, right click over the object
and cut or copy. The latex source is stored with the
object so that any pasted objects can be edited.
Tables
Double click to view the source
"0x
"1x
"2x
"3x
"4x
"5x
"6x
"7x
0
1
2
3
4
5
6
7
8
9
¡
³
Ã
0
@
P
`
p
¢
´
!
1
A
Q
a
q
£
µ
"
2
B
R
b
r
¤
¶
#
3
C
S
c
s
¥
·
$
4
D
T
d
t
¦
¸
%
5
E
U
e
u
§
¹
&
6
F
V
f
v
¨
º
'
7
G
W
g
w
©
»
(
8
H
X
h
x
ª
¼
)
9
I
Y
i
y
A
B
C
D
E
F
½
*
:
J
Z
j
z
®
¾
+
;
K
[
k
{
¯
¿
,
<
L
\
l
|
°
À
=
M
]
m
}
±
Á
.
>
N
^
n
~
²
Â
/
?
O
_
o
Ä
Fonts
You can use any truetype fonts that you have TEX metric
(TFM) ¯les for. These fonts can be embedded in the
presentation under the Tools!Options!Save dialog. This
should avoid any embarassment!
Type 1 fonts can be used, but they cannot be embedded and hence you will have to maintain a copy of
these fonts on the machine that you are presenting from.
To install Type 1 fonts under Windows, place the
.pfm and .pfb ¯le in the same directory and drag and drop
on the nW indowsnF onts directory.
WARNING: If you do not know what you are doing, stick to truetype fonts and always embed
them!
Final Thoughts
The package is reasonably °exible and you may
choose to use it just to typeset your mathematics
or you may like to typeset your whole presentation
with it.
Currently no version for wurd is planned, because I see no reason for it. If you are desparate you
can copy an object from PowerPoint and do a Paste
Special as Picture in Word. You can then double
click on the picture in word to open it up, but you
will not have the TEX source.