Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Germain-C2S
Beamer TPT NG
Commits
88064a49
Commit
88064a49
authored
Jun 03, 2019
by
Tarik Graba
😷
Browse files
IP-Paris official theme?
parent
bac846f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
model.tex
View file @
88064a49
...
...
@@ -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}
%%------------------------------------------------------------------------------
...
...
texinputs/beamerthemetptnew.sty
View file @
88064a49
...
...
@@ -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 fic
g
ier contiendrait des _ on passe par une macro pour modifier
% Au cas où le nom du fic
h
ier 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-I
PP-large
}
\affiliationlogoinfooter
{
logo-IPP-small
}
\affiliationlogointitle
{
logo-I
MT
}
\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
}{
tp
t
}
\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
{}
%
\insert
FirstLogoSaclay
\insert
TitleAffLogo
\end{minipage}
\end{column}
\begin{column}
{
.6
\paperwidth
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment