LaTex for Slideshow
This package provides a way to use LaTex code directly in Slideshow.
(require (planet stchang/slideshow-tex)) |
1 Requirements
This package requires the following to be installed:
Latex
an updated geometry.sty that includes newgeometry. Check here to download and for install directions.
imagemagick
2 How to Use
- Inserts input strings into LaTex document (in math mode) and compiles to pdf.
- Uses ImageMagick to convert pdf to png file.
(Temporary files are created in directory "slideshow-texfiles/" and are named "texfile<#>.<ext>" where <#> is the equal-hash-code of the input string and <ext> is the appropriate extension. All temporary files except png file are deleted after the conversion is done.)
- Results of compilation are cached and an existing png file (identified with unique hash) is used instead of recompiling.
Example:
> (tex "\\lambda x.x") |