PublicMathWiki: LaTeX

TeX



TeX/LaTeX Documentation

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

\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}

pdflatex movie.tex

UZH: mathletter / frutiger fonts

MikTeX 2.7 (Windows)

TeXLive (Ubuntu)

Math UZH Logo in Beamer Class

In order to include the Math UZH logo in your presentation, download the files imath-tex-logo.png and imath-tex-logo.eps to the directory where your LaTeX presentation source file resides.

Add the following lines right below the \documentclass line

\pgfdeclareimage[height=0.5cm]{logo}{imath-tex-logo}
\logo{\pgfuseimage{logo}}

After processing the file with LaTeX, the DVI or PDF will show the logo on every frame.

Example

\documentclass{beamer}
\pgfdeclareimage[height=0.5cm]{logo}{imath-tex-logo}
\logo{\pgfuseimage{logo}}

\begin{document}

\begin{frame}{TITLE 1}
  \begin{itemize}
  \item Lorem ipsum dolor sit amet, consectetur adipiscing
    elit. Suspendisse pulvinar.
  \item Lorem ipsum dolor sit amet, consectetur adipiscing
    elit. Suspendisse pulvinar.
  \end{itemize}
\end{frame}

\begin{frame}{TITLE 2}
  \begin{itemize}
  \item Lorem ipsum dolor sit amet, consectetur adipiscing
    elit. Suspendisse pulvinar.
  \item Lorem ipsum dolor sit amet, consectetur adipiscing
    elit. Suspendisse pulvinar.
  \end{itemize}
\end{frame}

\end{document}

LaTeX Templates Conforming the Corporate Design

You will find ready-to-use LaTeX templates in /scratch/software/tex/templates conforming the UZH Corporate Design. The folder Korrespondenz contains templates for letters, the folder Praesentation templates for presentation/beamer material.

How to use the Templates

Copy the desired template to your home directory, or any other suitable location (Do not edit the files in /scratch/software/tex/templates) and edit it with your favorite LaTeX editor.

If you use the letter templates, please replace the text enclosed by angle brackets (<>) with the appropriate information.

PublicMathWiki: LaTeX (last edited 2010-10-20 13:36:40 by crose)