Presentation is loading. Please wait.

Presentation is loading. Please wait.

LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo

Similar presentations


Presentation on theme: "LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo"— Presentation transcript:

1

2 LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo
just something for crazy (nerdy) people with lots of equations and math symbols

3 LaTeX is... document markup language
document preparation system for TeX typesetting collection of TeX macros plain text with formatting cmds WYMIWYG (mean)

4 Basic Concept write text in editor of your choice (*.tex)
compile (latex) results in *.aux, *.log and *.dvi file convert dvi to ps, pdf, etc or create pdf directly from source (pdflatex) done!

5 LaTeX - What Do You Need? editor of your choice
WinEdt (compiles and generates pdf for you) LaTeX environment (UNIX) MikTeX (WIN)

6 LaTeX Document Structure
\documentclass{article} (article, report, book, letter) preamble \begin{document} body \end{document}

7 LaTeX Title Page \title{This Is My Title} \author{Martin Klein}
\date{16. May 2007} \date{} - to leave it out %\date{} - to have LaTeX do it \maketitle (in body)

8 LaTeX Structures \chapter{Name of the Chapter} (not in article)
\section{My Section} \subsection{A Subsection} \subsubsection{Subsubsection} \tableofcontents (in body) e.g. \section*{without numbering, not in index}

9 Some LaTeX Commands \begin{verbatim} ... \textbf{bold text}
\textit{text in italics} \texttt{teletype} \scriptsize - 7pt \small - 9pt \normalsize - 10pt \large - 12pt \Large - 14pt \begin{verbatim} ... \end{verbatim} \begin{itemize} \item my item \end{itemize} \begin{enumerate}.... \item first item \end{enumerate}

10 Equations in LaTeX \begin{equation} ... \end{equation}
\begin{eqnarray} ... \\ ... \end{eqnarray} $ ... $ \label{mylabel}

11 Tables in LaTeX \begin{table} \centering
\begin{tabular}{rlc} (|c|c|c|) columns divided by ‘&’ rows end with ‘\\’ \end{tabular} \caption{mycaption} \label{mylabel} \end{table}

12 Figures in LaTeX \usepackage{graphicx} (in preamble) \begin{figure}
\centering \includegraphics{filename} (pdf, png, jpg) \caption{...} \label{...} \end{figure}

13 EPS Figures in LaTeX \usepackage{epsfig} (in preamble)
\epsfig{file=epsfig.eps, scale=0.6} use: latex, dvips/dvipdf(m), ps2pdf/pstopdf use: ‘convert fig.png eps3:fig.eps’

14 Referencing in LaTeX \ref{mylabel} for figures, tables, (sub)sections, equations \begin{figure} \label{mylabel} \end{figure} \section{mysection} \label{mylabel}

15 Citations in LaTeX data about cited paper stored in .bib file
\cite{mypaperid} before \end{document} \bibliographystyle{abbrv} \bibliography{mybibfile} bibtex command creates .bbl file latex, bibtex, latex, latex

16 Sample BibTeX File Structure
@inproceedings{bergmark:paper, author = {Donna Bergmark}, title = {Collection synthesis}, booktitle = {JCDL '02: Proceedings of the 2nd ACM/IEEE-CS Joint Conference on DL}, year = {2002}, isbn = { }, pages = { }, location = {Portland, Oregon, USA}, doi = { } @article{bekaert:didl, author = {Jeroen Bekaert and Patrick Hochstenbach and Herbert {Van de Sompel}}, title = {Using {MPEG-21 DIDL} to Represent Complex Digital Objects in the {L}os {A}lamos {N}ational {L}aboratory Digital Library}, journal = {D-Lib Magazine}, volume = {9}, number = {11}, month = {November}, year = {2003}, note = "{doi: /november2003-bekaert}"

17 Books about LaTeX Lamport: “LaTeX: A Document Preparation System” 2nd/dp/ /ref=pd_bbs_sr_1/ ?ie=UTF8&s=books&qid= &sr=8-1 Kopka: “Guide to LaTeX” Typesetting/dp/ /ref=pd_bxgy_b_img_b/ ?ie=UTF8&qid= &sr=8-1 Mittelbach: “LaTeX Companion” Typesetting/dp/ /ref=pd_bxgy_b_img_b/ ?ie=UTF8&qid= &sr=8-1


Download ppt "LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo"

Similar presentations


Ads by Google