LaTeX
TeX/LaTeX Documentation
A short introduction to LaTeX (in German): http://developer.kde.org/~kdvi/DVI/l2kurz.dvi
Frequently used questions and programs
Count words in a latex documents
Kile: File > Statistics
kdvi
Tips and tricks
Converting .eps-files (automatically) to .pdf-files
Include a movie in a PDF Document
Example: omega.tex omega.mpg omega.pdf
[user@host] pdflatex omega.tex
View the PDF File in Acrobat Reader. It probably won't work on the Sun Ray Terminals.
Example
- movie.tex
\documentclass[12pt,landscape]{article} \usepackage{geometry} \geometry{verbose,letterpaper} \usepackage{movie15} \usepackage{hyperref} \begin{document} Whispering-gallery mode in a quarter circle: \begin{figure}[ht] \includemovie[ poster, text={\small(2-twist-spun.mp4)} ]{6cm}{4.8cm}{2-twist-spun.mp4} \end{figure} \end{document}
- To include a Youtube Flash movie, convert it to mp4:
Video example: http://www.youtube.com/watch?v=6lIM9p6XOKo
Convert it online: http://keepvid.com
Download the MP4 version: http://keepvid.com/?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6lIM9p6XOKo
- compile:
pdflatex movie.tex
View in acrobat reader: movie.pdf
UZH Style Templates
Letter
The official LaTeX templates for correspondence are located at /scratch/templates/latex/Korrespondenz/.
Copy the desired template to your home directory (see below for a preview of each template), or any other suitable location (Do not edit the files in /scratch/templates/latex/Korrespondenz/) and edit it with your favorite LaTeX editor.
Preview of templates:
Please replace the text enclosed by angle brackets (<>) with the appropriate information.
Presentation
The official LaTeX templates for correspondence are located at /scratch/templates/latex/Praesentation/.
Copy the desired template to your home directory (see below for a preview of each template), or any other suitable location (Do not edit the files in /scratch/templates/latex/Praesentation/) and edit it with your favorite LaTeX editor.