Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 7733
1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% Copyright 2010 Jasper Bosch <[email protected]> %
3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
% Some parts of this theme are based on the 'diepentheme' %
5
% by Guido Diepen <[email protected]> %
6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
\RequirePackage{calc}
8
\RequirePackage{tikz}
9
10
% link to the backgroundimage, default is blackboard.png
11
% image should be in the same directory as the other files
12
\def\blackboard@backgroundimagefile{blackboard}
13
\DeclareOptionBeamer{backgroundimagefile}{\def\blackboard@backgroundimagefile{#1}}
14
\ProcessOptionsBeamer
15
16
\mode<presentation>
17
18
\pgfdeclareimage[interpolate=true, height=\the\paperheight, width=\the\paperwidth]{backgroundImage}{\blackboard@backgroundimagefile}
19
20
% stretch background image over the entire page
21
\setbeamertemplate{background}{
22
\begin{tikzpicture}
23
\useasboundingbox (0,0) rectangle (\the\paperwidth, \the\paperheight);
24
\pgftext[at=\pgfpoint{0cm}{0cm}, left, base]{\pgfuseimage{backgroundImage}};
25
\end{tikzpicture}
26
}
27
28
% use a small dash ('-') for a bulletpoint list
29
\setbeamertemplate{itemize item}{\usebeamercolor[fg]{item}\small\ECFAugie{-}}
30
31
\defbeamertemplate*{frametitle}{blackboard theme}[1][left]
32
{
33
\begin{beamercolorbox}{frametitle}
34
\vskip17pt
35
\usebeamerfont{my frametitle}
36
\insertframetitle \\
37
\usebeamerfont{framesubtitle}\insertframesubtitle
38
\end{beamercolorbox}
39
}
40