Commit bac846f2 authored by Tarik Graba's avatar Tarik Graba 😷
Browse files

Default options for upsay/ipp

parent 577615a7
......@@ -25,12 +25,15 @@
\mode<presentation>
% If you want headline with section list
%\usetheme[infolines]{tptnew}
% If you want to add affiltation logos
\usetheme[tptaffiliation]{tptnew}
% default without affiliations
%\usetheme{tptnew}
% If you want to add affiltation logos
%\usetheme[logosaclay]{tptnew}
\usetheme[logoipp]{tptnew}
% If tpt is affiliated to a new entity, just give the new logos
%\affiliationlogoinfooter{IPP-small}
%\affiliationlogointitle{IPP-small-red}
%\usetheme[affiliation]{tptnew}
%\affiliationlogoinfooter{logo-IPP-small}
%\affiliationlogointitle{logo-IPP-small-red}
%%------------------------------------------------------------------------------
......@@ -60,7 +63,7 @@
\author{Graba Tarik}
\institute{COMELEC--SEN}
% Additional logo in the title page
\extralogo{\includegraphics[width=2.5cm]{IPP-large}}
\extralogo{\includegraphics[width=2cm]{logo-cnrs}}
\date{}
%------------------------------------------------------------------------------
\begin{document}
......
......@@ -10,8 +10,12 @@
\DeclareOption{infolines}{\tpt@infolinestrue}
\newif\iftpt@navsymbols\tpt@navsymbolstrue
\DeclareOption{nonavsymbols}{\tpt@navsymbolsfalse}
\newif\iftpt@tptaffiliation\tpt@tptaffiliationfalse
\DeclareOption{tptaffiliation}{\tpt@tptaffiliationtrue}
\newif\iftpt@affiliation\tpt@affiliationfalse
\DeclareOption{affiliation}{\tpt@affiliationtrue}
\newif\iftpt@logosaclay\tpt@logosaclayfalse
\DeclareOption{logosaclay}{\tpt@logosaclaytrue}
\newif\iftpt@logoipp\tpt@logoippfalse
\DeclareOption{logoipp}{\tpt@logoipptrue}
\ProcessOptions
%
......@@ -24,6 +28,8 @@
\newlength{\titlelogowidth}
\setlength{\titlelogowidth}{2cm}
\newlength{\titleaffiliationlogowidth}
\setlength{\titleaffiliationlogowidth}{3.2cm}
% le logo de la page de titre
\pgfdeclareimage[width=\titlelogowidth]{LogoFirst}{logo-gray.pdf}
% pour positionner ce logo par rapport au coin sup. gauche
......@@ -52,7 +58,7 @@
\def\affiliationlogointitle{\begingroup\catcode`\_=12 \REALaffiliationlogointitle}
\newcommand\REALaffiliationlogointitle[1]{%
\pgfdeclareimage[width=\titlelogowidth]{titleAffiliation}{#1}%
\pgfdeclareimage[width=\titleaffiliationlogowidth]{titleAffiliation}{#1}%
\endgroup%
}
......@@ -60,7 +66,16 @@
\affiliationlogoinfooter{logo-upsay-e}
\affiliationlogointitle{logo-upsay-violet}
\iftpt@tptaffiliation
\iftpt@logoipp
\affiliationlogoinfooter{logo-IPP-small-red}
\affiliationlogointitle{logo-IPP-large}
\tpt@affiliationtrue
\fi
\iftpt@logosaclay
\tpt@affiliationtrue
\fi
\iftpt@affiliation
\newcommand\insertFirstLogoSaclay{\hspace{\logoskiph}\pgfuseimage{titleAffiliation}\vspace{.18\paperheight}}
\newcommand\insertAffLogo{\hspace{1em}\raisebox{-1.5ex}{\pgfuseimage{footerAffiliation}}\hspace{1em}}
\else
......
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