/
beamerinnerthemePradita.sty
42 lines (39 loc) · 1.26 KB
/
beamerinnerthemePradita.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
\mode<presentation>
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=orange] (0,0) rectangle(10.05,1.5);
\fill[color=blue!50!cyan!80] (10.05,0) rectangle(\the\paperwidth,10);
\node at (13,5) {\includegraphics[width=6cm, height=10cm]{classFiles/building}};
\node at (2,8) {\includegraphics[width=75.9375pt, height=32.625pt]{classFiles/logo_universitas}};
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
% Title page
\defbeamertemplate*{title page}{Pradita}[1][]
{
\vskip3.2cm%
\begin{beamercolorbox}[wd=12cm,sep=5pt,#1]{subtitle page header}
\usebeamerfont{subtitle}\insertsubtitle\par%
\end{beamercolorbox}%
\vskip0.3cm%
\begin{beamercolorbox}[wd=12cm,sep=5pt,#1]{title page header}
\usebeamerfont{title}\inserttitle\par%
\end{beamercolorbox}%
\vskip0.4cm%
\begin{beamercolorbox}[wd=12cm,#1]{date}
\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
\vskip0.6cm%
\begin{beamercolorbox}[wd=12cm,#1]{author}
\usebeamerfont{author}\insertauthor%
\end{beamercolorbox}
\vfill
}
% Items
\setbeamertemplate{items}[square]
\setbeamertemplate{sections/subsections in toc}[square]
\mode
<all>