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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
%%
%% This is file `fithesis-sci.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sci.dtx
%%
%% Copyright 1998--2015 Daniel Marek (DM), Jan Pavlovič (JP),
%% Vít Novotný (VN), Petr Sojka (PS)
%% http://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml
%% Faculty of Informatics, Masaryk University (Brno, Czech Republic)
%%
%% 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>.
%%
%%
%% IMPORTANT COPYRIGHT NOTICE:
%%
%% You are NOT ALLOWED to distribute this file alone.
%%
%% If you receive only some of these files from someone, complain!
%%
%% However, NO PERMISSION is granted to generate or to distribute a
%% modified version of this file under its original name.
%%
%% You are NOT ALLOWED to change this file.
%%
%%
%% 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{fithesis/style/mu/fithesis-sci}[2015/06/23]
\thesis@color@setup{
links={HTML}{20E366},
tableEmph={HTML}{8EDEAA},
tableOdd={HTML}{EDF7F1},
tableEven={HTML}{CCEDD8}}
\thesis@requireLocale{czech}
\thesis@requireLocale{english}
\thesis@require{tikz}
\thesis@require{changepage}
\ifx\thesis@type\thesis@bachelors\else
\ifx\thesis@type\thesis@masters\else
\thesis@blocks@assignment@false
\fi\fi
\def\thesis@blocks@bibEntry{%
\begin{alwayssingle}
{% Start the new chapter without clearing the right page
{\def\cleardoublepage{}%
\chapter*{\thesis@czech@bib@title}}%
% Calculate the width of the columns
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
\bf\thesis@czech@bib@author:}}
\let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
\bf\thesis@czech@bib@thesisTitle:}}
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
\bf\thesis@czech@bib@programme:}}
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
\bf\thesis@czech@bib@field:}}
% Unless this is a rigorous thesis, we will be typesetting the
% name of the thesis advisor.
\let\@E\relax\newlength{\@E}
\ifx\thesis@type\thesis@rigorous%
\setlength{\@E}{0pt}%
\else%
\settowidth{\@E}{{\bf\thesis@czech@bib@advisor:}}
\fi%
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
\bf\thesis@czech@bib@academicYear:}}
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
\bf\thesis@czech@bib@pages:}}
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
\bf\thesis@czech@bib@keywords:}}
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
\let\@right\relax\newlength{\@right}\setlength{\@right}{%
\textwidth-\@left-\@skip}
% Typeset the table
\renewcommand{\arraystretch}{2}
\noindent\begin{thesis@newtable@old}%
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
\textbf{\thesis@czech@bib@author:} &
\noindent\parbox[t]{\@right}{
\thesis@author\\
\thesis@czech@facultyName,
\thesis@czech@universityName\\
\thesis@department
}\\
\textbf{\thesis@czech@bib@thesisTitle:}
& \thesis@title \\
\textbf{\thesis@czech@bib@programme:}
& \thesis@programme \\
\textbf{\thesis@czech@bib@field:}
& \thesis@field \\
% Unless this is a rigorous thesis, typeset the name of the
% thesis advisor.
\ifx\thesis@type\thesis@rigorous\else%
\textbf{\thesis@czech@bib@advisor:}
& \thesis@advisor \\
\fi
\textbf{\thesis@czech@bib@academicYear:}
& \thesis@academicYear \\
\textbf{\thesis@czech@bib@pages:}
& \thesis@pages \\
\textbf{\thesis@czech@bib@keywords:}
& \thesis@TeXkeywords \\
\end{thesis@newtable@old}}
\end{alwayssingle}}
\def\thesis@blocks@bibEntryEn{%
{\def\thesis@locale{english}
\begin{alwayssingle}
% Start the new chapter without clearing the right page
{\def\cleardoublepage{}%
\chapter*{\thesis@english@bib@title}}%
{% Calculate the width of the columns
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{%
\bf\thesis@english@bib@author:}}
\let\@B\relax\newlength{\@B}\settowidth{\@B}{{%
\bf\thesis@english@bib@thesisTitle:}}
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{%
\bf\thesis@english@bib@programme:}}
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{%
\bf\thesis@english@bib@field:}}
% Unless this is a rigorous thesis, we will be typesetting
% the name of the thesis advisor.
\let\@E\relax\newlength{\@E}
\ifx\thesis@type\thesis@rigorous%
\setlength{\@E}{0pt}%
\else%
\settowidth{\@E}{{\bf\thesis@english@bib@advisor:}}
\fi%
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{%
\bf\thesis@english@bib@academicYear:}}
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{%
\bf\thesis@english@bib@pages:}}
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{%
\bf\thesis@english@bib@keywords:}}
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt}
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{%
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)}
\let\@right\relax\newlength{\@right}\setlength{\@right}{%
\textwidth-\@left-\@skip}
% Typeset the table
\renewcommand{\arraystretch}{2}
\noindent\begin{thesis@newtable@old}%
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}}
\textbf{\thesis@english@bib@author:} &
\noindent\parbox[t]{\@right}{
\thesis@author\\
\thesis@english@facultyName,
\thesis@english@universityName\\
\thesis@departmentEn
}\\
\textbf{\thesis@english@bib@thesisTitle:}
& \thesis@titleEn \\
\textbf{\thesis@english@bib@programme:}
& \thesis@programmeEn \\
\textbf{\thesis@english@bib@field:}
& \thesis@fieldEn \\
% Unless this is a rigorous thesis, typeset the name of the
% thesis advisor.
\ifx\thesis@type\thesis@rigorous\else%
\textbf{\thesis@english@bib@advisor:}
& \thesis@advisor \\
\fi
\textbf{\thesis@english@bib@academicYear:}
& \thesis@academicYear \\
\textbf{\thesis@english@bib@pages:}
& \thesis@pages \\
\textbf{\thesis@english@bib@keywords:}
& \thesis@TeXkeywordsEn \\
\end{thesis@newtable@old}}
\end{alwayssingle}
}}
\def\thesis@blocks@frontMatter{%
\pagestyle{empty}
\parindent 1.5em
\setcounter{page}{1}
\pagenumbering{roman}}
\def\thesis@blocks@cover{%
\ifthesis@cover@
\thesis@blocks@clear
\ifthesis@twoside@\@twosidefalse\fi % Temporarily disable twoside
\begin{alwayssingle}
\thispagestyle{empty}
\begin{center}
{\sc\thesis@titlePage@LARGE\thesis@czech@universityName\\%
\thesis@titlePage@Large\thesis@czech@facultyName\\[0.3em]%
\thesis@titlePage@large\thesis@department}
\vfill
{\bf\thesis@titlePage@Huge\thesis@czech@typeName}
\vfill
{\thesis@titlePage@large\thesis@place
\ \thesis@year\hfill\thesis@author}
\end{center}
\end{alwayssingle}
\ifthesis@twoside@\@twosidetrue\fi % Re-enable twoside
\fi}
\def\thesis@blocks@titlePage{{%
\edef\thesis@logopath@color{\thesis@logopath\ifthesis@color@ color/\fi}
\thesis@blocks@clear
\ifthesis@twoside@\@twosidefalse\fi % Temporarily disable twoside
\begin{alwayssingle}
\thispagestyle{empty}
% The top of the page
\begin{adjustwidth}{-12mm}{}
\begin{minipage}{30mm}
\thesis@blocks@universityLogo@color[width=30mm]
\end{minipage}\begin{minipage}{89mm}
\begin{center}
{\sc\thesis@titlePage@LARGE\thesis@czech@universityName\\%
\thesis@titlePage@Large\thesis@czech@facultyName\\[0.3em]%
\thesis@titlePage@normalsize\thesis@department}
\rule{\textwidth}{2pt}\vspace*{2mm}
\end{center}
\end{minipage}\begin{minipage}{30mm}
\thesis@blocks@facultyLogo@color[width=30mm]
\end{minipage}
\end{adjustwidth}
% The middle of the page
\vfill
{\bf\thesis@titlePage@Huge\thesis@TeXtitle\\[0.8em]}
{\thesis@titlePage@large\thesis@czech@typeName\\[1em]}
{\bf\thesis@titlePage@LARGE\thesis@author}\\
\vfill\noindent
% The bottom of the page
{\bf\thesis@titlePage@normalsize%
% Unless this is a rigorous thesis, typeset the name of the
% thesis advisor.
\ifx\thesis@type\thesis@rigorous\else%
\thesis@czech@advisorTitle: \thesis@advisor\hfill%
\fi%
\thesis@place\ \thesis@year}
\end{alwayssingle}
\ifthesis@twoside@\@twosidetrue\fi}} % Re-enable twoside
\def\thesis@preamble{%
{\def\thesis@locale{czech}%
\thesis@blocks@cover%
\thesis@blocks@frontMatter%
\thesis@blocks@titlePage%
\thesis@blocks@clearRight%
\thesis@blocks@bibEntry%
\thesis@blocks@bibEntryEn%
\thesis@blocks@abstract%
\thesis@blocks@abstractEn%
\thesis@blocks@assignment%
\thesis@blocks@thanks%
\thesis@blocks@declaration%
\thesis@blocks@tables}%
\thesis@blocks@mainMatter}
\endinput
%%
%% End of file `fithesis-sci.sty'.
|