Commit 88064a49 authored by Tarik Graba's avatar Tarik Graba 😷
Browse files

IP-Paris official theme?

parent bac846f2
......@@ -26,14 +26,16 @@
% If you want headline with section list
%\usetheme[infolines]{tptnew}
% default without affiliations
%\usetheme{tptnew}
\usetheme{tptnew}
% If you want to add affiltation logos
%\usetheme[logosaclay]{tptnew}
\usetheme[logoipp]{tptnew}
%\usetheme[logoipp]{tptnew}
% If tpt is affiliated to a new entity, just give the new logos
%\usetheme[affiliation]{tptnew}
%\affiliationlogoinfooter{logo-IPP-small}
% You can also have custom versions
%\usetheme[affiliation, titleaffiliation]{tptnew}
%\affiliationlogoinfooter{logo-IPP-small-red}
%\affiliationlogointitle{logo-IPP-small-red}
%\affiliationlogointitle{logo-IPP-large}
%%------------------------------------------------------------------------------
......
......@@ -10,6 +10,8 @@
\DeclareOption{infolines}{\tpt@infolinestrue}
\newif\iftpt@navsymbols\tpt@navsymbolstrue
\DeclareOption{nonavsymbols}{\tpt@navsymbolsfalse}
\newif\iftpt@titleaffiliation\tpt@titleaffiliationfalse
\DeclareOption{titleaffiliation}{\tpt@titleaffiliationtrue}
\newif\iftpt@affiliation\tpt@affiliationfalse
\DeclareOption{affiliation}{\tpt@affiliationtrue}
\newif\iftpt@logosaclay\tpt@logosaclayfalse
......@@ -29,9 +31,9 @@
\newlength{\titlelogowidth}
\setlength{\titlelogowidth}{2cm}
\newlength{\titleaffiliationlogowidth}
\setlength{\titleaffiliationlogowidth}{3.2cm}
\setlength{\titleaffiliationlogowidth}{2cm}
% le logo de la page de titre
\pgfdeclareimage[width=\titlelogowidth]{LogoFirst}{logo-gray.pdf}
\pgfdeclareimage[width=\titlelogowidth]{LogoFirst}{logo-tp-ipp.pdf}
% pour positionner ce logo par rapport au coin sup. gauche
\newcommand\logoskipv{.12\paperheight}
\newcommand\logoskiph{.10\paperwidth}
......@@ -48,7 +50,7 @@
\setlength{\footerlogoheight}{.05118\paperwidth}
\setlength{\brownblockwidth}{.42\paperwidth}
% Au cas où le nom du ficgier contiendrait des _ on passe par une macro pour modifier
% Au cas où le nom du fichier contiendrait des _ on passe par une macro pour modifier
% son interprétation
\def\affiliationlogoinfooter{\begingroup\catcode`\_=12 \REALaffiliationlogoinfooter}
\newcommand\REALaffiliationlogoinfooter[1]{%
......@@ -62,31 +64,36 @@
\endgroup%
}
% Affiliation par défaut l'upsay
\affiliationlogoinfooter{logo-upsay-e}
\affiliationlogointitle{logo-upsay-violet}
% Affiliation par défaut IP-Paris sans IMT sur page de titre
\iftpt@logoipp
\affiliationlogoinfooter{logo-IPP-small-red}
\affiliationlogointitle{logo-IPP-large}
\affiliationlogoinfooter{logo-IPP-small}
\affiliationlogointitle{logo-IMT}
\tpt@affiliationtrue
\tpt@titleaffiliationtrue
\fi
\iftpt@logosaclay
\affiliationlogoinfooter{logo-upsay-e}
\affiliationlogointitle{logo-upsay-violet}
\tpt@affiliationtrue
\tpt@titleaffiliationtrue
\fi
\iftpt@titleaffiliation
\newcommand\insertTitleAffLogo{\hspace{\logoskiph}\pgfuseimage{titleAffiliation}\vspace{.18\paperheight}}
\else
\newcommand\insertTitleAffLogo{}
\fi
\iftpt@affiliation
\newcommand\insertFirstLogoSaclay{\hspace{\logoskiph}\pgfuseimage{titleAffiliation}\vspace{.18\paperheight}}
\newcommand\insertAffLogo{\hspace{1em}\raisebox{-1.5ex}{\pgfuseimage{footerAffiliation}}\hspace{1em}}
\else
% le logo fait 1cm de haut soit 7.8% des 12.8cm de large d'un beamer 4/3 standard
\setlength{\footerlogoheight}{.07812\paperwidth}
\setlength{\brownblockwidth}{.44\paperwidth}
\newcommand\insertFirstLogoSaclay{}
\newcommand\insertAffLogo{}
\fi
\pgfdeclareimage[width=\footerlogoheight]{logoTPT}{tpt}
\pgfdeclareimage[width=\footerlogoheight]{logoTPT}{tp}
\logo{\pgfuseimage{logoTPT}}
% .3 cm pour un beamer standard de 9.6cm de haut
......@@ -149,7 +156,7 @@
\insertextralogo
}\par%
\vfill{}\vfill{}%
\insertFirstLogoSaclay
\insertTitleAffLogo
\end{minipage}
\end{column}
\begin{column}{.6\paperwidth}
......
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