location: Diff for "LaTeX"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 31 and 34 (spanning 3 versions)
Revision 31 as of 2010-10-20 13:44:57
Size: 6203
Editor: crose
Comment:
Revision 34 as of 2010-11-05 09:14:22
Size: 3782
Editor: raos
Comment:
Deletions are marked like this. Additions are marked like this.
Line 67: Line 67:
= UZH: mathletter / frutiger fonts =
== MikTeX 2.7 (Windows) ==
 * Copy `mathletter.cls`, `unisiegel.eps`, `unisiegel.pdf` (see `/scratch/software/tex/unibrief-0.3/`) into a subdirectory of your MikTeX-Installation. For example, copy the files to `C:\Program Files\MiKTeX 2.7\tex\uzh` if you installed MikTeX into the folder `C:\Program Files\MiKTeX 2.7\`.
 * Install the frutiger fonts:
  * Copy the content of `/scratch/software/tex/ifi/frutiger.tar.gz` to your MikTeX installation directory as follows:

   || files/folders to copy from 'frutiger.tar.gz' || directory where to copy the files to || in our example, you would copy the files/folders to ||
   || {{{texmf\dvips\base\frutiger.map}}} || {{{fonts\map\dvips}}} || {{{C:\Program Files\MiKTeX 2.7\fonts\map\dvips}}} ||
   || {{{texmf\fonts}}} || {{{fonts}}} || {{{C:\Program Files\MiKTeX 2.7\fonts}}} ||
   || {{{texmf\tex\latex\base}}} || {{{tex\latex}}} || {{{C:\Program Files\MiKTeX 2.7\tex\latex}}} ||
= UZH Style Templates =
Line 80: Line 71:
  * Open a shell and execute the following commands in the given order:
   1. {{{mktexlsr}}}
   1. {{{initexmf --edit-config-file updmap}}}
    . This opens up a file called {{{updmap.cfg}}}. Add the following line to the file, save and close it.
    {{{
Map frutiger.map
}}}
   1. {{{updmap}}}
 * Done! You can test the mathletter document class with the following example document: http://www.math.uzh.ch/fileadmin/math/divers/mathletter.tex.
== Letter ==
Line 90: Line 73:
== TeXLive (Ubuntu) ==
 * Copy `mathletter.cls`, `unisiegel.eps`, `unisiegel.pdf` (see `/scratch/software/tex/unibrief-0.3/`) into a subdirectory of your TeXLive-Installation. For example, copy the files to `/usr/share/texmf-local/tex/latex/mathletter` if you installed TeXLive into the folder `/usr/share/texmf-local`.
 * Install the frutiger fonts:
  * Copy the content of `/scratch/software/tex/ifi/frutiger.tar.gz` to your TeXLive installation directory as follows:
   
   || files/folders to copy from 'frutiger.tar.gz' || directory where to copy the files to || in our example, you would copy the files/folders to ||
   || {{{texmf\dvips\base\frutiger.map}}} || {{{fonts/map/dvips}}} || {{{/usr/share/texmf-local/fonts/map/dvips}}} ||
   || {{{texmf\fonts}}} || {{{fonts}}} || {{{/usr/share/texmf-local/fonts}}} ||
   || {{{texmf\tex\latex\base}}} || {{{tex/latex}}} || {{{/usr/share/texmf-local/tex/latex}}} ||
The official LaTeX templates for correspondence are located at `/scratch/templates/latex/Korrespondenz/`.
Line 100: Line 75:
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.
Line 101: Line 77:
Preview of templates:
Line 102: Line 79:
  * Open a shell and execute the following commands in the given order:
   1. {{{sudo mktexlsr}}}
   1. {{{sudo updmap-sys --enable Map frutiger.map}}}
 * Done! You can test the mathletter document class with the following example document: http://www.math.uzh.ch/fileadmin/math/divers/mathletter.tex.
 * UZH Brief deutsch mit Absender ([[attachment:uzhbrief-de-mit-absender.pdf|pdf]]) ([[attachment:uzhbrief-de-mit-absender.ps|ps]])
 * UZH Brief deutsch ohne Absender ([[attachment:uzhbrief-de-ohne-absender.pdf|pdf]]) ([[attachment:uzhbrief-de-ohne-absender.ps|ps]])
 * UZH Letter English with Sender ([[attachment:uzhbrief-en-mit-absender.pdf|pdf]]) ([[attachment:uzhbrief-en-mit-absender.ps|ps]])
 * UZH Letter English witouth Sender ([[attachment:uzhbrief-en-ohne-absender.pdf|pdf]]) ([[attachment:uzhbrief-en-ohne-absender.ps|ps]])
Line 107: Line 84:
= Math UZH Logo in Beamer Class = Please replace the text enclosed by angle brackets (`<>`) with the appropriate information.
Line 109: Line 86:
In order to include the Math UZH logo in your presentation, download the files [[attachment:imath-tex-logo.png]] and [[attachment:imath-tex-logo.eps]] to the directory where your LaTeX presentation source file resides. == Presentation ==
Line 111: Line 88:
Add the following lines right below the `\documentclass` line The official LaTeX templates for correspondence are located at `/scratch/templates/latex/Praesentation/`.
Line 113: Line 90:
{{{
\pgfdeclareimage[height=0.5cm]{logo}{imath-tex-logo}
\logo{\pgfuseimage{logo}}
}}}
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.
Line 118: Line 92:
After processing the file with LaTeX, the DVI or PDF will show the logo on every frame.  * UZH Praesentation deutsch (informell) ([[https://wiki.math.uzh.ch/public/TeX?action=AttachFile&do=get&target=uzh-praesentation-de-informal.pdf|PDF]] [[attachment:uzh-praesentation-de-informal.pdf|pdf]]) ([[attachment:uzh-praesentation-de-informal.ps|ps]])
 * UZH Praesentation deutsch ([[attachment:uzh-praesentation-de.pdf|pdf]]) ([[attachment:uzh-praesentation-de.ps|ps]])
 * UZH Presentation English (informal) ([[attachment:uzh-praesentation-en-informal.pdf|pdf]]) ([[attachment:uzh-praesentation-en-informal.ps|ps]])
 * UZH Presentation Englsich ([[attachment:uzh-praesentation-en.pdf|pdf]]) ([[attachment:uzh-praesentation-en.ps|ps]])
Line 120: Line 97:
== 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.
== Installation on Windows ==

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

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

pdflatex movie.tex

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:

  • UZH Brief deutsch mit Absender (pdf) (ps)

  • UZH Brief deutsch ohne Absender (pdf) (ps)

  • UZH Letter English with Sender (pdf) (ps)

  • UZH Letter English witouth Sender (pdf) (ps)

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.

  • UZH Praesentation deutsch (informell) (PDF pdf) (ps)

  • UZH Praesentation deutsch (pdf) (ps)

  • UZH Presentation English (informal) (pdf) (ps)

  • UZH Presentation Englsich (pdf) (ps)

Installation on Windows

PublicMathWiki: LaTeX (last edited 2025-04-11 08:34:38 by alrutz)