% Yannick Le Bras
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.

\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/inner/beamerinnerthemetelecom.sty,v 1.20 2007/01/28 20:48:30 tantau Exp $


\mode<presentation>

% Some images:

%\pgfdeclareimage[width=14pt,height=12pt]{TB_quadri}{TB_quadri}
%\pgfdeclareimage[height=1cm]{TB_quadri_2}{TB_quadri_2}
%\pgfdeclareimage[width=2.3cm]{TB_contour}{TB_contour_quadri}
%\pgfdeclareimage[width=2.3cm]{TB_lyon_contour}{TB_lyon_contour}







% Title page: default

\def\partpage{\usebeamertemplate*{part page}}

\defbeamertemplate*{part page}{Telecom}[1][]
{
  	\vskip-7pt
  	\leavevmode%
  \vbox{%
%  	\begin{beamercolorbox}[wd=\paperwidth,ht=1.22cm,#1]{couleurprincipale}
%    \end{beamercolorbox}
%    \vskip-1pt
    \begin{beamercolorbox}[wd=\paperwidth,ht=4.80cm]{couleurprincipale}
    \hbox to 1.22cm{}\setlength{\columnsep}{0pt}
    \setlength{\tabcolsep}{0pt} \begin{tabular}[b]{p{0pt}>{\raggedright}p{0.3\paperwidth}p{0.01\paperwidth}>{\raggedright}p{0.68\paperwidth}}
      \parbox[t]{0cm}{{\vspace{2.58cm}}
}  & \zigspales{3.68cm}%\pgfuseimage{TB_quadri_2}%\includegraphics[width=0.3\paperwidth,height=1cm,viewport=0pt 3pt 10cm 2.8cm]{TB_quadri_2}
      & & \Large\textbf\insertpart\tabularnewline\cline{1-1}
      \end{tabular}
    \end{beamercolorbox}%
    \vskip-1pt
    \begin{beamercolorbox}[wd=\paperwidth,ht=3.58cm]{invertcouleurprincipale}
    \setlength{\columnsep}{0pt}
    \setlength{\tabcolsep}{0pt} \begin{tabular}[b]{p{0pt}>{\raggedright}p{0.3\paperwidth}p{0.01\paperwidth}>{\raggedright}p{0.68\paperwidth}}
      \parbox[t]{0cm}{{\vspace{2.08cm}}
}  & & & \large\textbf\insertsubpart\tabularnewline\cline{1-1}
      \end{tabular}
    \end{beamercolorbox}%
    }%
} 

\makeatletter
\let\Orig@part =\part
\renewcommand{\part}[2]{\Orig@part{#1}\def\insertsubpart{#2}}


\newcommand{\logo@titre}{%
\logocontour{2.3cm}
%\begin{tikzpicture}[remember picture,overlay]%
%%\node[xshift=4.75cm,yshift=-3.4cm+2.75ex,text width=8cm,anchor=north west] at (current page.north west) {\usebeamerfont{title}{\huge\inserttitle}\par%
%%      \ifx\insertsubtitle\@empty%
%%      \else%
%%        \vskip0.25em%
%%        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
%%      \fi%     
%%    \par
%%      \usebeamerfont{author}\insertauthor\par
%%      \usebeamerfont{institute}\insertinstitute\par
%%      \usebeamerfont{date}\insertdate\par
%%    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}};
%\node[xshift=1.20cm,yshift=-1.1cm,anchor=north west] at (current page.north west) {\pgfuseimage{TB_contour_quadri}};
%\end{tikzpicture}
}

\long\def\boxit#1#2{\vbox{\hrule
	\hbox{\vrule\kern#2pt%
		\vbox{\kern#2pt\hbox{#1}\kern#2pt}%
	\kern#2pt\vrule}\hrule}}
	
	
\def\titlepage{\usebeamertemplate*{title page}}
\defbeamertemplate*{title page}{Telecom}[1][]
{	\thispagestyle{empty}
  	\vskip-7pt
		\leavevmode%
	  \vbox{%
%  	\begin{beamercolorbox}[wd=\paperwidth,ht=1.14cm,#1]{couleurprincipale}
%    \end{beamercolorbox}
%    \vskip-2pt
    \begin{beamercolorbox}[wd=12.8cm]{couleurprincipale}
		\vbox to 0pt{%
		\setbox0\hbox{}
		\ht0=7.80cm
		\dp0=0pt
		\box0
		\setbox1\hbox to 12.8cm{
				\hspace{8.72cm}\zigspales{3.68cm}\hfill}
				\ht0=1cm
				\dp0=0pt
				\box1
		}%
		\setbox0=\hbox{}
    \ht0=1.14cm
    \box0
    \setbox0=\hbox to 12.8cm{\setlength{\columnsep}{0pt}
    \setlength{\tabcolsep}{0pt}
    \hspace{1.14cm}\begin{tabular}[b]{>{\raggedright}p{2.3cm}p{1.25cm}>{\raggedright}p{8cm}}
      % FP: ajout du logo d'ALU sur indications de flo
      \logo@titre \par
      & &  \usebeamerfont{title}{\huge\inserttitle}\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \par
      \usebeamerfont{author}\insertauthor\par
      \usebeamerfont{institute}\insertinstitute\par
      \usebeamerfont{date}\insertdate\par
    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
      \end{tabular}}
      \newlength\prof
      \prof=4.36cm
      \advance\prof by -1pt
      \ht0=2.3cm
			\dp0=\prof
      \box0
%    
  %\setbox0=\hbox to 12.8cm{
%
				%\hspace{8.72cm}\zigspales{3.68cm}\hfill}
				%\ht0=1cm
				%\box0
			\setbox0=\hbox{}
			\ht0=1.8cm
			\dp0=0pt
			\box0
			\end{beamercolorbox}
%			\vskip-1pt
%			 \begin{beamercolorbox}[wd=\paperwidth,ht=0.9cm]{couleurprincipale}
%				\end{beamercolorbox}
%    \vskip-1pt
    }
} 


\useitemizeitemtemplate{%
    \tiny\raise.5ex\hbox{\color{couleurprincipale}$\blacksquare$}%
}
\usesubitemizeitemtemplate{%
    \tiny\raise.5ex\hbox{\color{couleurprincipale}$\bullet$}%
}
\usesubsubitemizeitemtemplate{%
    \tiny\raise.5ex\hbox{\color{couleurprincipale}$-$}%
}

\setbeamertemplate{sections/subsections in toc}[ball]



\mode
<all>
