-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerthemeeegov.sty
101 lines (86 loc) · 2.98 KB
/
beamerthemeeegov.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
\mode<presentation>
\usecolortheme{eegov}
\usefonttheme{eegov}
\RequirePackage{setspace}
\RequirePackage{tikz}
\setbeamertemplate{navigation symbols}{}
\newcommand{\itemBullet}{•}
\setbeamertemplate{itemize item}{\itemBullet}
\setbeamertemplate{itemize subitem}{\itemBullet}
\setbeamertemplate{itemize subsubitem}{\itemBullet}
\AtBeginSection[]
{
\begin{frame}[plain]
\usebeamerfont{section title}
\begin{center}
\insertsection
\end{center}
\end{frame}
}
\newcommand{\thnx}[1][]{%
\begin{frame}
\begin{beamercolorbox}[wd=\paperwidth, ht=.25\paperheight]{fg=black, bg=white}
\begin{beamercolorbox}[ht=.25\paperheight,leftskip=7mm]{bg=white}
\includegraphics[height=18mm,clip=true,trim=3mm 0mm 0mm 0mm]{\logo}
\vskip3mm
\end{beamercolorbox}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth, ht=.75\paperheight]{thx}
\begin{beamercolorbox}[wd=\paperwidth,leftskip=27mm]{author}
\usebeamerfont{title}\okthxbye\\[8mm]
\usebeamerfont{author}\insertauthor\\[.1mm]%
\usebeamerfont{date}\epost\\[32mm]%
\end{beamercolorbox}
\end{beamercolorbox}
\end{frame}
}
\defbeamertemplate*{frametitle}{eegov}[1][]
{
\vskip6mm%
{\Large \insertframetitle}
}
\defbeamertemplate*{title page}{texsx}[1][]
{
\begin{beamercolorbox}[wd=\paperwidth, ht=.25\paperheight]{fg=black, bg=white}
\begin{beamercolorbox}[ht=.25\paperheight,leftskip=7mm]{bg=white}
\includegraphics[height=18mm,clip=true,trim=3mm 0mm 0mm 0mm]{\logo}
\vskip3mm
\end{beamercolorbox}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth, ht=.75\paperheight]{thx}
\vbox to.75\paperheight{
\vskip4mm
\begin{beamercolorbox}[wd=\paperwidth,leftskip=27mm]{author}
% The spacing parameter changes the spacing between paragraphs, not lines. Fix this if you can
\begin{spacing}{1.6}{\usebeamerfont{title}\inserttitle}\end{spacing}
% This is added later: subtitle
\ifx\insertsubtitle\@empty%
\vskip18mm
\else%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\vskip9mm
\fi%
% End subtitle section
%\vskip9mm
\usebeamerfont{author}\insertauthor\\[.1mm]%
\usebeamerfont{institute}\insertinstitute\\[6mm]%
\usebeamerfont{date}\insertdate\\[1mm]%
\end{beamercolorbox}
\vfil}
\end{beamercolorbox}
\tikzset{
every overlay node/.style={
anchor=south east,
},
}
\def\tikzoverlay{%
\tikz[baseline,overlay]\node[every overlay node]
}%
\ifeu
\tikzoverlay at (.9\paperwidth,.1\paperheight) {
\includegraphics[width=.2\paperwidth]{el_struktuuri-ja_investeerimisfondid_horisontaalne.pdf}
};
\fi
}
\newif\ifeu
\mode<all>