This material is available at http://lpdwww.epfl.ch/fgaertner/latex
"
), typographic
quote marks are directed:
``I understand.''yields: ``I understand.''
--
' ---
' $-$
'
\
'
\
<typesetting command>'
\TeX
' means `typeset the TEX logo'
\"
' means `put accent over following character'
\'
' or `\`
' \TeX ignores spaces after control words.
gives: TEXignores spaces after control words.
the logo `\TeX'
' \TeX\ is good
' \TeX~is good
'
{
' and `}
' can be used
for grouping, similar to a scope. {\large larger text} and smaller
'
instead of `\large larger text \normalsize and smaller
' \TeX{}
'
\textit{This is italics.}
\textit{This is \textbf{bold}.}
' \textit\TeX{}
' \textit This is italics
' \textitThis is italics
'
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.
{
' and `}
'
&
' and `#
' ^
' and `_
' \&
'
for `&'
\textit{emphasized}
'
\emph{emphasized}
'
Consensus is defined using two primitive operations propose and decide. If a process invokes we say that it proposed .
Consensus is defined using two primitive operations
\textit{propose} and \textit{decide}. If a process
invokes $propose(v)$ we say that it proposed $v$.
Consensus is defined using two primitive operations propose and decide. If a process invokes we say that it proposed .
$propose$
' is the product of
,
, ... not the identifier `propose' (awfull spacing). Look for
example at `
' vs. `definitely'.
Consensus is defined using two primitive
operations \primitive{propose} and
\primitive{decide}. If a process invokes
$\primitive{propose}(v)$ we say that it
proposed $v$.
\documentclass{article}
...
\newcommand{\primitive}[1]{\textit{#1}}
...
\begin{document}
...
\primitive{x}
' is now a macro substitution.
Note separation of logical and visual roles of the text.
\usepackage{latexsym}% for \Diamond
\newcommand{\eventually}{\Diamond}
\newcommand{\textcal}[1]{{\cal #1}}
\newcommand{\perfect}{\textcal{P}}
Solving consensus is possible using $\eventually\perfect$.yields:
Solving consensus is possible using .
\documentclass{article}
\usepackage[dvips]{graphicx}% note the `cx'
...
\begin{document}
...
\begin{center}% figure can be scaled etc.
\includegraphics[scale=0.7]{graph.0}
\end{center}
...
% to make Metapost figures useable in pdflatex
% and normal latex (include as `file.0')
\ifx\pdftexversion\undefined
\usepackage[dvips]{graphicx}
\else
\usepackage[pdftex]{graphicx}
\DeclareGraphicsRule{*}{mps}{*}{}
\fi
\epsfig
'
with calls to `\includegraphics
' \includegraphics
' will choose
the ``right'' file.
\includegraphics{graph}
'
will automatically choose the right file depending whether you invoke
latex or pdflatex.
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