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
577615a7
Commit
577615a7
authored
Feb 11, 2019
by
Tarik Graba
😷
Browse files
Default affiliation did not really work...
parent
54b40501
Changes
2
Hide whitespace changes
Inline
Side-by-side
model.tex
View file @
577615a7
...
...
@@ -29,8 +29,8 @@
\usetheme
[tptaffiliation]
{
tptnew
}
%\usetheme{tptnew}
% If tpt is affiliated to a new entity, just give the new logos
\affiliationlogoinfooter
{
IPP-small
}
\affiliationlogointitle
{
IPP-small-red
}
%
\affiliationlogoinfooter{IPP-small}
%
\affiliationlogointitle{IPP-small-red}
%%------------------------------------------------------------------------------
...
...
texinputs/beamerthemetptnew.sty
View file @
577615a7
...
...
@@ -37,17 +37,20 @@
\newlength
{
\brownblockwidth
}
% Pour Modifier les logos des affiliations
% Il faut que footerlogoheight soit défini avant qu'on l'utilise... Ici la valeur avec affiliation
% Quand le logo des affiliations est utilisé, il faut réduire la taille à 5% de la largeur de la slide
\setlength
{
\footerlogoheight
}{
.05118
\paperwidth
}
\setlength
{
\brownblockwidth
}{
.42
\paperwidth
}
% Au cas où le nom du ficgier contiendrait des _ on passe par une macro pour modifier
% son interprétation
\def\affiliationlogoinfooter
{
\begingroup\catcode
`
\_
=12
\REALaffiliationlogoinfooter
}
\newcommand\REALaffiliationlogoinfooter
[1]
{
%
\pgfdeclareimage
[height=\footerlogoheight]
{
footerAffiliation
}{
#1
}
%
\endgroup
%
}
\def\affiliationlogointitle
{
\begingroup\catcode
`
\_
=12
\REALaffiliationlogointitle
}
\newcommand\REALaffiliationlogointitle
[1]
{
%
\pgfdeclareimage
[width=\titlelogowidth]
{
titleAffiliation
}{
#1
}
%
\endgroup
%
...
...
@@ -58,9 +61,6 @@
\affiliationlogointitle
{
logo-upsay-violet
}
\iftpt
@tptaffiliation
% Quand le logo des affiliations est utilisé, il faut réduire la taille à 5% de la largeur de la slide
\setlength
{
\footerlogoheight
}{
.05118
\paperwidth
}
\setlength
{
\brownblockwidth
}{
.42
\paperwidth
}
\newcommand\insertFirstLogoSaclay
{
\hspace
{
\logoskiph
}
\pgfuseimage
{
titleAffiliation
}
\vspace
{
.18
\paperheight
}}
\newcommand\insertAffLogo
{
\hspace
{
1em
}
\raisebox
{
-1.5ex
}{
\pgfuseimage
{
footerAffiliation
}}
\hspace
{
1em
}}
\else
...
...
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