http://www.math.unizh.ch/
http://www.unizh.ch/
Druck

Local Info > Information > TeX, PDF, Presentation >   

Information
Wiki
Information for guests
SunRay
Email / Browser
Laptops (LAN, Wireless LAN)
Beamer
Print / FAX
Remote Access (SSGD)
Windows
Scanner
OCR
Transfer Files
Clean up files
Backup
TeX, PDF, Presentation
Compiler
Applications
Homepage
Unix
Journals & Books
Homepage
Links & Lists
Account
Login/out
TeX FAQ
Reference Cards
TeX > PDF
TeX
TeX and 'landscape'
pdfLaTeX and 'landscape'
TEXINPUTS
LaTeX and the UZH Corparate Design
TeX & grafic
LaTeX: split eqnarray over pages
How to create PDF Files
How to merge PDF files
Demonstrate Presentations
Creating Presentations (showing via Beamer)
Create Presentations based on LaTeX
Scientific Word can't import Mathematica EPS Files
Frutiger Font


TeX FAQ

Dante


Reference Cards

TeX

AmsTeX

 

Auc TeX

XEmacs - Change Colors in XEmacs

Emacs

 

 

 


TeX > PDF

There are two ways to create PDF files from TeX.


1) Standard TeX/LaTeX with a Postscript/PDF converter:


> latex <file.tex>

> dvips -P cmz <file.dvi>

> ps2pdf <file.ps>



2) pdftex/ pdflatex which creates PDF directly (without dvi and ps files):


> pdflatex <file.tex>


pdflatex can't include eps-graphics. Convert all eps Files to pdf with the command


> epstopdf <file.eps>


HINT: In your TeX-Source specify the filename in the \includegraphics section without extension (.eps, .pdf). In that way, latex and pdflatex decide by their own, which version of graphicfile has to be included.

 


TeX

There are several text editors to write TeX documents: emacs, xemacs, nedit, ...

The most easiest to use is 'nedit'. Like the emacs, nedit is capable to do syntax highlighting.

To compile a tex document, use 'tex' or 'latex' on a 'console' or choose macros in text editor menus.

General TeX FAQ (german) on 'dante'.

 


TeX and 'landscape'

1) Switch to landscape in your TeX file:

\documentclass[12pt,landscape]{article}

 

2) Compile with 'latex' as usual

latex <file.tex>

 

3) If you like to check with 'xdvi':

xdvi -paper a4r <file.dvi>

 

4) Create Postscript:

dvips -t landscape <file.dvi>

pdfLaTeX and 'landscape'

To obtain a document in landscape orientation when using pdfLatex, simply add

the line

 

\usepackage[landscape,pdftex]{geometry}

 

somewhere in the header of your LaTeX file. Invoke pdfLatex as usual and

Acrobat reader will then automatically display your document in landscape

orientation.

 

NOTE: The \usepackage-command is ALL you need for this purpose. In particular, don't use "landscape" as documentclass-option, as it won't work in conjunction with the slides-documentclass.


TEXINPUTS

To automatically include personal TeX style files, set the enviroment variable TEXINPUTS. The best place to do this is your personal ~/.cshrc file. Append:

 

setenv TEXINPUTS .:<personal styles directory>:

 

Don't forget the last doublepoint!


LaTeX and the UZH Corparate Design

Copy the example mathletter.tex or

/scratch/templates/mathletter.tex
Example output as PS or PDF. Compile it with
latex
or
pdflatex


TeX & grafic

There are many several ways between (La)TeX and various graphic formats. If you like to create a grafic with a program, 'xfig' is a very good choice. After you draw your grafic, there a several ways to import it in (La)TeX.

Details: http://www.xfig.org/userman/latex_and_xfig.html


LaTeX: split eqnarray over pages

{

\allowdisplaybreaks

\begin{eqnarray}

...

\end{eqnarray}

}

 


How to create PDF Files

Type of source file:

Source

Solaris

Windows

plain ascii (.txt)

use printer 'pdf'

use Printer 'Cute PDF Writer'

TeX / LaTeX (.tex)

TeX & PDF

-

Postscript (.ps)

use printer 'pdf'

start Adobe Acrobat

Star Office (.sdw, .sxw)

use Printer 'pdf'

use Printer 'Cute PDF Writer'

Microsoft Office (.doc)

-

use Printer 'Cute PDF Writer'

 

printer 'pdf': 'lp -d pdf <file>' creates a file "output.pdf" in your home directory.


How to merge PDF files

Via GUI: Use Adobe Acrobat (Windows via SunRay or from Home via SSGD)

 

Via commandline: pdftk (swiss army knife for PDFs)

Example for the commandline to merge file 1.pdf and 2.pdf and 3.pdf to file 1-2-3.pdf.

 

pdftk 1.pdf 2.pdf 3.pdf cat output 1-2-3.pdf

Demonstrate Presentations

  • A Beamer is available for presentations.
  • For reservation please contact our System Administrator


    Creating Presentations (showing via Beamer)

    Create Slides with TeX (foiltex style)
    a) Print on Transparencies.
    b) Demonstrate as PDF File with Acrobat Reader.
    Create Powerpoint Presentations
    a) with Star Office
    b) with MS-Powerpint

    Create Presentations based on LaTeX

    If you only use LaTeX with the foiltex style to create PDF Presentations, you are limited to show complete pages at a time (no showing lines step by step). The program PPower4 gives you more flexibilty. Check the Demo. A full description is available in german and in englisch.


    Try the example:
    % pdflatex ppower4-exm2.tex
    % ppower4 ppower4-exm2.pdf out.pdf
    % acroread out.pdf
    

    Scientific Word can't import Mathematica EPS Files

    Mathematica often creates EPS Files which are not able to import them into SWP. You have to convert these files from EPS to EPS.

     

    eps-mm2swp.sh <file.eps>


    Frutiger Font

    For the UZH letter style you need the Frutiger font. This font is commercial and has been licensed by the UZH. If your are inside of the UZH, you can download it here.

     


  •  
     webmaster