/
beamerouterthemePradita.sty
79 lines (74 loc) · 2.6 KB
/
beamerouterthemePradita.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
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{Pradita}[1][]
{
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,\the\paperheight);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, black,font=\huge\bfseries] at (1.2,0.4){\insertframetitle};}
\else%
{\node[anchor= west, black,font=\huge\bfseries] at (1.2,0.61){\insertframetitle};%
\node[anchor= west, black,font=\small] at (1.2,0.21){\insertframesubtitle};}%
\fi
\fill[orange] (1.3, -0.5) rectangle(3, -0.6);
\fill[orange] (0,-10) rectangle(\the\paperwidth,-7);
\node at (13.5,0.3) {\includegraphics[width=75.9375pt, height=32.625pt]{classFiles/logo_universitas}};
\end{tikzpicture}
\end{beamercolorbox}
\vskip-1cm
}
\newenvironment{frame2}{%
\setbeamertemplate{background}{%
\begin{tikzpicture}%
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,\the\paperheight);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, black,font=\huge\bfseries] at (1,6.5){\insertframetitle};}
\else%
{\node[anchor= west, black,font=\huge\bfseries] at (1.6,5.1){\insertframetitle};%
\node[anchor= west, black,font=\small] at (1.6,4.8){\insertframesubtitle};}%
\fi
\fill[orange] (1, 5.9) rectangle(3, 6);
\fill[orange] (12,0) rectangle(18,\the\paperheight);
\node at (2.3,8) {\includegraphics[width=75.9375pt, height=32.625pt]{classFiles/logo_universitas}};
\end{tikzpicture}%
}%
\setbeamertemplate{frametitle}{%
\vspace*{0.5cm}% Adjust as needed
}%
\begin{frame}%
}{%
\end{frame}%
}
\newenvironment{frame3}{%
\setbeamertemplate{background}{%
\begin{tikzpicture}%
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[orange] (0,0) rectangle(0.5\paperwidth,\the\paperheight);
\node at (13.5,8) {\includegraphics[width=75.9375pt, height=32.625pt]{classFiles/logo_universitas}};
\end{tikzpicture}%
}%
\setbeamertemplate{frametitle}{%
\vspace*{0.5cm}% Adjust as needed
}%
\begin{frame}%
}{%
\end{frame}%
}
\newenvironment{frame4}{%
\setbeamertemplate{background}{%
\begin{tikzpicture}%
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[orange] (0,0) rectangle(0.5\paperwidth,\the\paperheight);
\node[anchor=west, white,font=\Huge\bfseries] at (1,0.5\paperheight){\insertframetitle};
\node at (13,5) {\includegraphics[width=10cm, height=10cm]{classFiles/buildingbnw}};
\end{tikzpicture}%
}%
\setbeamertemplate{frametitle}{%
\vspace*{0.5cm}% Adjust as needed
}%
\begin{frame}%
}{%
\end{frame}%
}
\mode<all>