%% 
%%  An UIT Edition example
%%  
%%  1st edition
%% 
%%  Example 02-10-1 on page 40.
%% 
%%  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

\documentclass[size=12pt,paper=screen,mode=present,style=simple,nopagebreaks]{exapd}
\pagestyle{empty}
\usepackage[utf8]{inputenc}
%\StartShownPreambleCommands
\pddefinetemplate{slide}{%
 textpos={0,.9\slideheight},textwidth=\slidewidth,
 textheight=.8\slideheight}{%
 \psframe*[linecolor=green!50](0,.9\slideheight)%
    (\slidewidth,0.92\slideheight)
 \psframe*[linecolor=blue!50](0,.1\slideheight)%
    (\slidewidth,0.08\slideheight)}
%\StopShownPreambleCommands
\begin{document}
\begin{slide}{Template}
left\hfill right \vspace*{\fill}
\begin{center}a custom template\end{center}
\vspace{\fill} left\hfill right
\end{slide}
\end{document}
