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
bac846f2
Commit
bac846f2
authored
Feb 11, 2019
by
Tarik Graba
😷
Browse files
Default options for upsay/ipp
parent
577615a7
Changes
5
Hide whitespace changes
Inline
Side-by-side
model.tex
View file @
bac846f2
...
...
@@ -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
.5
cm]
{
IPP-large
}}
\extralogo
{
\includegraphics
[width=2cm]
{
logo-cnrs
}}
\date
{}
%------------------------------------------------------------------------------
\begin{document}
...
...
texinputs/beamerthemetptnew.sty
View file @
bac846f2
...
...
@@ -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=\title
affiliation
logowidth]
{
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
...
...
texinputs/IPP-large.png
→
texinputs/
logo-
IPP-large.png
View file @
bac846f2
File moved
texinputs/IPP-small-red.png
→
texinputs/
logo-
IPP-small-red.png
View file @
bac846f2
File moved
texinputs/IPP-small.png
→
texinputs/
logo-
IPP-small.png
View file @
bac846f2
File moved
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