%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%% This is file `ifmslide.cfg',
%%
%% File: ifmslide.sty Copyright (c) 2000-2010, Thomas Emmel
%%       ifmslide.cfg Copyright (c) 2000-2010, Thomas Emmel
%% <thomas@family-emmel.de>
%%
%
% This package may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.2 or later is part of all distributions of LaTeX 
% version 1999/12/01 or later.
%
% This package consists of the files ifmslide.sty and ifmslide.cfg
%
% PLEASE READ NOTE in ifmslide.sty
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% The configuration file may copied to a local place and changed
% for personal purposes without restriction.
%
% The global configuration file can be modified to set global
% values like the logo and baseurl etc.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% logo for the panel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \panellogo{ifmlogoc}
  \logourl{http://www.mechanik.tu-darmstadt.de}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% buttons for style "button"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \OnButton{button1e}{button1c}
  \OffButton{buttonge}{buttongc}
  \DraftButton{buttonee}{buttonec}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% background. Switch it on or off with \showbackground and
%             \hidebackground
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  \background{athenep1}
  \background{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% hyperref setup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  \hypersetup{baseurl={http://www.mechanik.tu-darmstadt.de/}}
  \hypersetup{pdfcreator={PDFLaTeX with ifmslide}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% colors
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \definecolor{background}{gray}{.8}
    \definecolor{panelbackground}{rgb}{0.1255,0.1608,0.4510}
    \definecolor{frame}{rgb}{0.1255,0.1608,0.4510}
    \if@button
      \definecolor{button}{rgb}{0.1255,0.1608,.4510}
      \definecolor{pagecounter}{rgb}{.3019,.7216,.7019}
    \else  
      \definecolor{pagecounter}{rgb}{0.1255,0.1608,.4510}
      \definecolor{button}{rgb}{.3019,.7216,.7019}
    \fi
  \definecolor{buttondisable}{gray}{.7}
%  \definecolor{section1}{rgb}{.3019,.7216,.7019}
%  \definecolor{section2}{rgb}{0,.5,.7}
%  \definecolor{section3}{rgb}{0,.5,.4}
  \definecolor{section1}{rgb}{0,0,.9}
  \definecolor{section2}{rgb}{0,0.2,.8}
  \definecolor{section3}{rgb}{0,.5,.5}
  \definecolor{section4}{rgb}{0,0,0}
  \definecolor{section5}{rgb}{.5,.5,.3}
  \definecolor{menucolor}{rgb}{1,.25,0}
  \definecolor{paleblue}{rgb}{0,0,0.1}

%% titlepagecolors
  \definecolor{org}{rgb}{0.1255,0.1608,.4510}
  \definecolor{title}{rgb}{0,0,1}
  \definecolor{author}{rgb}{0.1255,0.1608,.4510}
  \definecolor{address}{rgb}{0.1255,0.1608,.4510}
  \definecolor{notes}{rgb}{0.1255,0.1608,.4510}
  \definecolor{url}{rgb}{.1019,.1216,.7019}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% OK, now we have the size.. be careful! 
% 187x270mm is the only realy tested -> for A4 paper. 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \SlideHeightOverAll{187mm}
  \SlideWidthOverAll{270mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% margins inside the main frame l,r,t,b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \setInsideMargin{6mm}{6mm}{4mm}{6mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% size of the panel: width for vertical panel, 
%                    height for horiz. panel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \panelwidth{26mm}
  \panelheight{12mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% and now ladies and gentlemen ... set them free 
% there is a switch for the logo and for the buttons to put them
% to every place on the slide!!! Try it ....
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \releasebutton
\catchbutton
% \releaselogo
\catchlogo

% here are the position and the sizes

%\buttonsize(xmaxsize,ymaxsize)(hshift,vshift)
% hshift and vshift are the distance between the buttons in mm
\buttonsize(13mm,4mm)(10,10)

%\freebutton(xpos,ypos)[direction]
% xpos and ypos in mm, direction is h or v
\freebutton(28,26)[v]

%\freelogo(xpos,ypos)[width]
% xpos and ypos in mm, width of the logo
\freelogo(28,25)[2cm]

% and last but not least the pagecounter - switch it off, it is so lonely
\pagecounter[on] % or [off]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% put a wallpaper behind the panel ...
% This feature is absolute alpha and only added to show the
% possiblities of ifmslide...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%  Clip the last slide to lly,llx,urx,ury (see graphicx)
%           \paneltile[on](0,160,200,200){aqua_ravines}
\paneltile[off](,,,){}% to switch it off