2.4. Presentations

Table of Contents

2.4.1. Introduction
2.4.2. Powerdot
2.4.2.1. About
2.4.2.2. How to install
2.4.2.3. How to compile
2.4.2.4. Setting up the presentation
2.4.2.5. Creating slides
2.4.2.6. Adding content to slides
2.4.2.7. Presentation structure
2.4.2.7.1. Making sections
2.4.2.7.2. Making outlines
2.4.2.8. Changing slide style
2.4.2.9. Miscellaneous
2.4.2.10. Resources

2.4.1. Introduction

2.4.2. Powerdot

Table of Contents

2.4.2.1. About
2.4.2.2. How to install
2.4.2.3. How to compile
2.4.2.4. Setting up the presentation
2.4.2.5. Creating slides
2.4.2.6. Adding content to slides
2.4.2.7. Presentation structure
2.4.2.7.1. Making sections
2.4.2.7.2. Making outlines
2.4.2.8. Changing slide style
2.4.2.9. Miscellaneous
2.4.2.10. Resources

2.4.2.1. About

Powerdot is a LaTeX document class that gives you the ability to easily create professional looking presentation slides. The goal of this document class is to make the development of presentations as simple as possible; however, some knowledge of LaTeX is still required.

2.4.2.2. How to install

  • Make your private texmf dir (if necessary)
    $ texconfig conf
    ==================== binaries found by searching $PATH ===================
    tex:       /usr/bin/tex
    etex:      /usr/bin/etex
    dvipdfm:   /usr/bin/dvipdfm
    pdftex:    /usr/bin/pdftex
    omega:     /usr/bin/omega
    mf:        /usr/bin/mf
    mpost:     /usr/bin/mpost
    tcdialog not found.
    dvips:     /usr/bin/dvips
    xdvi:      /usr/bin/xdvi
    kpsewhich: /usr/bin/kpsewhich
    mktexpk:   /usr/bin/mktexpk
    mktextfm:  /usr/bin/mktextfm
    
    =========================== Kpathsea variables ===========================
    TEXMF={/home/george/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf}
    
    =============== environment variables (ok if no output here) =============
    $
    $ mkdir -p $HOME/texmf/dist $HOME/texmf/src
    
  • Install dependencies
    • xkeyval (>=2.5c)
      $ cd $HOME/texmf/dist
      $ wget ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/xkeyval.zip
      $ cd ../src
      $ unzip ../dist/xkeyval.zip
      Archive:  ../dist/xkeyval.zip
         ...
      $ mkdir -p $HOME/texmf/tex/latex/xkeyval
      $ cp -r xkeyval/run/* $HOME/texmf/tex/latex/xkeyval
      
    • xcolor
      $ cd $HOME/texmf/dist
      $ wget ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/xcolor.zip
      $ cd ../src
      $ unzip ../dist/xcolor.zip
      Archive:  ../dist/xcolor.zip
         ...
      $ mkdir -p $HOME/texmf/tex/latex/xcolor
      $ cd xcolor
      $ latex xcolor.ins
      ...
      $ cp -r * $HOME/texmf/tex/latex/xcolor
      
    • enumitem
      $ cd $HOME/texmf/dist
      $ wget ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/enumitem.zip
      $ cd ../src
      $ unzip ../dist/enumitem.zip
      Archive:  ../dist/enumitem.zip
         ...
      $ mkdir -p $HOME/texmf/tex/latex/enumitem
      $ cp -r enumitem/* $HOME/texmf/tex/latex/enumitem
      
    • pstricks
      $ cd $HOME/texmf/dist
      $ wget ftp://tug.ctan.org/pub/tex-archive/graphics/pstricks.zip
      $ cd ../src
      $ unzip ../dist/pstricks.zip
        ...
      $ mkdir -p $HOME/texmf/tex/latex/pstricks
      $ cp -r pstricks/latex/* $HOME/texmf/tex/latex/pstricks
      $ cp -r pstricks/generic/* $HOME/texmf/tex/latex/pstricks
      
  • Install Powerdot
    $ cd $HOME/texmf/dist
    $ wget ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/powerdot.zip
    $ cd ../src
    $ unzip ../dist/powerdot.zip
    Archive:  ../dist/powerdot.zip
       ...
    $ mkdir -p $HOME/texmf/tex/latex/powerdot
    $ cp -r powerdot/run/* $HOME/texmf/tex/latex/powerdot
    

2.4.2.3. How to compile

Example slides are packaged with the Powerdot source. We will use one of the examples to illustrate the process we'll use to generate our presentation.

First, we'll compile powerdot-example1.tex to powerdot-example1.dvi.

$ cd $HOME/texmf/src/powerdot/doc
$ latex powerdot-example1.tex

Next, we'll convert the .dvi to a postscript file.

$ dvips powerdot-example1.dvi -o  powerdot-example1.ps

Finally, we'll convert the .ps to a PDF document for final presentation.

$ ps2pdf powerdot-example1.ps

Now, powerdot-example1.pdf exists, and you can view it with your favorite PDF viewer for a preview of what is to come.

2.4.2.4. Setting up the presentation

Like all other LaTeX documents, presentations are developed in a set of plain text files, and are translated to the presentation format.

Below is a simple example of a Powerdot presentation

\documentclass{powerdot}
\title{My Super Presentation}
\author{Author N. One \and Author N. Two}
\begin{document}
\maketitle
\end{document}
View the output

As you can see, developing a presentation in LaTeX using Powerdot is no different that developing any other LaTeX document. The structure of the above example is the same as any other LaTeX document. Also, like other LaTeX documents, the Powerdot document class accepts a set of optional arguments; however, the defaults will suffice for this discussion.

As you may have noticed, the simple example above contained no slides! The presentation consisted of only one page - the title page. Now we're ready to begin adding content to our presentation. To do this, we'll add a set of slides.

2.4.2.5. Creating slides

Using Powerdot, each slide is contained in a slide environment. The slide environment take one required parameter, the title of the slide.

The example below expands on our simple example above by adding two slides, one titled "Outline" and the other titled "Introduction."

\documentclass{powerdot}
\title{My Super Presentation}
\author{Author N. One \and Author N. Two}
\begin{document}
\maketitle

\begin{slide}{Outline}
\end{slide}

\begin{slide}{Introduction}
\end{slide}

\end{document}
View the output

As you may have guessed, the two slides that have been added are currently empty. In the next section, we will discuss adding context to our slides.

2.4.2.6. Adding content to slides

Text that appears in a slide environment appears on that slide. To include simple text, we might have a slide like the following:

\begin{slide}{Questions}
    Any Questions?
\end{slide}
View the output

We might also want to include an image on our slide. To do this, we use the \includegraphics command you are already familar with:

\begin{slide}{Slide with Image}
    \begin{center}
        Any Questions?\\
        \includegraphics[width=0.3\slidewidth]{logo}
    \end{center}
\end{slide}
View the output

Often we want to include a list of the points we wish to cover in our presentation. To do this we (not surprisingly) use list environments. The list environments itemize and enumerate provided by LaTeX can be used in Powerdot slides as well.

Below is a sample slide which contains a bulleted list:

\begin{slide}{Bulleted List}
    \begin{itemize}
        \item A
        \item B
        \item C
    \end{itemize}
\end{slide}
View the output

The next example contains a numbered list:

\begin{slide}{Numbered List}
    \begin{enumerate}
        \item One
        \item Two
        \item Three
    \end{enumerate}
\end{slide}
View the output

The above slides display all items immediately. In order to insert a delay between items, we use the \pause command:

\begin{slide}{Bulleted List, One Bullet at a Time}
    \begin{itemize}
        \item A \pause
        \item B \pause
        \item C
    \end{itemize}
\end{slide}
View the output

It is also possible to control the order in which the items appear using a special optional parameter to the \item command:

\begin{slide}{Bulleted List, One Bullet at a Time, A, C, B, then all}
    \begin{itemize}
        \item<1,4> A \pause
        \item<3,4> B \pause
        \item<2,4> C
    \end{itemize}
\end{slide}
View the output

Now imagine we wanted to display every item, but we wanted to highlight the bullets which have yet to be covered. To do this, we pass the itemize environment an optional type argument. The default value for this argument is 0, indicating all items should be displayed as active. A value of 1 indicates that only one slide become active at a time.

The following example illustrates the optional type parameter:

\begin{slide}{Bulleted List, One Bullet at a Time, Active/Inactive}
    \begin{itemize}[type=1]
        \item A \pause
        \item B \pause
        \item C
    \end{itemize}
\end{slide}
View the output

Initially, item A is displayed normally and items B and C are grayed out. Next, items A and B are displayed normally and item C is grayed out. Finally, all items are displayed normally.

2.4.2.7. Presentation structure

2.4.2.7.1. Making sections

A set of slides can be organized into one or more sections using the section command. This command will produce a slide with the section's title. Below is a sample which introduces a section named "Background":

\section{Background}
View the output

Like other commands, the section command has several optional arguments. This arguments control whether or not the section produces a slide or not and whether or not the section produces an entry in the table of contents.

2.4.2.7.2. Making outlines

The \tableofcontents command creates an outline of your presentation. Looking back at one of our early examples, we can modify our slide titled "Outline" as follows to automatically produce the outline:

\begin{slide}{Outline}
    \tableofcontents
\end{slide}
View the output

Using optional arguments to the tableofcontents command, you can control the display of the overview. The tableofcontents accepts two optional arguments: type and content.

The type option control whether certain material will be hidden or displayed in the inactive color. This is similar to the type argument to the list environment.

The content option can take one of the following values:

  • all -- Displays a full overview of your presentation including all sections and slides.
  • sections -- Displays only the sections in the presentation.
  • currentsection -- Displays the current section only.
  • future -- Dispalys all content starting from the current slide.
  • futuresections -- Displays all sections, starting from the current section.

Using the tableofcontents command with the content argument, you can include slides which provide progress indicators throughout your presentation.

2.4.2.8. Changing slide style

Earlier we mentioned that the Powerdot document class accepted a number of optional arguments. One of those optional arguments is style. The style argument specifies the style of the slide. There are a number of predefined styles available, which are listed below. Consult the Powerdot Manual for more information on each style.

  • default
  • simple
  • tycja
  • ikeda
  • fyma
  • ciment
  • elcolors
  • aggie
  • husky
  • sailor
  • upen
  • bframe
  • horatio
  • pantings
  • klope
  • jefka
  • pazik

It is also possible to create your own style. I find this is most easily done by starting with one of the predefined slide templates and modifying it.

2.4.2.9. Miscellaneous

The Powerdot LaTeX class has many other features that have not been discussed during this presentation. A brief list of some of those features follows:

  • Inclusion of personal notes
  • Empty slides
  • Bibliography slide
  • Verbatim on slides
  • Two-Column slides

For any of you interested in more information on the above topics, please consult the Powerdot class manual listed in the Resources.

2.4.2.10. Resources