-
Notifications
You must be signed in to change notification settings - Fork 3
/
beamerinnerthemedesy.sty
116 lines (89 loc) · 3.27 KB
/
beamerinnerthemedesy.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/inner/beamerinnerthemedesy.sty,v 1.0 2011/08/01 Jan Hajer $
\RequirePackage{framed}
\RequirePackage{perpage}
\newcommand{\result}{-\hspace{-.2em}>}
% \renewcommand{\thefootnote}{\fnsymbol{footnote}}
\MakePerPage{footnote}
\mode<presentation>
% title page
\defbeamertemplate*{title page}{\string~/Library/texmf/tex/latex/desy/logos/desy}{
\vspace{-4ex}
\begin{beamercolorbox}[leftskip=1em, sep=.5ex, wd=\paperwidth]{title}\par\par
\usebeamerfont{title}\inserttitle
\usebeamercolor[fg]{the unknown}\huge\textrm{.}\par
\end{beamercolorbox}
%\begin{beamercolorbox}[leftskip=.6em, sep=.5ex, wd=\paperwidth]{subtitle}
% \usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par
%\end{beamercolorbox}
%\vfill
\hfill\begin{beamercolorbox}[sep=.5ex, center, wd=\paperwidth]{titlegraphic}
\inserttitlegraphic
\end{beamercolorbox}
%\vfill
%\vskip8.5ex
%\vskip.5ex
\begin{beamercolorbox}[sep=.5ex,wd=\paperwidth,leftskip=.5\paperwidth]{author}
%\begin{beamercolorbox}[]{author}
\usebeamercolor[fg]{author}\centering\usebeamerfont{author}\insertauthor\par
\vspace{1mm}
\usebeamercolor[fg]{institute}\usebeamerfont{institute}\insertinstitute\par
\vspace{1mm}
\usebeamercolor[fg]{date}\usebeamerfont{date}\insertdate\par
\end{beamercolorbox}
\vfill
%\vskip-20ex
%\vskip3ex
\includegraphics[height=7.5ex]{\string~/Library/texmf/tex/latex/desy/logos/cms-logo}
\hspace{3mm}
\includegraphics[height=7.5ex]{\string~/Library/texmf/tex/latex/desy/logos/BMBF.png}
\hfill
\includegraphics[height=7.5ex]{\string~/Library/texmf/tex/latex/desy/logos/helmh.jpg}
\hspace{3mm}
\includegraphics[height=7.5ex]{\string~/Library/texmf/tex/latex/desy/logos/uhh-logo}
\hspace{3mm}
\includegraphics[height=7.5ex]{\string~/Library/texmf/tex/latex/desy/logos/desy}
}
% (sub-)section in toc: default
\setbeamertemplate{section in toc}{
\usebeamerfont{section in toc}
\usebeamercolor[fg]{local structure}\textgreater\
\usebeamercolor[fg]{structure}\inserttocsection\par
}
\setbeamertemplate{subsection in toc}[square]
\setbeamertemplate{subsubsection in toc}{}
% toc at begin of section
\def \sectionwotoc {2}
\AtBeginSection[]{
\ifnum \value{section} = \sectionwotoc
\else
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
\fi
}
\addtobeamertemplate{frame}{
\transdissolve
}
% (sub-)section in toc shaded, default
\setbeamertemplate{section in toc shaded}
{\begin{colormixin}{46.6667!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip}
\setbeamertemplate{subsection in toc shaded}
{\begin{colormixin}{46.6667!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip}
\setbeamertemplate{subsubsection in toc shaded}
{\begin{colormixin}{46.6667!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip}
% caption
\setbeamertemplate{caption}{
\raggedright
\insertcaption\par
}
% bibliography
\setbeamertemplate{bibliography entry article}{}
\setbeamertemplate{bibliography entry title}{}
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}
\mode<all>
% items
\setbeamertemplate{items}{\textgreater}
\setbeamertemplate{itemize subitem,itemize subsubitem}[square]
\setbeamertemplate{bibliography item}{\textgreater}