Fix typos
[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 %
33 %
34 % The \committee command
35 %
36 %
37 \def\committee{\@dblarg\beamer@committee}
38 \long\def\beamer@committee[#1]#2{%
39   \def\beamer@temp{#2}%
40   \ifx\beamer@temp\@empty
41     \def\insertcommittee{}
42   \else
43     \def\insertcommittee{\def\inst{\beamer@committee}\def\and{\beamer@andcommittee}#2}%
44   \fi
45  \def\beamer@shortcommittee{#1}}
46 \committee{}
47
48 \def\beamer@instcommittee#1{{\donotcoloroutermaths$^{#1}$}\ignorespaces}
49 \def\beamer@andcommittee{\\[1em]}
50
51 \newcommand\insertshortcommittee[1][]{%
52   {%
53     \let\thanks=\@gobble%
54     \def\inst{\beamer@committeeother}\def\and{\beamer@andcommittee}%
55     \beamer@setupshort{#1}%
56     \beamer@insertshort{\beamer@shortcommittee}%
57   }}
58
59
60 \setbeamertemplate{title page}
61 {
62         \begin{centering}
63     \vskip2em%
64     \begin{beamercolorbox}[sep=8pt,center]{title}
65       \usebeamerfont{title}\inserttitle\par%
66       \ifx\insertsubtitle\@empty%
67       \else%
68         \vskip0.25em%
69         {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
70       \fi%     
71     \end{beamercolorbox}%
72     \vskip.5em
73     \begin{beamercolorbox}[sep=8pt,center]{author}
74       \usebeamerfont{author}\insertauthor
75     \end{beamercolorbox}\vskip1em
76                 \ifx\beamer@shortdate\insertdate\else%
77         \begin{beamercolorbox}[sep=4pt,center]{date}
78             \usebeamerfont{date}\insertshortdate
79             \end{beamercolorbox}
80                 \fi
81     \begin{beamercolorbox}[sep=4pt,center]{date}
82       \usebeamerfont{date}\insertcommittee
83     \end{beamercolorbox}
84 %    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
85     \vfill
86                 \begin{tikzpicture}
87                         \path[use as bounding box] (0,0) rectangle (\textwidth,1pt);
88 %                       \node[above left, inner sep=0pt] at (\textwidth,0) {\pgfuseimage{ctit_logo}};
89                 \end{tikzpicture}
90                 \begin{beamercolorbox}[sep=8pt,center]{institute}
91       \usebeamerfont{institute}\insertinstitute
92     \end{beamercolorbox}
93   \end{centering}
94 }
95 \makeatother
96                         
97 \mode<all>