Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Beamer TPT NG
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
latex
Beamer TPT NG
Commits
6e632e42
Commit
6e632e42
authored
10 years ago
by
Tarik Graba
Browse files
Options
Downloads
Patches
Plain Diff
Makes footline blocks proportionals to the page size
parent
22b7ec00
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
texinputs/beamerthemetptnew.sty
+13
-7
13 additions, 7 deletions
texinputs/beamerthemetptnew.sty
with
13 additions
and
7 deletions
texinputs/beamerthemetptnew.sty
+
13
−
7
View file @
6e632e42
...
...
@@ -22,10 +22,16 @@
\pgfdeclareimage
[width=\paperwidth,height=\paperheight]
{
BgdFirst
}{
fond.pdf
}
\newcommand\logoheight
{
1cm
}
% le logo fait 1cm de haut soit 7.8% des 12.8cm de large d'un beamer 4/3 standard
\newcommand\logoheight
{
.07812
\paperwidth
}
\pgfdeclareimage
[width=\logoheight]
{
logoTPT
}{
tpt
}
\logo
{
\pgfuseimage
{
logoTPT
}}
% .3 cm pour un beamer standard de 9.6cm de haut
\newcommand\footlineheight
{
0.03125
\paperheight
}
% 1mm pour un beamer standard de 12.8cm de large
\newcommand\footlinespacing
{
0.0078125
\paperwidth
}
%
% Fonts and colors.
...
...
@@ -124,26 +130,26 @@
\end{beamercolorbox}
\vskip
-14pt
%
\hbox
{
%
\begin{beamercolorbox}
[left,wd=.15
\paperwidth
,ht=
.3cm
,dp=1.5ex]
{
page in head/foot
}
%
\begin{beamercolorbox}
[left,wd=.15
\paperwidth
,ht=
\footlineheight
,dp=1.5ex]
{
page in head/foot
}
%
\hspace*
{
3ex
}
%
\usebeamerfont
{
author in head/foot
}
\insertframenumber
{}
/
\inserttotalframenumber
%
\hfill
{}
%
\end{beamercolorbox}
%
\hspace*
{
1ex
}
%
\hspace*
{
\footlinespacing
}
%
\hfill
{}
%
\begin{beamercolorbox}
[wd=.27
\paperwidth
,ht=
.3cm
,dp=1.5ex,leftskip=1em,rightskip=1em]
{
dept in head/foot
}
%
\begin{beamercolorbox}
[wd=.27
\paperwidth
,ht=
\footlineheight
,dp=1.5ex,leftskip=1em,rightskip=1em]
{
dept in head/foot
}
%
\hfill
{}
%
\usebeamerfont
{
dept in head/foot
}
\insertdept
%
\hfill
{}
\hfill
{}
%
\end{beamercolorbox}
%
\hspace*
{
1ex
}
%
\hspace*
{
\footlinespacing
}
%
\hfill
{}
%
\begin{beamercolorbox}
[wd=.4
5
\paperwidth
,ht=
.3cm
,dp=1.5ex,leftskip=.3cm,rightskip=1ex]
{
title in head/foot
}
%
\begin{beamercolorbox}
[wd=.4
6
\paperwidth
,ht=
\footlineheight
,dp=1.5ex,leftskip=.3cm,rightskip=1ex]
{
title in head/foot
}
%
\usebeamerfont
{
author in head/foot
}
\insertshortauthor
%
\hfill
{}
%
\usebeamerfont
{
date in head/foot
}
\insertshortdate
%
\end{beamercolorbox}
\hspace*
{
1ex
}
%
\hspace*
{
\footlinespacing
}
%
\hfill
{}
%
\raisebox
{
-1.5ex
}{
\insertlogo
}
% le logo
}
%
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment