%% 
%%  An UIT Edition example
%%  
%%  1st edition
%% 
%%  Example 03-04-1 on page 63.
%% 
%%  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) 1,2,3,4

\documentclass[style=simple]{exapd}
\pagestyle{empty}
\usepackage[utf8]{inputenc}
\usepackage{etex}
\newlength\LogoWidth\setlength\LogoWidth{2.5cm}
%\StartShownPreambleCommands
\definecolor{pdcolor1}{rgb}{.17,.31,.44}  \definecolor{pdcolor2}{rgb}{.75,.85,.92}
\definecolor{pdcolor3}{rgb}{.9,.95,.98}
\pddefinetemplate{titleslide}{%
  titlefont=\large\bfseries\centering,
  texthook=t,
  textpos={.5\slidewidth,.7\slideheight},
  textwidth=.9\slidewidth,
  textfont=\centering,
  textheight=.6\slideheight}{}
\pddefinetemplate{basic}{%
  titlepos={1.1\LogoWidth,.93\slideheight},
  titlewidth=.75\slidewidth,
  textheight=.68\slideheight,
  titlefont=\large\bfseries\raggedright,
  lfpos={.03\slidewidth,.04\slideheight},
  rfpos={.97\slidewidth,.04\slideheight},
  tocslidesep=2pt,
  toctcolor=pdcolor1,
  tochlcolor=-pdcolor2,
  tochltcolor=-pdcolor3,
  textpos={.2\slidewidth,.83\slideheight},
  textwidth=.75\slidewidth
}{%
  \psframe*[linecolor=pdcolor3,linewidth=0pt](0,\slideheight)(\slidewidth,0)%
  \psline[linewidth=2pt](\LogoWidth,0.89\slideheight)(\slidewidth,0.89\slideheight)
  \pdsetup{logohook=lt,
           logopos={0,\slideheight},
           logocmd={\includegraphics[width=\LogoWidth]{FUlogo}}}}
\pddefinetemplate[basic]{slide}{%
  tocpos={1mm,.75\slideheight},
  tocwidth=\LogoWidth,
  tocsecm={\rput(-1mm,0){%
             \psline[linewidth=.5pt,linecolor=pdcolor1](0,-2pt)(\LogoWidth,-2pt)}}
}{\psframe[fillstyle=solid,
           fillcolor=pdcolor2,
           linestyle=none,
           linewidth=0pt](0,0)(0.999\LogoWidth,\slideheight)}
\usepackage{amsmath,esint}
%\StopShownPreambleCommands
\begin{document}
\title{Scientific writing}
\author{Dipl. Frank.-Wiss. Jana Voß \quad Dr.-Ing. Herbert Voß}
\date{\today}
\maketitle
\input{pd-demo}
\end{document}
