location: Diff for "LaTeX"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 20 and 22 (spanning 2 versions)
Revision 20 as of 2009-08-21 15:53:02
Size: 3346
Editor: dcaspar
Comment:
Revision 22 as of 2009-08-21 15:54:59
Size: 3363
Editor: dcaspar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
<<TableOfContents>>  <<TableOfContents>>
Line 12: Line 12:
Line 16: Line 15:
  *Copy the content of `/scratch/software/tex/ifi/frutiger.tar.gz` to your MikTeX installation directory as follows:   * Copy the content of `/scratch/software/tex/ifi/frutiger.tar.gz` to your MikTeX installation directory as follows:
Line 23: Line 22:

Line 25: Line 26:
   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.
   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.
Line 30: Line 31:
   3. {{{updmap}}}    1. {{{updmap}}}
Line 34: Line 35:
 * 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 `/usr/share/texmf-local/tex/latex/mathletter` if you installed MikTeX into the folder `/usr/share/texmf-local`.  * 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`.
Line 36: Line 37:
  *Copy the content of `/scratch/software/tex/ifi/frutiger.tar.gz` to your MikTeX installation directory as follows:   * Copy the content of `/scratch/software/tex/ifi/frutiger.tar.gz` to your TeXLive installation directory as follows:
   
Line 43: Line 44:

Line 45: Line 48:
   2. {{{sudo updmap-sys --enable Map frutiger.map}}}    1. {{{sudo updmap-sys --enable Map frutiger.map}}}

TeX



General Documentation

A short introduction to LaTeX (in German): http://developer.kde.org/~kdvi/DVI/l2kurz.dvi

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.

Frequently used programs

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.

PublicMathWiki: LaTeX (last edited 2021-02-04 10:06:06 by eseide)