-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemeLE2IUTBM.sty
70 lines (58 loc) · 2.32 KB
/
beamerthemeLE2IUTBM.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
% Copyright (c) 2014-15 Stephane GALLAND <[email protected]>
%
% UTBM logo and name are registered and owned by the
% "Universite de Technology of Belfort-Montbeliard".
%
% LE2I logo and name are registered and owned by the
% "Universite de Bourgogne".
%
% CNRS logo and name are registered and owned by the
% "Centre National de la Recherche Scientifique".
%
% This program is free library; you can redistribute it and/or modify
% it under the terms of the GNU Lesser General Public License as
% published by the Free Software Foundation; either version 3 of the
% License, or any later version.
%
% This library is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
% Lesser General Public License for more details.
%
% You should have received a copy of the GNU Lesser General Public
% License along with this library; see the file COPYING. If not,
% write to the Free Software Foundation, Inc., 59 Temple Place - Suite
% 330, Boston, MA 02111-1307, USA.
%
\ProvidesPackage{beamerthemeLE2IUTBM}
[2015/09/01 Beamer 'LE2I at UTBM' Theme]
\RequirePackage{ifthen}
\newboolean{beamer@theme@leiiutbm@hascovers}
\setboolean{beamer@theme@leiiutbm@hascovers}{true}
\gdef\beamer@theme@leiiutbm@lang{Java}
\DeclareOptionBeamer{language}{\gdef\beamer@theme@leiiutbm@lang{#1}}
\DeclareOptionBeamer{nocover}{\setboolean{beamer@theme@leiiutbm@hascovers}{false}}
%\ExecuteOptionsBeamer{left}
\ProcessOptionsBeamer
\RequirePackage{beamerbasethemeLE2IUTBM}
\mode<presentation>
\usefonttheme{LE2IUTBM}
\usecolortheme{LE2IUTBM}
\useinnertheme[language=\beamer@theme@leiiutbm@lang]{LE2IUTBM}
\useoutertheme{LE2IUTBM}
\setbeamercovered{dynamic}
\AtBeginDocument{
\ifthenelse{\boolean{beamer@theme@leiiutbm@hascovers}}{%
\usebackgroundtemplate{} % do not put a background here because of a rendering bug of beamer. See "title page" template insteed.
\frame{\maketitle}
}{}
\usebackgroundtemplate{\ifbeamer@plainframe\else\beamer@theme@leiiutbm@outer@background\fi}
\setbeamertemplate{footline}{\beamer@theme@leiiutbm@outer@footline}
}
\AtEndDocument{%
\ifthenelse{\boolean{beamer@theme@leiiutbm@hascovers}}{%
\beamer@theme@leiiutbm@thanksslide%
}{}
}
\mode
<all>