-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbeamerinnerthemeage.sty
52 lines (42 loc) · 1.19 KB
/
beamerinnerthemeage.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
% See the file LICENSE for more details.
\mode<presentation>
% Set square items
\setbeamertemplate{sections/subsections in toc}[square]
\setbeamertemplate{items}[square]
% Add rules to title page
\defbeamertemplate{title}{age}[1][]{%
\begin{beamercolorbox}[sep=8pt,center,#1]{title}
\textcolor{secondary}{\rule{\textwidth}{1pt}}\\[0.5\baselineskip]%
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\textcolor{secondary}{\rule{\textwidth}{1pt}}%
\end{beamercolorbox}%
}
\defbeamertemplate*{title page}{age}[1][]
{
\vbox{}
\vfill
\begingroup
\centering
\usebeamertemplate{title}
\vskip0.75em\par
\usebeamertemplate{author}
\usebeamertemplate{institute}
\usebeamertemplate{date}
\usebeamertemplate{titlegraphic}
\endgroup
\vfill
}[action]{
\setbeamertemplate{title}[age][#1]
\setbeamertemplate{author}[default][#1]
\setbeamertemplate{institute}[default][#1]
\setbeamertemplate{date}[default][#1]
\setbeamertemplate{titlegraphic}[default]
}
\setbeamertemplate{blocks}[rounded][shadow=true]
\mode
<all>