location: Diff for "LaTeX"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 42 and 43
Revision 42 as of 2010-11-05 13:16:18
Size: 5481
Editor: raos
Comment:
Revision 43 as of 2010-11-05 15:07:40
Size: 8390
Editor: raos
Comment:
Deletions are marked like this. Additions are marked like this.
Line 70: Line 70:

Line 74: Line 72:
The official LaTeX templates for correspondence are located at `/scratch/templates/latex/Korrespondenz/`. The official LaTeX templates for correspondence are located at `/scratch/templates/latex/korrespondenz/`.
Line 76: Line 74:
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. 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 80: Line 78:
 * UZH Brief deutsch mit Absender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-mit-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-mit-absender.ps|ps]]) ([[file:///scratch/templates/latex/Korrespondenz/uzhbrief-de-mit-absender.tex|tex]])
 * UZH Brief deutsch ohne Absender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-ohne-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-ohne-absender.ps|ps]])
 * UZH Letter English with Sender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-mit-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-mit-absender.ps|ps]])
 * UZH Letter English without Sender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-ohne-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-ohne-absender.ps|ps]])
 * UZH Brief deutsch mit Absender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-mit-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-mit-absender.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/korrespondenz/uzhbrief-de-mit-absender.tex|tex]])
 * UZH Brief deutsch ohne Absender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-ohne-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-de-ohne-absender.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/korrespondenz/uzhbrief-de-ohne-absender.tex|tex]])
 * UZH Letter English with Sender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-mit-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-mit-absender.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/korrespondenz/uzhbrief-en-mit-absender.tex|tex]])
 * UZH Letter English without Sender ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-ohne-absender.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzhbrief-en-ohne-absender.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/korrespondenz/uzhbrief-en-ohne-absender.tex|tex]])
Line 89: Line 87:
The official LaTeX templates for correspondence are located at `/scratch/templates/latex/Praesentation/`. The official LaTeX templates for correspondence are located at `/scratch/templates/latex/praesentation/`.
Line 91: Line 89:
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. 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 93: Line 91:
 * UZH Praesentation deutsch (informell) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de-informal.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de-informal.ps|ps]])
 * UZH Praesentation deutsch ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de.ps|ps]])
 * UZH Presentation English (informal) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en-informal.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en-informal.ps|ps]])
 * UZH Presentation Englsich ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en.ps|ps]])
 * UZH Praesentation deutsch (informell) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de-informal.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de-informal.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/praesentation/uzh-praesentation-de-informal.tex|tex]])
 * UZH Praesentation deutsch ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-de.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/praesentation/uzh-praesentation-de.tex|tex]])
 * UZH Presentation English (informal) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en-informal.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en-informal.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/praesentation/uzh-praesentation-en-informal.tex|tex]])
 * UZH Presentation Englsich ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en.pdf|pdf]]) ([[https://wiki.math.uzh.ch/public/LaTeX?action=AttachFile&do=get&target=uzh-praesentation-en.ps|ps]]) ([[ftp://ftp.math.uzh.ch/pub/templates/latex/praesentation/uzh-praesentation-en.tex|tex]])
Line 102: Line 100:
This instruction assumes that the latest MikTeX is installed including KOMA. In order to ensure you're running the latest version, start the MikTeX Package Administrator found under `Start|All Programs|MikTeX X.Y|Maintenance (Admin)|Package Manager (Admin)` and run the Update Wizard found under `Task|Update Wizard`. Please refer to the MikTeX Documentation for further information on this topic by pointing your browser to [[http://www.miktex.org/docs]]. This instruction assumes that the latest MikTeX is installed including KOMA-Script, lastpage, mptopdf, and arial package. In order to ensure you're running the latest version or installing missing packages, start the MikTeX Package Administrator found under `Start|All Programs|MikTeX X.Y|Maintenance (Admin)|Package Manager (Admin)` and run the Update Wizard found under `Task|Update Wizard`. Please refer to the MikTeX Documentation for further information on this topic by pointing your browser to [[http://www.miktex.org/docs]].
Line 107: Line 105:
Download the LaTeX templates `Vorlagen_UZH_LaTeX_Briefe.zip` from [[https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html]]. Unzip the package, and copy the entire `tex` directory to `C:\Program Files\MiKTeX X.Y Download the LaTeX templates `Vorlagen_UZH_LaTeX_Briefe.zip` from [[https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html]]. Unzip the package, and copy the entire `tex` directory to `C:\Program Files\MiKTeX X.Y\tex\latex` and rename it to `mathletter`.

Go to `Start|All Programs|MiKTeX X.Y|Maintenance (Admin)|Settings (Admin)` and click in the first tab on `Refresh FNDB`.

Next you need to download [[ftp://ftp.math.uzh.ch/pub/templates/latex/config/uzh-en.lco|uzh-en.lco]] and [[ftp://ftp.math.uzh.ch/pub/templates/latex/config/uzh.lco|uzh.lco]]. Copy them to your `mathletter` directory.

==== Beamer Templates ====

Download the LaTeX templates `Vorlagen_UZH_LaTeX_Praesentationen.zip` from [[https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html]]. Unzip the package, and copy the entire `tex` directory to `C:\Program Files\MiKTeX X.Y\tex\latex` and rename it to 'mathbeamer'.

Go to `Start|All Programs|MiKTeX X.Y|Maintenance (Admin)|Settings (Admin)` and click in the first tab on `Refresh FNDB`.

=== Ubuntu ===

You need to have installed the following Ubuntu packages:

 * texlive-fonts-extra

In order to install the Arial font type on a command line: `sudo getnonfreefonts-sys arial-urw`

==== Letter Templates ====

Download the LaTeX templates `Vorlagen_UZH_LaTeX_Briefe.zip` from [[https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html]]. Unzip the package, and copy the entire `tex` directory to `/usr/local/share/texmf/tex/latex` and rename it to `mathletter`. Download [[http://mirror.ctan.org/install/macros/latex/contrib/koma-script.tds.zip]] and save it to `/usr/local/share/texmf/` and unzip the file in that directory.

Run `sudo mktexlsr` in order to update the search database of latex.

Next you need to download [[ftp://ftp.math.uzh.ch/pub/templates/latex/config/uzh-en.lco|uzh-en.lco]] and [[ftp://ftp.math.uzh.ch/pub/templates/latex/config/uzh.lco|uzh.lco]]. Copy them to your `/usr/local/share/texmf/tex/latex/mathletter` directory.

==== Beamer Templates ====

Download the LaTeX templates `Vorlagen_UZH_LaTeX_Praesentationen.zip` from [[https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html]]. Unzip the package, and copy the entire `tex` directory to `/usr/local/share/texmf/tex/latex` and rename it to `mathbeamer`.

Run `sudo mktexlsr` in order to update the search database of latex.

LaTeX



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) (tex)

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

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

  • UZH Letter English without Sender (pdf) (ps) (tex)

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) (ps) (tex)

  • UZH Praesentation deutsch (pdf) (ps) (tex)

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

  • UZH Presentation Englsich (pdf) (ps) (tex)

Installation of Corporate Design Templates

Windows

This instruction assumes that the latest MikTeX is installed including KOMA-Script, lastpage, mptopdf, and arial package. In order to ensure you're running the latest version or installing missing packages, start the MikTeX Package Administrator found under Start|All Programs|MikTeX X.Y|Maintenance (Admin)|Package Manager (Admin) and run the Update Wizard found under Task|Update Wizard. Please refer to the MikTeX Documentation for further information on this topic by pointing your browser to http://www.miktex.org/docs.

Letter Templates

Download the LaTeX templates Vorlagen_UZH_LaTeX_Briefe.zip from https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html. Unzip the package, and copy the entire tex directory to C:\Program Files\MiKTeX X.Y\tex\latex and rename it to mathletter.

Go to Start|All Programs|MiKTeX X.Y|Maintenance (Admin)|Settings (Admin) and click in the first tab on Refresh FNDB.

Next you need to download uzh-en.lco and uzh.lco. Copy them to your mathletter directory.

Beamer Templates

Download the LaTeX templates Vorlagen_UZH_LaTeX_Praesentationen.zip from https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html. Unzip the package, and copy the entire tex directory to C:\Program Files\MiKTeX X.Y\tex\latex and rename it to 'mathbeamer'.

Go to Start|All Programs|MiKTeX X.Y|Maintenance (Admin)|Settings (Admin) and click in the first tab on Refresh FNDB.

Ubuntu

You need to have installed the following Ubuntu packages:

  • texlive-fonts-extra

In order to install the Arial font type on a command line: sudo getnonfreefonts-sys arial-urw

Letter Templates

Download the LaTeX templates Vorlagen_UZH_LaTeX_Briefe.zip from https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html. Unzip the package, and copy the entire tex directory to /usr/local/share/texmf/tex/latex and rename it to mathletter. Download http://mirror.ctan.org/install/macros/latex/contrib/koma-script.tds.zip and save it to /usr/local/share/texmf/ and unzip the file in that directory.

Run sudo mktexlsr in order to update the search database of latex.

Next you need to download uzh-en.lco and uzh.lco. Copy them to your /usr/local/share/texmf/tex/latex/mathletter directory.

Beamer Templates

Download the LaTeX templates Vorlagen_UZH_LaTeX_Praesentationen.zip from https://www.uzh.ch/cdssl/cd/vorlagenboerse/downloads.html. Unzip the package, and copy the entire tex directory to /usr/local/share/texmf/tex/latex and rename it to mathbeamer.

Run sudo mktexlsr in order to update the search database of latex.

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