-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbeamerinnerthemeICL.sty
executable file
·77 lines (59 loc) · 1.84 KB
/
beamerinnerthemeICL.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
% Copyright Hartwig Anzt <[email protected]>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.
\ProvidesPackage{beamerinnerthemeICL}
\RequirePackage{ICL-Bullet}
\usepackage{beamerinnerthemerounded}
\mode<presentation>
\defbeamertemplate*{title page}{ICL}[1][]
{
\begin{pgfpicture}
\pgftext[bottom, left,%
at={%
\pgfpoint{-2\ICL@margin}{1.12\ICL@titlebottom}%
}]{%
\parbox{\paperwidth}{%
\textcolor{black}{\usebeamerfont{title}
\inserttitle}}}
\pgftext[top, left, %
at={%
\pgfpointadd{%
\pgfpoint{-\ICL@margin}{1.14\ICL@titlebottom}}{%
\pgfpoint{0pt}{-\ICL@titlesubtitlesep}}%
}]{%
\parbox{\paperwidth}{%
\textcolor{black}{
\ifx\insertsubtitle\@empty%
\else%
\usebeamerfont{subtitle}\insertsubtitle\\[1.7ex]
\fi%
\usebeamerfont{author}\insertauthor\\%[1ex]
\ifx\insertdate\@empty%
\else%
%\hspace{0.5ex}\raisebox{-0.3ex}{\rule{0.7pt}{2ex}}\hspace{0.5ex}\insertdate%
% \location\hspace{0.3ex} \textbullet{}\hspace{0.3ex} \insertdate%
\insertdate
\fi%
}%
}%
}
\pgftext[left,%
at={%
\pgfpointadd{%
\pgfpoint{-\ICL@margin}{\ICL@titlebottom}}{%
\pgfpoint{0pt}{-1.05\ICL@titleinstitutesep}}%
}]{%
\parbox{\paperwidth}{%
\textcolor{white}{\usebeamerfont{institute}\insertinstitute}%
}%
}
\end{pgfpicture}
}
\defbeamertemplate*{itemize item}{ICL}{\raise0.1ex\hbox{\ICLBullet[1.2ex]}}
\defbeamertemplate*{itemize subitem}{ICL}{\raise0.2ex\hbox{\ICLBullet[1.0ex]}}
\defbeamertemplate*{itemize subsubitem}{ICL}{\raise0.3ex\hbox{\ICLBullet[0.8ex]}}
\setbeamertemplate{items}[ICL]
\setbeamertemplate{sections/subsections in toc}[circle]
\mode
<all>