diff --git a/texinputs/beamerthemetptnew.sty b/texinputs/beamerthemetptnew.sty index 6334a0afb345235f87433366210a93aa277278b8..c725190a3427c797d5308a5a9523889d29518c3b 100644 --- a/texinputs/beamerthemetptnew.sty +++ b/texinputs/beamerthemetptnew.sty @@ -22,10 +22,16 @@ \pgfdeclareimage[width=\paperwidth,height=\paperheight]{BgdFirst}{fond.pdf} -\newcommand\logoheight{1cm} +% le logo fait 1cm de haut soit 7.8% des 12.8cm de large d'un beamer 4/3 standard +\newcommand\logoheight{.07812\paperwidth} \pgfdeclareimage[width=\logoheight]{logoTPT}{tpt} \logo{\pgfuseimage{logoTPT}} +% .3 cm pour un beamer standard de 9.6cm de haut +\newcommand\footlineheight{0.03125\paperheight} + +% 1mm pour un beamer standard de 12.8cm de large +\newcommand\footlinespacing{0.0078125\paperwidth} % % Fonts and colors. @@ -124,26 +130,26 @@ \end{beamercolorbox} \vskip -14pt% \hbox{% - \begin{beamercolorbox}[left,wd=.15\paperwidth,ht=.3cm,dp=1.5ex]{page in head/foot}% + \begin{beamercolorbox}[left,wd=.15\paperwidth,ht=\footlineheight,dp=1.5ex]{page in head/foot}% \hspace*{3ex}% \usebeamerfont{author in head/foot}\insertframenumber{}/\inserttotalframenumber% \hfill{}% \end{beamercolorbox}% - \hspace*{1ex}% + \hspace*{\footlinespacing}% \hfill{}% - \begin{beamercolorbox}[wd=.27\paperwidth,ht=.3cm,dp=1.5ex,leftskip=1em,rightskip=1em]{dept in head/foot}% + \begin{beamercolorbox}[wd=.27\paperwidth,ht=\footlineheight,dp=1.5ex,leftskip=1em,rightskip=1em]{dept in head/foot}% \hfill{}% \usebeamerfont{dept in head/foot}\insertdept% \hfill{}\hfill{}% \end{beamercolorbox}% - \hspace*{1ex}% + \hspace*{\footlinespacing}% \hfill{}% - \begin{beamercolorbox}[wd=.45\paperwidth,ht=.3cm,dp=1.5ex,leftskip=.3cm,rightskip=1ex]{title in head/foot}% + \begin{beamercolorbox}[wd=.46\paperwidth,ht=\footlineheight,dp=1.5ex,leftskip=.3cm,rightskip=1ex]{title in head/foot}% \usebeamerfont{author in head/foot}\insertshortauthor% \hfill{}% \usebeamerfont{date in head/foot}\insertshortdate% \end{beamercolorbox} - \hspace*{1ex}% + \hspace*{\footlinespacing}% \hfill{}% \raisebox{-1.5ex}{\insertlogo}% le logo }%