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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
%%
%% This is file `beamerouterthemefibeamer-mu.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% base.dtx (with options: `outer')
%%
%% Copyright 2015 Vít Novotný <witiko@mail.muni.cz>
%% Faculty of Informatics, Masaryk University (Brno, Czech Republic)
%%
%% This work is based on the (Unofficial) University of Manchester
%% Beamer Theme by Andrew Mundy <andrew.mundy@cs.man.ac.uk>.
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version
%% 1.3 of this license or (at your option) any later version.
%% The latest version of this license is available at
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Vít Novotný (VN).
%% Send bug reports, requests for additions and questions
%% either to the fithesis discussion forum at
%%
%% http://is.muni.cz/auth/df/fithesis-sazba/
%%
%% or to the e-mail address <witiko@mail.muni.cz>.
%%
%%
%% MODIFICATION ADVICE:
%%
%% If you want to customize this file, it is best to make a copy of
%% the source file(s) from which it was produced. Use a different
%% name for your copy(ies) and modify the copy(ies); this will ensure
%% that your modifications do not get overwritten when you install a
%% new release of the standard system. You should also ensure that
%% your modified source file does not generate any modified file with
%% the same name as a standard file.
%%
%% You will also need to produce your own, suitably named, .ins file to
%% control the generation of files from your source file; this file
%% should contain your own preambles for the files it generates, not
%% those in the standard .ins files.
%%
%% The names of the source files used are shown above.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fibeamer/theme/mu/%
beamerouterthemefibeamer-mu}[2016/01/12]
\mode<presentation>
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
\ifpdf\else
\@ifundefined{pdfpagewidth}{\newdimen\pdfpagewidth}{}
\@ifundefined{pdfpageheight}{\newdimen\pdfpageheight}{}
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\fi
\RequirePackage{tikz}
\RequirePackage{pgfcore}
\newlength\fibeamer@lengths@baseunit
\fibeamer@lengths@baseunit=3.75mm
% The footer padding
\newlength\fibeamer@lengths@footerpad
\setlength\fibeamer@lengths@footerpad{%
\fibeamer@lengths@baseunit}
% The side margins
\newlength\fibeamer@lengths@margin
\setlength\fibeamer@lengths@margin{%
3\fibeamer@lengths@baseunit}
\setbeamersize{
text margin left=\fibeamer@lengths@margin,
text margin right=\fibeamer@lengths@margin}
% The upper margin
\newlength\fibeamer@lengths@titleline
\setlength\fibeamer@lengths@titleline{%
3\fibeamer@lengths@baseunit}
% The background clipping
\newlength\fibeamer@lengths@clipbottom
\setlength\fibeamer@lengths@clipbottom\paperwidth
\addtolength\fibeamer@lengths@clipbottom{-\paperheight}
\setlength\fibeamer@lengths@clipbottom{%
0.5\fibeamer@lengths@clipbottom}
\newlength\fibeamer@lengths@cliptop
\setlength\fibeamer@lengths@cliptop\paperwidth
\addtolength\fibeamer@lengths@cliptop{%
-\fibeamer@lengths@clipbottom}
% The logo size
\newlength\fibeamer@lengths@logowidth
\setlength\fibeamer@lengths@logowidth{%
14\fibeamer@lengths@baseunit}
\newlength\fibeamer@lengths@logoheight
\setlength\fibeamer@lengths@logoheight{%
0.4\fibeamer@lengths@logowidth}
\defbeamertemplate*{navigation symbols}{fibeamer}{}
\defbeamertemplate*{headline}{fibeamer}{}
\defbeamertemplate*{frametitle}{fibeamer}{%
\vskip-1em % Align the text with the top border
\vskip\fibeamer@lengths@titleline
\usebeamercolor[fg]{frametitle}%
\usebeamerfont{frametitle}%
\insertframetitle\par%
\usebeamercolor[fg]{framesubtitle}%
\usebeamerfont{framesubtitle}%
\insertframesubtitle}
\defbeamertemplate*{footline}{fibeamer}{%
\ifnum\c@framenumber=0\else%
\begin{tikzpicture}[overlay]
\node[anchor=south east,
yshift=\fibeamer@lengths@footerpad,
xshift=-\fibeamer@lengths@footerpad] at
(current page.south east) {
\usebeamercolor[fg]{framenumber}%
\usebeamerfont{framenumber}%
\insertframenumber/\inserttotalframenumber};
\end{tikzpicture}
\fi}
\defbeamertemplate*{title page}{fibeamer}{%
% This is slide 0
\setcounter{framenumber}{0}
% Input the university logo
\begin{tikzpicture}[
remember picture,
overlay,
xshift=0.5\fibeamer@lengths@logowidth,
yshift=0.5\fibeamer@lengths@logoheight
]
\node at (0,0) {
\fibeamer@includeLogo[
width=\fibeamer@lengths@logowidth,
height=\fibeamer@lengths@logoheight
]};
\end{tikzpicture}
% Input the title
\usebeamerfont{title}%
\usebeamercolor[fg]{title}%
\begin{minipage}[b][2\baselineskip][b]{\textwidth}%
\raggedright%
\inserttitle%
\end{minipage}
\vskip-.5\baselineskip
% Input the dashed line
\begin{pgfpicture}
\pgfsetlinewidth{2pt}
\pgfsetroundcap
\pgfsetdash{{0pt}{4pt}}{0cm}
\pgfpathmoveto{\pgfpoint{0mm}{0mm}}
\pgfpathlineto{\pgfpoint{\textwidth}{0mm}}
\pgfusepath{stroke}
\end{pgfpicture}
\vfill
% Input the subtitle
\usebeamerfont{subtitle}%
\begin{minipage}{\textwidth}
\raggedright%
\insertsubtitle%
\end{minipage}\vskip.25\baselineskip
% Input the author's name
\usebeamerfont{author}%
\begin{minipage}{\textwidth}
\raggedright%
\insertauthor%
\end{minipage}}
\mode
<all>
\endinput
%%
%% End of file `beamerouterthemefibeamer-mu.sty'.
|