%% 
%%  An UIT Edition example
%%  
%%  1st edition
%% 
%%  Example 02-10-6 on page 43.
%% 
%%  Copyright (C) 2012 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 2,4,9

\documentclass[hlsections]{exapd}
\pagestyle{empty}
\usepackage[utf8]{inputenc}
%\StartShownPreambleCommands
\usepackage{amsmath,esint}
\pddefinetemplate[basic]{slide}{%
 textpos={15pt,0.8\slideheight},toctcolor=pdcolor1,tochlcolor=pdcolor1,
 tochltcolor=pdcolor3,tocorient=h,tochook=lB,tocpos={10pt,2ex},
 tocwidth=0.15\slidewidth,tocsecm=, lftemp=}{}
\makeatletter
\def\pd@tocslide#1{}
\def\pd@tocdisplay#1{\edef\@tempa{#1}\ifx\@tempa\empty\makebox[5pt]{%
 \pscircle[linecolor=blue](0,0){3pt}}\else\hskip\@tempdima
  \begin{minipage}[b]\@tempdimb \pd@usedtocfont\color\pd@@toctcolor#1\end{minipage}%
 \fi}
\def\pd@tochighlight#1{\edef\@tempa{#1}\ifx\@tempa\empty\makebox[5pt]{%
 \pscircle*[linecolor=blue](0,0){3pt}}
 \else\psframebox*[framesep=\pd@@tocfrsep,fillcolor=\pd@@tochlcolor,boxsep=false]{%
  \hskip\@tempdima\begin{minipage}[b]\@tempdimb \pd@usedtocfont\color\pd@@tochltcolor#1%
  \end{minipage}}\fi}
\makeatother
%\StopShownPreambleCommands
\begin{document}
\title{The structure of scientific work} \author{Jana Voß \quad Herbert Voß}
\date{17/3/2009}
\maketitle  \input{pd-demo-default}
\end{document}
