%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% beamerfontthemetechnicolor.sty --- 
%% Author          : Marc Joye
%% Last Modified On: Tue Jul 26 17:25:08 2011
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newif\ifmj@trebuchet\mj@trebuchetfalse
\ifx\undefined\mj@trebuchetfont\else
  \csname mj@trebuchet\mj@trebuchetfont\endcsname
\fi
\DeclareOptionBeamer{trebuchet}[true]{\csname mj@trebuchet#1\endcsname}
\ProcessOptionsBeamer

% Better than default police but should be updated with Trebuchet-MS.
% See file beamerthemetechnicolor.sty
\RequirePackage[T1]{fontenc}
\RequirePackage{helvet}

\ifmj@trebuchet\renewcommand{\sfdefault}{trebuchet}\fi


\mode<presentation>

\setbeamerfont{structure}{series=\bfseries}
\setbeamerfont{title}{size=\Large,series=\mdseries}
\setbeamerfont{author}{size=\footnotesize,series=\mdseries}
\setbeamerfont{part name}{size=\Large,series=\mdseries}
\setbeamerfont{part title}{size=\large,series=\mdseries}
\setbeamerfont{frametitle}{size=\Large,series=\mdseries}
%\setbeamerfont{section in toc}{series=\mdseries}
\setbeamerfont{block title}{size={}}


\mode<all>