Beruflich Dokumente
Kultur Dokumente
What is LaTex?
TeX is a typesetter
You
TeX
LaTeX
Advantages
g of LaTex
Professional typesetting
yp
g
Best output
Disadvantages
g of LaTex
Hard
Hard to write disorganized documents
documents*
Learning Curve
C
Customizing
i i iis tedious.
di
LaTex Paradigm
g
A Simple
p LaTex Document
\documentclass{article}
\begin{document}
This is some sample text.
text
\end{document}
Another Sample
p
\documentclass{article}
\title{Simple Example}
\author{Andrei Gurtov}
\date{March 2000}
\begin{document}
\maketitle
Hello
ll world!
ld!
\end{document}
Document Class
Predefined Formats (article, report, book,..).
Packages used
Added Functionality (graphics, reference style,...).
Main Body
y
Text and Bibliography References.
Basics
Document Class
\documentclass[options]{class}
options = a4paper, 11pt, 12pt, 10pt, twocolumn, landscape,...
class = article,
article report,
report book,...
book
Packages
\usepackage{package name}
epsfig = insert PS pictures into the document
fancyhdr = easy definition of footer and header
Body
y of Text
Format
Sections
\section{}
= 1. Latex is Great
\subsection{}
= 1.1 Why Latex is Great
\subsubsection{} = 1.1.1 Reason One
\appendix - changes numbering scheme
\chapter{}
\chapter{ } - To be used with book and report
document classes
\author{}
Format (Contd.)
(
)
It i
Itemize
Font Size
\tiny \scriptsize
\footnotesize
\small \normalsize
\large \Large
\
\LARGE
\h
\huge
\Huge
Mathematics
Calculus
\i t 0^\i ft
\int_0^\infty
\frac{\partial u}{\partial x}
\i t{\i t}
\int{\int}
Mathematics (Contd)
(
)
x = \frac{-b \pm \sqrt{b^2-4ac} } {2a}
Figures
g
& Tables
\begin{figure}
\includegraphics{sample}
\\caption{A
p
{ sample
p figure.}
g }
\end{figure}
Images
g
\usepackage{epsfig}
\epsfig{file=filename.eps,
width 10cm height
width=10cm,
height=9cm,
9cm angle
angle=90}
90}
Bibliography
g p y
\begin{thebibliography}{}
\bibitem[Come95]{Come95} Comer,
D E.,
D.
E {\it Internetworking with TCP/IP:
Principles, Protocols and Architecture},
volume
l
1
1, 3rd
3 d edition.
di i Prentice-Hall,
P
i H ll
1995.
\end{thebibliography}
Output
p Formats
.dvi
.ps
.pdf
pdf
.rtf
.html
ht l
.xml
Device Independent
Post Script
PDF
Rich Text Format
HTML
XML
Benefits
A
Automatic
i fi
figure numbering
b i
Closure