Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m looking forward to real latex support

# How to: Latex in Prezi while waiting for real latex support Edit Subject

While waiting for official latex support, I do the following.

Create a tex-file like this:

\documentclass[12pt,a4paper,notitlepage]{article}
\usepackage{amsmath}
\usepackage[active,pdftex,displaymath,tightpage]{preview}
\usepackage[pdftex, ignoreall, textwidth=5cm]{geometry}
\begin{document}
\pagestyle{empty}
$\int_0^\infty x\arctan x \mathrm{\,d}x = \textrm{???}$
\end{document}

and compile it with pdflatex. This will render you a pdf that is convenient to include in your Prezi.

Here's a test prezi showing the result: http://prezi.com/fuvyh3amhfjr/

The main point of this is of course that the equations are vector graphics and thus nicely zoomable by Prezi, as opposed to making bitmap equations.

Two notes:
This is the minimal tex - use whatever packages you need to get your work done. If you do not want math specifically, use environment 'preview', see manual of the preview package for details.

To not get full page width I use the geometry package (see line 4) and manually specify image width, you will have to change this according to your content, or exclude the line and live with full width whitespace. If anyone figures out a nice way to get around this, please write a line here. For now, just adapt the textwidth=5cm to whatever width you need..
13 people like
this idea
• Hi,
awesome, thanks for the cool workaround. I have added a new article to our learn page suggesting your tip. http://prezi.com/learn/how-add-latex-...

We are aware of the request for LaTex support. We cannot promise features, but we always listen to our community when developing.
How does this make you feel?
Add Image
I'm
• 2
Hey,

I like LaTeX I much as I like Prezi :)
I usually use Codecogs' online editor when I need to put nicely typeset equations somewhere:
http://www.codecogs.com/latex/eqnedit...

You can save them in a variety of formats including pdf, swf and svg.

Have a good day,

Greg L
• This editor pretty much makes my suggestion obsolete for equations. For more elaborate stuff (equation systems, theorems, etc) it's still a good idea to use the preview package and compile a pdf.

Thanks for the tip!

Jonas
How does this make you feel?
Add Image
I'm
• 2
Well, MacOS users are really gifted, in this way, like in many others ;-)

Here is why: just open your article, the one you wrote in LaTeX with the Preview, then use the Select tool, drag a rectangle around the formula you need,

then hit Copy, and Paste as New, Apple-C and Apple-N, then save this as a standalone pdf weighting only a few Kbs.

You don't need to compile anything, just use the PDFs you have in store!
Another option is LaTeXit, which allows you to produce pdfs of LaTeX fragments without the hassle of managing little files.
An elaborate example with an included PDF image, just for the fun of it :-)
• view 3 more comments
• Thank you OC.

After working on LaTeXiT a little bit, I found the same solution (using Export imange etc.). The only difference is the format. I have to use "PDF with outlined fonts", otherwise, it doesn't make me include the .pdf file I created using PDF Vector image. Any idea of the possible reason?
• If "PDF with outline fonts" works for you, it doesn't matter why. I have to say that I didn't try all options. I tried PNG and the results were terrible. I tried PDF Vector Format and that worked great. I don't know anything about the difference between those two PDF options, so I can't answer your question. I would simply suggest that you try the different options and use whatever works.
How does this make you feel?
Add Image
I'm
• I’m happy
just for those who need a bit more space above and below, they can embed that in their latex code

\setlength{\PreviewBorder}{5bp} \begin{document} 

just change the dimension of the margin to your convenience.
How does this make you feel?
Add Image
I'm
• 1
Thanks!!!
How does this make you feel?
Add Image
I'm
• I've found the pdfcrop tool to be handy for what it's worth
How does this make you feel?
Add Image
I'm
How does this make you feel?
Add Image
I'm
• Any way to get a transparent background, as opposed to opaque white?
How does this make you feel?
Add Image
I'm
• All these workarounds are still tedious to use. I really like prezi, but its lack of direct latex support is painful. And without such a support, it won't spread in the scientific community.
How does this make you feel?
Add Image
I'm
• Thanks for the clue! However, the preview package didn't work for me, as it would only collect the equations in a page, not the sorrounding text. I don't know whether this was the intention or if I did something wrong.

In any case, I devised a plan which has been working for me and I'm writing it here just in case it can be useful for others:

My intention was, in some way, use prezis to substitute beamer in mathematics presentations, so I need extensive creation of slides with text and formulas together. For a start, I have found the geometry package very convenient to choose the length of the text. Then I do the following in sequence:

1. Plan the talk in one or two sheets of paper, deciding which slides I want to include and getting some idea how they will be related in prezis. Usually I prepare a talk on the basis of a paper, so I can get some idea which information from the paper I will want to include in slides.

2. Then I produce one latex file for each slide and compile it to ps.

3. After producing all the ps files I want, I open each one of them in Ghostscript and do the ps to eps conversion, usually letting the bounding box to be calculated automatically (but if you want some more space sorrounding your slide, you can choose yourself the limits of the bounding box).

4. Then I drag each one of those eps files to epstopdf.exe in order to create corresponding pdf files with the correct bounding boxes (you can find epstopdf.exe in the binaries of your LaTeX distribution; for simplicity then I usually make a copy of it to the folder where I'm working, so that then it's easier to drag the eps files in that folder to that program).

5. After all these steps, I have all that I need to build my mathematics presentation in prezis, so I work in prezis as usual, uploading each file as necessary (or you can also upload in bulk).

If someone knows how to programme (I don't, at least not in a useful way), probably could create a batch file to automate some of the steps. And then distribute it to us ;-).

One last thing. Ocasionally there are some ps files which do not open in Ghostscript. For those rare cases I have the following workaround: instead of compiling the latex file to ps, I compile it to dvi and drag it to dvips.exe (yes, you can find it in your LaTeX distribution) to produce a corresponding ps file, so that then I can continue from step 3 on.

António Caetano.
How does this make you feel?
Add Image
I'm
• Why go tex - ps- eps - pdf if you can go directly from tex to pdf using pdftex or pdflatex?
How does this make you feel?
Add Image
I'm
• The problem is that if you do that your slide will occupy the whole letter or A4 size, with lots of white space sorrounding your text.

This problem is solved in the ps to eps part, where the white space sorrounding your text will be removed (as long as you keep the instruction \pagestyle{empty} in your latex file).
How does this make you feel?
Add Image
I'm
• You are correct, now I see what you mean. An easier route, however, is to use LaTeXiT, as was discussed above.
• I was assuming (and it seems I am right, by the search I have done just now) that LaTeXiT is designed only for MacOS. You see, I'm one of the ungifted guys who are using Windows ;-).

On the other hand, I seldom use exactly the text of the intended section of a paper to produce a slide: usually one has at least to remove some information for the presentation. Of course, if I could use something like LaTeXiT, it would save me some time, I guess. If you know of something similar for Windows users, I would be happy to know about it.

For small things (just one equation or some symbol) I use http://www.codecogs.com/latex/eqnedit..., as also discussed above.
How does this make you feel?
Add Image
I'm
How does this make you feel?
Add Image
I'm
• I’m happy, excited
That's an awesome trick! Thanks for sharing! This more or less puts an end to the discussion as far as I am concerned...
How does this make you feel?
Add Image
I'm
• I think MatJax would give an easy good solution here!

And beside that, unicode support for math symbols should also help!
I can even use those unicode symbols in chrome: ∈,R etc. !
Why can't I use those in perzi?
How does this make you feel?
Add Image
I'm
• For more complicated bits than Cogs can do (say with tikz imagery), the standalone package

http://www.ctan.org/tex-archive/macro...

works a charm.
How does this make you feel?
Add Image
I'm
How does this make you feel?
Add Image
I'm