%-----------------------------------------------------------------------------%
% $Id: ref3.tex,v 1.9 2003/12/18 20:55:40 pandr Exp $
%-----------------------------------------------------------------------------%

\chapter{Controlling Appearance\label{apperanceI}}

%  Slides, items, paragraphs and more
%  =slide, =item, =par and other things needed to create the 'structure'
%  of a slide.

A presentation (or a slide-show) consists of a preamble followed by a number of
slides. 

For instance, the \pll{} code 

\begin{verbatim}
=background_color(0.05,0.05,0.15,1)

=slide Welcome!
=center Please take a seat
=par Coffee is served in the furthest leftmost corner of the room; \
  Toilets are located in the corridor to your left.
  
=slide Agenda
=item Introduction
=item The problem
=subitem Setup
=subitem Problem Formulation
=item Possible Solutions
=subitem An Optimal Solution
=subitem A Greedy Heuristic
=subitem Other heuristics
=item Consequences
=item Discussion and Wrap Up
=begin-par 
  Feel free to interrupt at any time.  Post-presentation 
  comments and suggestions mailed to me will be 
  distributed through the mailing-list.
=end-par
\end{verbatim}

contains a preamble setting up the background color and two subsequent
slides: A welcome-slide and an agenda-slide.  This example contains
almost all the major \pll{} commands controlling the overall appearance
of the content of a slide-show. Thus, it serves as reference for the
description below.

\section{Scoping Revisited}
Any \pll{} command \pllcommand{foo} may consider more than just the material
following it on the line as its operand.  In order to do so, the commands
\pllcommand{begin-foo} and \pllcommand{end-foo} should be used, between which
the operand may span multiple lines.

\section{Slides\label{slide}}
The command \pllcommand{slide} is used to indicate a new slide.  If
\pllcommand{slide} is appended with text (cf.\ example above), this text is
used as the headline for the slide.  Otherwise, a slide with no headline is
produced.

\section{Paragraphs\label{par}}
The command \pllcommand{par} is used to make a paragraph of text. The text
appending \pllcommand{par} is split into multiple lines of output, if the width
does not allow for a single line of output.

\section{Listings \label{items}}
Listings are produced by issuing a number of item-commands \pllcommand{item},
\pllcommand{subitem} or \pllcommand{subsubitem} in succession.  Each such
command produce

\begin{itemize}
\item an indentation (zero for \pllcommand{item}),
\item a marker, and
\item a paragraph containing the text after the item-command.
\end{itemize}

\section{Breaking Text Into Lines\label{textbreaking}}
\Pointless{} use a very simple greedy algorithm for breaking larger portions of
text into lines: Lines are set top-down; words are moved to the beginning of
the next line if it does not fit on the end of the current.

\section{Tables}
\Pointless{} allows you to specify tables. 
There are three commands that used to setup tables, namely
\pllcommand{table}, \pllcommand{row} and \pllcommand{cel}. An example
is given below:

\begin{verbatim}
=begin-table
=row The quick brown fox =cel baz
=row cdr =cel bar
=row quux =cel foo
=end-table
\end{verbatim}

It should be mentioned that if you need advanced
tables, you might prefer to use \LaTeX{} instead and 
described later.
