location: Diff for "LaTeX"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 25 and 26
Revision 25 as of 2010-06-11 11:46:42
Size: 4656
Editor: raos
Comment:
Revision 26 as of 2010-10-15 15:31:48
Size: 5311
Editor: raos
Comment:
Deletions are marked like this. Additions are marked like this.
Line 115: Line 115:

= 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.

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.

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

    • Open a shell and execute the following commands in the given order:
      1. mktexlsr

      2. 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
      3. updmap

  • Done! You can test the mathletter document class with the following example document: http://www.math.uzh.ch/fileadmin/math/divers/mathletter.tex.

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

    • Open a shell and execute the following commands in the given order:
      1. sudo mktexlsr

      2. 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.

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 2021-02-04 10:06:06 by eseide)