Commit 8d62ebd3 authored by Cédric Ware's avatar Cédric Ware
Browse files

Rationalize: replace old dept with more-generic institute.

parent 8d6400cc
......@@ -71,14 +71,6 @@
\mode<presentation>
%
% Extra metadata commands: \email, \dept.
%
\newcommand\email[1]{\gdef\insertemail{#1}}
\email{}
\newcommand\dept[1]{\gdef\insertdept{#1}}
\dept{}
%
% Définition de longueurs.
%
......@@ -171,7 +163,7 @@
\setbeamercolor{date in title frame}{bg=white,fg=black!40}
\setbeamercolor{page in head/foot}{fg=white,bg=tptred}
\setbeamercolor{date in head/foot}{parent=page in head/foot}
\setbeamercolor{dept in head/foot}{fg=white,bg=black}
\setbeamercolor{institute in head/foot}{fg=white,bg=black}
\setbeamercolor{author in head/foot}{fg=white,bg=tptbrown}
\setbeamercolor{section in head/foot}{bg=white,fg=tptred}
\setbeamercolor{subsection in head/foot}{bg=white,fg=tptbrown}
......@@ -189,7 +181,7 @@
\setbeamerfont{date in title frame}{size*={8}{10}, family=\sffamily}
\setbeamerfont{date in head/foot}{size*={6}{7},series=\sffamily}
\setbeamerfont{page in head/foot}{size*={5}{6},series=\sffamily}
\setbeamerfont{dept in head/foot}{size*={6}{7},series=\sffamily}
\setbeamerfont{institute in head/foot}{size*={6}{7},series=\sffamily}
\setbeamerfont{author in head/foot}{size*={6}{7},series=\sffamily}
\setbeamerfont{frametitle}{size*={14}{18},series=\bfseries}
......@@ -243,7 +235,7 @@
\vspace{.03\paperheight}\par%
\begin{beamercolorbox}[sep=0cm,wd=.6\paperwidth]{title}
\tptfrieze{.2\paperwidth}{.4cm}{%
page in head/foot.bg,dept in head/foot.bg,title in head/foot.bg}
page in head/foot.bg,institute in head/foot.bg,title in head/foot.bg}
\end{beamercolorbox}%
\vspace{.20\paperheight}%
\end{column}
......@@ -319,7 +311,7 @@
\ifx\insertdate\@empty\else\hfill\insertdate\fi
}%
\hspace*{\tptbottomboxsep}%
\tptbottombox{dept in head/foot}{\tptmidbottomboxwidth}{%
\tptbottombox{institute in head/foot}{\tptmidbottomboxwidth}{%
\insertinstitute
}%
\hspace*{\tptbottomboxsep}%
......@@ -384,7 +376,7 @@
\mbox{%
\tptfrieze{%
0.333\tptframetitlefriezewidth}{\tptframetitlefriezeheight}{%
page in head/foot.bg,dept in head/foot.bg,title in head/foot.bg}
page in head/foot.bg,institute in head/foot.bg,title in head/foot.bg}
}\par%
\end{minipage}%
\hspace*{\tptframetitlesep}%
......@@ -413,7 +405,7 @@
\insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}%
\end{beamercolorbox}%
%\par\begin{beamercolorbox}[wd=\paperwidth,ht=1pt]{page in head/foot}\hfill{}\end{beamercolorbox}%
%\par\begin{beamercolorbox}[wd=\paperwidth,ht=1pt]{dept in head/foot}\hfill{}\end{beamercolorbox}%
%\par\begin{beamercolorbox}[wd=\paperwidth,ht=1pt]{institute in head/foot}\hfill{}\end{beamercolorbox}%
%\par\begin{beamercolorbox}[wd=\paperwidth,ht=1pt]{author in head/foot}\hfill{}\end{beamercolorbox}%
\fi%
}
......@@ -470,4 +462,13 @@
\providecommand*\contentsframename{\contentsname}
\providecommand*\contentsname{Outline}% In case Babel not loaded.
%
% Métadonnées supplémentaires pour compatibilité ascendante :
% \email, \dept (alias de \institute).
%
\newcommand\email[1]{\gdef\insertemail{#1}}
\email{}
\newcommand\dept[1]{\institute{#1}}
\mode<all>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment