\ProvidesPackageRCS $Header: /local/reps/dirac/papers/Soutenance/styles/beamerthemevincent.sty,v 1.5 2005/11/25 22:20:25 vgaronne Exp $

\DeclareOptionBeamer{compress}{\beamer@compresstrue}
\ProcessOptionsBeamer

\mode<presentation>
\usefonttheme[onlylarge]{structureitalicserif}
\usefonttheme[onlysmall]{structuresmallcapsserif}
\setbeamercolor{section in head/foot}{use=structure,bg=structure.fg!25!bg}
\setbeamertemplate{frametitle}[default][center]
\setbeamertemplate{sections/subsections in toc}[sections numbered]
\setbeamertemplate{headline}[default]

%\useoutertheme{default}
%\useoutertheme{infolines}
%\useoutertheme{smoothtree}
%\useoutertheme{smoothbars}
%\useoutertheme{tree}
%\useoutertheme{split}
%\useoutertheme[subsection=false]{miniframes}

\defbeamertemplate*{footline}{infolines theme}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
  \end{beamercolorbox}}%
  \vskip0pt%
}

%\setbeamertemplate{footline}
%{
%\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
%   \end{beamercolorbox}
%  \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
%      leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}
%     \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%      
%      \leavevmode{\usebeamercolor[fg]{title  in head/foot}\usebeamerfont{title in head/foot}\inserttitle}
%       \leavevmode{\usebeamercolor[fg]{date in head/foot}\usebeamerfont{date  in head/foot}\insertdate}
%      \hfill
%       {\usebeamercolor[fg]{page number in head/foot} \usebeamerfont{page number in head/foot} \hfill  \insertpagenumber\,/\,\insertpresentationendpage\kern1em\vskip2pt}
%      {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
%   \end{beamercolorbox}%
%  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
%    \end{beamercolorbox}
%{ \usebeamercolor[fg]{page number in head/foot} \usebeamerfont{page number in head/foot} \hfill  \insertpagenumber\,/\,\insertpresentationendpage\kern1em\vskip2pt}
%}

\AtBeginDocument{
{
    \usebeamercolor{section in head/foot}
}
  
 \pgfdeclareverticalshading{beamer@headfade}{\paperwidth}
  {%
    color(0cm)=(bg);
    color(1.25cm)=(section in head/foot.bg)%
  }

 \setbeamercolor{section in head/foot}{bg=}
}

\addtoheadtemplate{\pgfuseshading{beamer@headfade}\vskip-1.25cm}{}

\beamertemplatedotitem

\mode
<all>