-
Notifications
You must be signed in to change notification settings - Fork 1
/
beamerinnerthemele2i.sty
73 lines (65 loc) · 2.71 KB
/
beamerinnerthemele2i.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
71
72
73
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% LE2I beamer template
%% Guillaume Lemaitre, October 2014
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=orounam] (0,0) rectangle(\the\paperwidth, \the\paperheight);
\fill[color=azulunam] (0,0) rectangle(0.59\paperwidth, \the\paperheight);
\fill[color=azulunam] (0.60\paperwidth,0.41\paperheight) rectangle(\the\paperwidth, \the\paperheight);
\fill[color=azulunam] (0.77\paperwidth,0) rectangle(\the\paperwidth, 0.40\paperheight);
\fill[color=azulunam] (0.60\paperwidth,0) rectangle(0.76\paperwidth, 0.23\paperheight);
\fill[color=azulunam] (0.60\paperwidth, 0.24\paperheight) rectangle(0.69\paperwidth, 0.40\paperheight);
\fill[color=azulunam] (0.70\paperwidth, 0.31\paperheight) rectangle(0.76\paperwidth, 0.40\paperheight);
\fill[color=azulunam] (0.72\paperwidth, 0.24\paperheight) rectangle(0.76\paperwidth, 0.30\paperheight);
\fill[color=azulunam] (0.70\paperwidth, 0.24\paperheight) rectangle(0.71\paperwidth, 0.28\paperheight);
\ifnum\thepage>1\relax%
\fill[nicewhite, opacity=1] (0,0) rectangle(\the\paperwidth, \the\paperheight);
\fi
\end{tikzpicture}
}
\setbeamerfont{date}{size=\small, shape=\upshape}
\setbeamerfont{title}{size=\huge, shape=\scshape}
\setbeamerfont{institute}{size=\tiny, shape=\itshape}
% Definition of the introduction page
\defbeamertemplate*{title page}{le2i}[1][]
{
\begin{textblock}{9}(0.2,2.5)
% Insert the title of the presentation
\begin{beamercolorbox}[center,sep=1pt,#1]{title page header}
\usebeamerfont{title}\inserttitle\par
\end{beamercolorbox}
\end{textblock}
\vskip4.5cm
\begin{beamercolorbox}[wd=6cm,leftskip=0cm,#1]{author}
% Insert the authors of the presentation
\usebeamerfont{date}\insertauthor
\end{beamercolorbox}
\vskip0.1cm
\begin{beamercolorbox}[wd=6cm, #1]{institute}
% Insert the name of the institution
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
\begin{textblock}{6}(9.3,5)
\begin{beamercolorbox}[right]{date}
% Insert the date
\usebeamerfont{date}\insertdate
\end{beamercolorbox}
\end{textblock}
\begin{textblock}{4}(12.9,11.8)
% Insert the white logo of the LE2I
\includegraphics[width=2cm]{\logoblanco}
\end{textblock}
\begin{textblock}{4}(9.8,13.5)
% Insert the logo of the Universite de Bourgogne
\includegraphics[width=1.5cm]{\logoub}
\end{textblock}
\vfill
}
% Setting the table of content aspect
\setbeamertemplate{sections/subsections in toc}[circle]
% Setting the itemize environment
\setbeamertemplate{items}[triangle]
\mode<all>