LPD LATEX Tutorial


Felix Gärtner

3 June 2003

Remark: This file was produced from the original LaTeX slides using latex2html to make some portions of text available for copy and paste.  The typographical finesses can only be viewed on the original pdf file, which is available at http://lpdwww.epfl.ch/fgaertner/latex/latex-tutorial.pdf

Goals

This material is available at http://lpdwww.epfl.ch/fgaertner/latex

Book Printing vs. Ordinary Typing [Knu90, Ch. 2]

Controlling TEX [Knu90, Ch. 3]

Grouping [Knu90, Ch. 5]

How TEX reads what you type [Knu90, Ch. 7]



You can insert linebreaks at any point in a paragraph without
ending it. If you need a paragraph, insert one (or more) blank
lines.

You can use the rules to structure the input text. If you have
a displayed math formula, you can write
%
$$x + y = z$$
%
to visually separate it in the input file. If necessary, you
can also avoid spaces at the end of line like in th%
is example. You can also indent text to follow grouping:

\begin{center}
\begin{large}
This is the major title
\end{large}

and this the subtitle
\end{center}

And you can use empty lines to visually separate items in
lists:
%
\begin{itemize}

\item Empty lines before and after items are ignored

\item So it looks much better in the input file. You can
use indentation here too.

\end{itemize}
%
You can visually separate the following lines without inserting
a paragraph.



Logical Markup vs. Visual Markup

Defining your own Logical Markup

Popular Logical Markup for LPD

    \usepackage{latexsym}% for \Diamond
\newcommand{\eventually}{\Diamond}
\newcommand{\textcal}[1]{{\cal #1}}
\newcommand{\perfect}{\textcal{P}}

Creating Graphics with xfig

Including Metapost Figures

Example Figure


Going PDF

Other Useful Things

Bibliography


Chi93
The Chicago Manual of Style.
The University of Chicago Press, forteenth edition, 1993.

GMS93
Michael Goossens, Frank Mittelbach, and Alexander Samarin.
The LATEX Companion.
Addison-Wesley, Reading, MA, Reading, MA, USA, 1993.

Knu90
Donald E. Knuth.
The TEXbook.
Addison-Wesley, Reading, MA, 1990.

About this document ...

This document was generated using the LaTeX2HTML translator Version 2002 (1.62)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 -nonavigation latex

The translation was initiated by on 2003-06-03


2003-06-03