Merge branch 'haskel09talk' of http://git.stderr.nl/matthijs/projects/master-project
[matthijs/master-project/haskell-symposium-talk.git] / beamerinnerthemecaes.sty
1 %%
2 %% beamerinnerthemecaes.sty
3 %%
4 %% Copyright (C) 2008 CAES (http://caes.ewi.utwente.nl)
5 %%
6 %% Authors         : Pascal Wolkotte
7 %% Created On      : March 13 2008
8 %%
9 %% $Author: wolkottept $
10 %% $Date: 2008-03-19 10:33:08 +0100 (Wed, 19 Mar 2008) $
11 %% $Revision: 41 $
12 %% $HeadURL: https://ewi630/svn/general/templates/caes/trunk/beamerinnerthemecaes.sty $
13 %%
14
15 \mode<presentation>
16
17 \setbeamertemplate{sections/subsections in toc}[square]
18
19 \setbeamertemplate{items}[square]
20 \setbeamertemplate{itemize item}{\hbox{\vrule width 1.2ex height 1.2ex}}
21 \setbeamertemplate{itemize subitem}{\hbox{\vrule width 1ex height 1ex}}
22 \setbeamertemplate{itemize subsubitem}{\hbox{\vrule width .8ex height .8ex}}
23
24 \addtolength{\leftmargini}{-.4\labelwidth}
25 \addtolength{\leftmarginii}{-.5\labelwidth}
26 \addtolength{\leftmarginiii}{-.6\labelwidth}
27
28 %\pgfdeclareimage[interpolate=true, height=.1\paperheight]{ctit_logo}{ctit_logo}
29
30 \makeatletter
31
32 \setbeamertemplate{title page}
33 {
34         \begin{centering}
35     \vfill
36     \begin{beamercolorbox}[sep=8pt,center]{title}
37       \usebeamerfont{title}\inserttitle\par%
38       \ifx\insertsubtitle\@empty%
39       \else%
40         \vskip0.25em%
41         {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
42       \fi%     
43     \end{beamercolorbox}%
44     \vskip.5em
45     \begin{beamercolorbox}[sep=8pt,center]{author}
46       \usebeamerfont{author}\insertauthor
47     \end{beamercolorbox}\vskip1em
48                 \ifx\beamer@shortdate\insertdate\else%
49         \begin{beamercolorbox}[sep=4pt,center]{date}
50             \usebeamerfont{date}\insertshortdate
51             \end{beamercolorbox}
52                 \fi
53     \begin{beamercolorbox}[sep=4pt,center]{date}
54       \usebeamerfont{date}\insertdate
55     \end{beamercolorbox}
56 %    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
57     \vfill
58                 \begin{tikzpicture}
59                         \path[use as bounding box] (0,0) rectangle (\textwidth,1pt);
60 %                       \node[above left, inner sep=0pt] at (\textwidth,0) {\pgfuseimage{ctit_logo}};
61                 \end{tikzpicture}
62                 \begin{beamercolorbox}[sep=8pt,center]{institute}
63       \usebeamerfont{institute}\insertinstitute
64     \end{beamercolorbox}
65   \end{centering}
66 }
67 \makeatother
68                         
69 \mode<all>