-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerinnerthemeSimplePlusAIC.sty
140 lines (121 loc) · 4.86 KB
/
beamerinnerthemeSimplePlusAIC.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
\definecolor{sectioncolor}{RGB}{127.5,25,127.5}
\pgfdeclareverticalshading[lower.bg,upper.bg]{bmb@transition}{200cm}{%
color(0pt)=(lower.bg); color(2pt)=(lower.bg); color(4pt)=(lower.bg)}
\setbeamersize{text margin left=2em,text margin right=2em}
% table of contents (overview)
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}{\leavevmode\leftskip=3.2em\rlap{\hskip-2em\inserttocsectionnumber.\inserttocsubsectionnumber}\inserttocsubsection\par}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[default]
\setbeamertemplate{enumerate items}[default]
\setbeamertemplate{frametitle}{\vspace*{0.5em}\bfseries\insertframetitle\par\vskip-10pt\textcolor[rgb]{0.5, 0.1, 0.5}{\rule{\linewidth}{3pt}}\vspace{-0.1em}
\logo {
\begin{tikzpicture}[overlay,remember picture]
\node[left=0.5cm] at (current page.24){
\includegraphics[width=3cm]{logos/Logo_AIC_FEECTU_Holo.png}
};
\end{tikzpicture}
}
%-------------------------
{\usebeamercolor[fg]{titlegraphic}\insertlogo\par}
}
\setbeamertemplate{footline}{%
\begin{beamercolorbox}[sep=0.2em,wd=\paperwidth,leftskip=0.5cm,rightskip=0.5cm,bottom]{footlinecolor}
\begin{minipage}[b]{0.1\textwidth}
\scriptsize{\insertframenumber/\inserttotalframenumber}\hfill
\end{minipage}
\begin{minipage}[b]{0.5\textwidth}
\begin{tikzpicture}[baseline={(0.01,-0.05)}]
\node[rectangle, fill=sectioncolor, minimum width=\paperwidth/2, minimum height=0.5cm, text=white, align=center] at (500,0) {\scriptsize\inserttitle};
\end{tikzpicture}
\end{minipage}
\begin{minipage}[b]{0.4\textwidth}
\begin{tikzpicture}[baseline={(0.01,-0.05)}]
\node[rectangle, fill=sectioncolor, minimum width=\paperwidth/2.5, minimum height=0.5cm, text=white, align=center] at (500,0) {\scriptsize\insertsection};
\end{tikzpicture}
\end{minipage}
\end{beamercolorbox}%
}
% \setbeamertemplate{title page}{
% \vspace{7em}
% \begingroup
% \centering
% % ------------------------
% \begin{beamercolorbox}[sep=8pt,center]{title}
% \usebeamerfont{title}\inserttitle\par%
% \ifx\insertsubtitle\@empty%
% \else%
% \vskip0.25em%
% {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
% \fi%
% \end{beamercolorbox}%
% \vskip0.5em\par
% % ------------------------
% \begin{beamercolorbox}[sep=8pt,center]{author}
% \usebeamerfont{author}\insertauthor
% \end{beamercolorbox}
% \vskip-1em
% % ------------------------
% \begin{beamercolorbox}[sep=8pt,center]{institute}
% \usebeamerfont{institute}\insertinstitute
% \end{beamercolorbox}
% % ------------------------
% \begin{beamercolorbox}[sep=8pt,center]{date}
% \usebeamerfont{date}\insertdate
% \end{beamercolorbox}\vskip0.5em
% %--------------------------
% % Logos on the title page
% \titlegraphic{
% \includesvg[width=2 cm]{logos/logo_FEE-CTU_blue.svg}
% \hspace{2cm}
% \includesvg[width=3 cm]{logos/AIC-logo-blue-vertical.svg}
% }
% {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
% \endgroup
% \vfill
% }
\setbeamertemplate{title page}{
\vspace{8em}
\begingroup
\centering
% ------------------------
\begin{beamercolorbox}[sep=8pt,left]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
\vskip0.5em\par
% ------------------------
\begin{beamercolorbox}[sep=8pt,right]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\vskip-2em
% ------------------------
\vskip4em\par
\begin{beamercolorbox}[sep=8pt,left]{institute}
\usebeamerfont{institute}\insertinstitute
%\hspace*{0.5\linewidth}
%\hspace*{10pt}\hfill
%\usebeamerfont{date}\insertdate
\end{beamercolorbox}
% ------------------------
\begin{beamercolorbox}[sep=5pt,right]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}
%--------------------------
% Logo on the title page
\titlegraphic{
\begin{tikzpicture}[overlay,remember picture]
\node[anchor=north west, outer sep=5pt] at (current page.north west){
\includegraphics[width=3cm]%{logos/Logo_AIC_FEECTU_Holo.png}
{logos/Symbol_AIC_Holo.png}
};
\end{tikzpicture}
}
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
\endgroup
\vfill
}