LaTeX in Prezi

I’ve become a regular Prezi user in the past year, but one thing was holding me back: LaTeX math had to come in via file upload… until now.

The codecogs equation editor has an HTML integration scheme that will let you import a SWF image by entering LaTeX code directly in the URL. If you like this, please donate to CodeCogs… in a few minutes you’ll see why you owe them for this hack and not me.

The URL scheme is described at the HTML integration page. In particular, something of the form:

http://latex.codecogs.com/gif.latex?1+sin(x)

will generate a gif image of 1+sin(x) in nice LaTeX. Replace gif with swf and you have an swf (flash) file that is ideal for importing to Prezi. For the import process, start editing a prezi and go ahead to the dialog for importing an image. In the image dialog, past the codecogs URL into the field as shown below, and hit enter (be sure to use the swf version of the URL). Prezi recognizes the file as an SWF and goes about importing it as expected.

For the example, I use the URL:

http://latex.codecogs.com/swf.latex?1+sin(x)
Latex into Prezi via codecogs

Paste the codecogs URL into the image URL field in Prezi

Prezi works its magic...

There will be a short bubble notice that Prezi is thinking… but don’t worry, it will do what you want it to.

Next you will see the glorious LaTeX result added to your Prezi in SWF format with all the speed and scalability of flash (the native Prezi format).

Please keep in mind that it is the awesome work of CodeCogs that makes this hack work… and they ask for nothing in return. Do the right thing and support them with a small donation.

Viola, LaTeX in Prezi... with full SWF scalability!

I can also suggest that spacing can be added either with LaTeX space commands (\, \quad, etc.) or a single space can be URL-ized with %20. The url with a literal space will not be processed correctly (at least it wasn’t when I tried it).

As always, your mileage may vary, but let me know if it helps.

Advertisements

5 thoughts on “LaTeX in Prezi

  1. Pingback: Herramientas visuales como complemento para clases (Parte I) « saltos convergentes

  2. I think this is great, it’s helped a lot in my first attempts with Prezi. However, it’s still a rather awkward process. I hope they will add true LaTeX support soon!

    Reply
  3. Pingback: LaTeX in Prezi (Update) | The Daily Photon

  4. Pingback: Herramientas visuales como complemento para clases (Parte I) | saltos convergentes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s