diff --git a/.gitignore b/.gitignore
index e9be5784e1b64c95d491096aab2dfd5b54f0a276..8079d0e2b87b570f855a11aef994114213b6011b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 example.*
 *.swp
 fithesis3
+*.vim
diff --git a/Makefile b/Makefile
index 3ab015672e2194df8bf7774fcd536c9896b333ca..11616b75084456e847f5cd402979441897691e6f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
 .PHONY: all explode clean clean-all install
 
-SUBMAKEFILES=logo/mu logo/mu/color locale
+SUBMAKEFILES=logo/mu logo/mu/color locale style style/mu
 CLASSFILES=fithesis.cls fithesis[23].cls
 STYLEFILES=style/*.sty style/*/*.sty style/*/*.clo
 LOGOFILES=logo/*/*.eps logo/*/color/*.eps logo/*/*.pdf logo/*/color/*.pdf
 LOCALEFILES=locale/*.tex locale/*/*.tex locale/*/*/*.tex
-DTXFILES=*.dtx locale/*.dtx
+DTXFILES=*.dtx locale/*.dtx style/*.dtx style/*/*.dtx
 RESOURCES=$(STYLEFILES) $(LOGOFILES) $(LOCALEFILES)
-AUXFILES=example.aux example.log example.out example.toc example.lot example.lof example.bib fithesis.aux fithesis.log fithesis.toc fithesis.ind fithesis.idx fithesis.out fithesis.ilg fithesis.gls fithesis.glo
+AUXFILES=example.aux example.log example.out example.toc example.lot example.lof example.bib fithesis.aux fithesis.log fithesis.toc fithesis.ind fithesis.idx fithesis.out fithesis.ilg fithesis.gls fithesis.glo fithesis.hd
 MANUAL=fithesis.pdf
 PDFFILES=$(MANUAL) example.pdf
 TEXLIVEFILES=$(CLASSFILES) $(RESOURCES)
@@ -34,6 +34,7 @@ fithesis.pdf: $(DTXFILES)
 	makeindex -s gind.ist fithesis
 	makeindex -s gglo.ist -o fithesis.gls fithesis.glo
 	pdflatex $<
+	pdflatex $<
 
 # This target typesets the example.
 example.pdf: example.tex fithesis3.cls
diff --git a/docstrip.cfg b/docstrip.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..d19d2c3d2d28b96610fb25b945a03d13fe31effc
--- /dev/null
+++ b/docstrip.cfg
@@ -0,0 +1,48 @@
+\input docstrip.tex
+\preamble
+
+
+Copyright 1993 1994 1995 The LaTeX3 Project and any individual
+authors listed elsewhere in this file. 
+
+For further copyright information, and conditions for modification
+and distribution, see the file legal.txt, and any other copyright
+notices in this file.
+
+This file is part of the LaTeX2e system.
+----------------------------------------
+  This system is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+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.
+
+\endpreamble
+\askforoverwritefalse
diff --git a/fithesis.dtx b/fithesis.dtx
index 777d601706111d6ed74abc138c43cdca5f7af0b3..ae7ea880df911b3861c305cf452dda8f2a613f3a 100644
--- a/fithesis.dtx
+++ b/fithesis.dtx
@@ -40,6 +40,16 @@
 \emergencystretch 2dd
 \usepackage{hypdoc}
 
+% Making paragraphs numbered
+\makeatletter
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+            {-2.5ex\@plus -1ex \@minus -.25ex}%
+            {1.25ex \@plus .25ex}%
+            {\normalfont\normalsize\bfseries}}
+\makeatother
+\setcounter{secnumdepth}{4} % how many sectioning levels to assign
+\setcounter{tocdepth}{4}    % how many sectioning levels to show
+
 % ltxdoc class options
 \CodelineIndex
 \MakeShortVerb{|}
@@ -58,10 +68,14 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}
 % \fi
-\def\thesis@version{2015/03/21 fithesis3 version 0.3.09 MU thesis class}
+\def\thesis@version{2015/04/08 v0.3.09 fithesis3 MU thesis class}
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
+% \changes{v0.3.09}  {2015/04/08}{A complete refactoring of the class. The class
+%   was decomposed into a base class, locale files and style files. The \TeX
+%   Gyre Pagella font has been replaced by Adobe Palatino provided by the
+%   \textsf{mathpazo} package.}
 % \changes{v0.3.08}  {2015/03/04}{Fixed a non-terminated \cs{if} condition.
 %   [VN] (backport of v0.2.18)\\Fixed mostly documentation errors reported
 %   at the new fithesis discussion forum (-ti, eco$\rightarrow$econ, implicit
@@ -146,33 +160,14 @@
 %
 % \tableofcontents
 %
-% \section{Basic structure}
-% The document class comprises the following types of files:
-% \begin{enumerate}
-%   \item\emph{Locale files} -- These files contain macro definitions for
-%        various locales. They live in the \texttt{locale/} subtree and
-%        their API is covered in section \ref{sec:locale-files}.
-%   \item\emph{Style files} -- These files define the structure and the
-%        look of the resulting document. They live in the \texttt{style/}
-%        subtree and their API is covered in section \ref{sec:style-files}.
-%   \item\emph{Logo files} -- These files contain the logos of the
-%        respective faculties of the Masaryk University and they live in the
-%        \texttt{logo/} subtree. New logos should be added in
-%        \texttt{pdf} and \texttt{eps} formats in both color and black-and-white versions,
-%        as described in section \ref{sec:mu-base-style-file}.
-%   \item\emph{Class file} -- The class file serves as a glue, which loads
-%        all of the aforementioned files and provides a public API to the
-%        end user. The public API of the class is covered in section
-%        \ref{sec:public-api}.
-% \end{enumerate}
-%
 % \section{Required classes and packages}
 % The class loads the \texttt{rapport3} base class and the
 % \texttt{xstring}, \texttt{keyval}, \texttt{newfile} and
 % \texttt{etoolbox} packages. The \texttt{hyperref} package is
 % also conditionally loaded during the expansion of the
 % |\thesis@load| macro (see section \ref{sec:thesis@load}).
-% Other packages may be required by the style files you are using.
+% Other packages may be required by the style files (see
+% section \ref{sec:style-files}) you are using.
 %    \begin{macrocode}
 \ProvidesClass{fithesis3}[\thesis@version]
 \LoadClass[a4paper]{rapport3}
@@ -674,24 +669,24 @@
 % First, the locale files are included. If inheritance is
 % enabled for locale files, then each of the following files is
 % input in sequence, provided they exist:\begin{enumerate}
-%   \item|\thesis@localepath base.tex|
-%   \item|\thesis@localepath\thesis@locale.tex|
-%   \item|\thesis@localepath\thesis@university/\thesis@locale.tex|
+%   \item|\thesis@localepath base.def|
+%   \item|\thesis@localepath\thesis@locale.def|
+%   \item|\thesis@localepath\thesis@university/\thesis@locale.def|
 %   \item|\thesis@localepath\thesis@university/\thesis@faculty/|^^A
-%     |\thesis@locale.tex|
+%     |\thesis@locale.def|
 % \end{enumerate}If inheritance is disabled for locale files,
 % then only the |\thesis@localepath|\discretionary{}{}{}^^A
 % |\thesis@locale.tex| file is loaded.
 %    \begin{macrocode}
       \ifthesis@locale@inheritance
-        \input{\thesis@localepath base}
+        \input{\thesis@localepath base.def}
       \fi
-      \thesis@input{\thesis@localepath\thesis@locale}%
+      \thesis@input{\thesis@localepath\thesis@locale.def}%
       \ifthesis@locale@inheritance
         \thesis@input{\thesis@localepath\thesis@university/%
-          \thesis@locale}% 
+          \thesis@locale.def}% 
         \thesis@input{\thesis@localepath\thesis@university/%
-          \thesis@faculty/\thesis@locale}%
+          \thesis@faculty/\thesis@locale.def}%
       \fi
 %    \end{macrocode}
 % With the placeholder strings loaded from the locale files, we
@@ -773,6 +768,7 @@
         \closeoutputstream{bib}}%
     \makeatother%
   \fi}
+
 %    \end{macrocode}
 % The \DescribeMacro{\thesis@exists}|\thesis@exists| and
 % \DescribeMacro{\thesis@input}|\thesis@input| macros are used to
@@ -780,7 +776,7 @@
 %    \begin{macrocode}
 \def\thesis@exists#1#2{%
   \IfFileExists{#1}{#2}{%
-  \typeout{File #1 doesn't exist.}}}
+  \ClassWarning{fithesis3}{File #1 doesn't exist}}}
 
 \def\thesis@input#1{%
   \thesis@exists{#1}{\input{#1}}}
@@ -890,13 +886,17 @@
 % \label{sec:locale-files}
 % Locale files contain macro definitions for various locales. They
 % live in the \texttt{locale/} subtree and they are loaded during
-% the main routine (see section \ref{sec:thesis@load}). When
-% creating a new locale file, it is advisable to create one
+% the main routine (see section \ref{sec:thesis@load}).
+%
+% When creating a new locale file, it is advisable to create one
 % self-contained \texttt{dtx} file, which is then partitioned into
 % locale files via the \textsf{docstrip} tool based on the
-% respective \texttt{ins} file. For more information about
-% \texttt{dtx} files and the \textsf{docstrip} tool, consult the
-% \textsf{dtxtut, docstrip, doc} and \textsf{ltxdoc} manuals.
+% respective \texttt{ins} file. A \DescribeMacro{\file} macro
+% |\file|\marg{filename} is available for the sectioning the
+% documentation of various files within the \texttt{dtx} file.
+% \textit{filename}. For more information about \texttt{dtx} files
+% and the \textsf{docstrip} tool, consult the \textsf{dtxtut,
+% docstrip, doc} and \textsf{ltxdoc} manuals.
 %
 % \subsubsection{Interface}
 % A locale file needs to define the following private macros:
@@ -954,7 +954,7 @@
 %                      thesis type
 % \end{itemize}
 %
-% \def\file#1{\paragraph{\texttt{#1}}}
+% \def\file#1{\paragraph{The \texttt{#1} file}}
 % \subsubsection{The base locale file}
 % \input{locale/base.dtx}
 % \subsubsection{English locale files}
@@ -966,6 +966,37 @@
 %
 % \subsection{Style files}
 % \label{sec:style-files}
+% Style files define the structure and the look of the resulting
+% document. They live in the \texttt{style/} subtree and they are
+% loaded during the main routine (see section
+% \ref{sec:thesis@load}).
+%
+% When creating a new style file, it is advisable to create one
+% self-contained \texttt{dtx} file, which can contain several
+% files to be extracted via the \textsf{docstrip} tool based on the
+% respective \texttt{ins} file. A \DescribeMacro{\file} macro
+% |\file|\marg{filename} is available for sectioning the
+% documentation of various files within the \texttt{dtx} file.
+% For more information about \texttt{dtx} files and the
+% \textsf{docstrip} tool, consult the \textsf{dtxtut, docstrip,
+% doc} and \textsf{ltxdoc} manuals.
+%
+% \subsubsection{Interface}
+% A style file should redefine at least one of the following
+% private macros:
+% \begin{itemize}
+%   \item\DescribeMacro{\thesis@preamble}
+%                      |\thesis@preamble| -- If autolayout is
+%                      enabled, then this macro is expanded at the
+%                      very beginning of the document.
+%   \item\DescribeMacro{\thesis@postamble}
+%                      |\thesis@postamble| -- If autolayout is
+%                      enabled, then this macro is expanded at the
+%                      very end of the document.
+% \end{itemize}
 %
-% \subsubsection{The \texttt{style/mu/base.sty} style file}
-% \label{sec:mu-base-style-file}
+% \subsubsection{Base style files}
+% \input{style/base.dtx}
+% \input{style/mu/base.dtx}
+% \subsubsection{The style file of the Faculty of Informatics}
+% \input{style/mu/fi.dtx}
diff --git a/fithesis.ins b/fithesis.ins
index 5f1099b34e30ac6238bd2590a7758a49ddb1e0f9..500b3dad8d75ab28d57f10cab073aa216ea9b4f0 100644
--- a/fithesis.ins
+++ b/fithesis.ins
@@ -1,77 +1,4 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file. 
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% IMPORTANT COPYRIGHT NOTICE:
-%% 
-%% You are NOT ALLOWED to distribute this file alone.
-%% 
-%% If you receive only some of these files from someone, complain!
-%% 
-%% 
-%% No other permissions to distribute this file in any form are
-%% granted and in particular NO PERMISSION to modify its contents.
-%% 
-%% You are NOT ALLOWED to change this file.
-%% 
-\input docstrip.tex
-\preamble
-
-
-Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-authors listed elsewhere in this file. 
-
-For further copyright information, and conditions for modification
-and distribution, see the file legal.txt, and any other copyright
-notices in this file.
-
-This file is part of the LaTeX2e system.
-----------------------------------------
-  This system is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-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.
-
-\endpreamble
-\askforoverwritefalse
+\input docstrip.cfg
 \generate{\file{fithesis.cls}{\from{fithesis.dtx}{oldclass1}}
           \file{fithesis2.cls}{\from{fithesis.dtx}{oldclass2}}
           \file{fithesis3.cls}{\from{fithesis.dtx}{class}}}
diff --git a/locale/Makefile b/locale/Makefile
index f7dbe8e8dd468c40cfc97a98219207372a516a21..8b4d0dbff96057367bf3fd14f55c0ab654165c2a 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -1,6 +1,6 @@
 LOGS=czech.log slovak.log english.log base.log
 DIRECTORIES=mu/law mu/fsps mu/fss mu/econ mu/med mu/fi mu/phil mu/ped mu/sci mu
-OUTPUT=base.tex czech.tex slovak.tex english.tex mu/czech.tex mu/law/czech.tex mu/law/slovak.tex mu/law/english.tex mu/fsps/czech.tex mu/fsps/slovak.tex mu/fsps/english.tex mu/slovak.tex mu/english.tex mu/fss/czech.tex mu/fss/slovak.tex mu/fss/english.tex mu/econ/czech.tex mu/econ/slovak.tex mu/econ/english.tex mu/med/czech.tex mu/med/slovak.tex mu/med/english.tex mu/fi/czech.tex mu/fi/slovak.tex mu/fi/english.tex mu/phil/czech.tex mu/phil/slovak.tex mu/phil/english.tex mu/ped/czech.tex mu/ped/slovak.tex mu/ped/english.tex mu/sci/czech.tex mu/sci/slovak.tex mu/sci/english.tex
+OUTPUT=base.def czech.def slovak.def english.def mu/czech.def mu/law/czech.def mu/law/slovak.def mu/law/english.def mu/fsps/czech.def mu/fsps/slovak.def mu/fsps/english.def mu/slovak.def mu/english.def mu/fss/czech.def mu/fss/slovak.def mu/fss/english.def mu/econ/czech.def mu/econ/slovak.def mu/econ/english.def mu/med/czech.def mu/med/slovak.def mu/med/english.def mu/fi/czech.def mu/fi/slovak.def mu/fi/english.def mu/phil/czech.def mu/phil/slovak.def mu/phil/english.def mu/ped/czech.def mu/ped/slovak.def mu/ped/english.def mu/sci/czech.def mu/sci/slovak.def mu/sci/english.def
 
 .PHONY: explode implode all
 all:
@@ -14,4 +14,4 @@ explode: $(LOGS)
 
 implode:
 	rm -f $(OUTPUT) $(LOGS)
-	@-rmdir $(DIRECTORIES)
+	-rmdir $(DIRECTORIES)
diff --git a/locale/base.dtx b/locale/base.dtx
index c7fd3c838a2f9d53c2761224bf8d8189d63af5b7..c47e67f35efc01707df21f76ea66f4bc9bbcde94 100644
--- a/locale/base.dtx
+++ b/locale/base.dtx
@@ -1,4 +1,4 @@
-% \file{locale/base.tex}
+% \file{locale/base.def}
 % If inheritance is enabled for locale files, then this file is
 % always the first locale file to be loaded, regardless of the
 % value of the |\thesis@locale| macro. The file loads the English
@@ -14,8 +14,9 @@
 %                      keywords section in English
 % \end{itemize}
 %    \begin{macrocode}
+\ProvidesFile{base.def}[2015/04/08]
 % A symbolic link to the English locale
-\input{\thesis@localepath english}
+\input{\thesis@localepath english.def}
 \let\thesis@abstractEnTitle=\thesis@abstractTitle
 \let\thesis@keywordsEnTitle=\thesis@keywordsTitle
 %    \end{macrocode}
diff --git a/locale/base.ins b/locale/base.ins
new file mode 100644
index 0000000000000000000000000000000000000000..5b512ab6dfc20e9b7d91aa01dd5362ae05f31945
--- /dev/null
+++ b/locale/base.ins
@@ -0,0 +1,3 @@
+\input ../docstrip.cfg
+\generate{\file{base.def}{\from{base.dtx}{}}}
+\endbatchfile
diff --git a/locale/czech.dtx b/locale/czech.dtx
index 6c0f91c2e2ca795456649439e702ba047dc2b9cf..44eaa8f2b2316ae9372001d25f7cc66ec78388e5 100644
--- a/locale/czech.dtx
+++ b/locale/czech.dtx
@@ -1,4 +1,4 @@
-% \file{locale/czech.tex}
+% \file{locale/czech.def}
 % This is the base file of the Czech locale. It defines all the
 % private macros mandated by the locale file interface.
 % \begin{macro}{\thesis@gender@koncovka}
@@ -8,6 +8,8 @@
 % \end{macro}\iffalse
 %<*base>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
+
 % Pomocná makra
 \def\thesis@gender@koncovka{%
   \ifthesis@woman a\fi}
@@ -45,7 +47,7 @@
   \fi\fi\fi\fi}
 %    \end{macrocode}\iffalse
 %</base>
-% \fi\file{locale/mu/czech.tex}
+% \fi\file{locale/mu/czech.def}
 % This is the Czech locale file specific to the Masaryk
 % University in Brno. It replaces the |\thesis@universityName|
 % placeholder with the correct value and defines the declaration
@@ -53,6 +55,7 @@
 % \iffalse
 %<*mu>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@universityName{Masarykova Univerzita}
 \def\thesis@declaration{%
   Prohlašuji, že tato \thesis@lower{typeName} je mým původním
@@ -63,37 +66,40 @@
   úplného odkazu na příslušný zdroj.}
 %    \end{macrocode}\iffalse
 %</mu>
-% \fi\file{locale/mu/law/czech.tex}
+% \fi\file{locale/mu/law/czech.def}
 % This is the Czech locale file specific to the Faculty of Law at
 % the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/law>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Právnická fakulta}
 %    \end{macrocode}\iffalse
 %</mu/law>
-% \fi\file{locale/mu/fsps/czech.tex}
+% \fi\file{locale/mu/fsps/czech.def}
 % This is the Czech locale file specific to the Faculty of Sports
 % Studies at the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/fsps>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Fakulta sportovnĂ­ch studiĂ­}
 %    \end{macrocode}\iffalse
 %</mu/fsps>
-% \fi\file{locale/mu/fss/czech.tex}
+% \fi\file{locale/mu/fss/czech.def}
 % This is the Czech locale file specific to the Faculty of Social
 % Studies at the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/fss>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Fakulta sociálních studií}
 %    \end{macrocode}\iffalse
 %</mu/fss>
-% \fi\file{locale/mu/econ/czech.tex}
+% \fi\file{locale/mu/econ/czech.def}
 % This is the Czech locale file specific to the Faculty of
 % Economics and Administration at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -101,10 +107,11 @@
 % \iffalse
 %<*mu/econ>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Ekonomicko-správní fakulta}
 %    \end{macrocode}\iffalse
 %</mu/econ>
-% \fi\file{locale/mu/med/czech.tex}
+% \fi\file{locale/mu/med/czech.def}
 % This is the Czech locale file specific to the Faculty of
 % Medicine at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -112,10 +119,11 @@
 % \iffalse
 %<*mu/med>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Lékařská fakulta}
 %    \end{macrocode}\iffalse
 %</mu/med>
-% \fi\file{locale/mu/fi/czech.tex}
+% \fi\file{locale/mu/fi/czech.def}
 % This is the Czech locale file specific to the Faculty of
 % Informatics at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -123,10 +131,11 @@
 % \iffalse
 %<*mu/fi>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Fakulta informatiky}
 %    \end{macrocode}\iffalse
 %</mu/fi>
-% \fi\file{locale/mu/phil/czech.tex}
+% \fi\file{locale/mu/phil/czech.def}
 % This is the Czech locale file specific to the Faculty of
 % Arts at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -134,10 +143,11 @@
 % \iffalse
 %<*mu/phil>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Filozofická fakulta}
 %    \end{macrocode}\iffalse
 %</mu/phil>
-% \fi\file{locale/mu/ped/czech.tex}
+% \fi\file{locale/mu/ped/czech.def}
 % This is the Czech locale file specific to the Faculty of
 % Education at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -145,10 +155,11 @@
 % \iffalse
 %<*mu/ped>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Pedagogická fakulta}
 %    \end{macrocode}\iffalse
 %</mu/ped>
-% \fi\file{locale/mu/sci/czech.tex}
+% \fi\file{locale/mu/sci/czech.def}
 % This is the Czech locale file specific to the Faculty of
 % Science at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -156,6 +167,7 @@
 % \iffalse
 %<*mu/sci>
 % \fi\begin{macrocode}
+\ProvidesFile{czech.def}[2015/04/08]
 \def\thesis@facultyName{Přírodovědecká fakulta}
 %    \end{macrocode}\iffalse
 %</mu/sci>
diff --git a/locale/czech.ins b/locale/czech.ins
index 465cec86d6aae401417359ea334de019125fc6e6..441ca7c23c9246c00ca0ca196e7f7df6ee386b52 100644
--- a/locale/czech.ins
+++ b/locale/czech.ins
@@ -1,86 +1,13 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file. 
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% IMPORTANT COPYRIGHT NOTICE:
-%% 
-%% You are NOT ALLOWED to distribute this file alone.
-%% 
-%% If you receive only some of these files from someone, complain!
-%% 
-%% 
-%% No other permissions to distribute this file in any form are
-%% granted and in particular NO PERMISSION to modify its contents.
-%% 
-%% You are NOT ALLOWED to change this file.
-%% 
-\input docstrip.tex
-\preamble
-
-
-Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-authors listed elsewhere in this file. 
-
-For further copyright information, and conditions for modification
-and distribution, see the file legal.txt, and any other copyright
-notices in this file.
-
-This file is part of the LaTeX2e system.
-----------------------------------------
-  This system is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-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.
-
-\endpreamble
-\askforoverwritefalse
-\generate{\file{czech.tex}{\from{czech.dtx}{base}}
-          \file{mu/czech.tex}{\from{czech.dtx}{mu}}
-          \file{mu/law/czech.tex}{\from{czech.dtx}{mu/law}}
-          \file{mu/fsps/czech.tex}{\from{czech.dtx}{mu/fsps}}
-          \file{mu/fss/czech.tex}{\from{czech.dtx}{mu/fss}}
-          \file{mu/econ/czech.tex}{\from{czech.dtx}{mu/econ}}
-          \file{mu/med/czech.tex}{\from{czech.dtx}{mu/med}}
-          \file{mu/fi/czech.tex}{\from{czech.dtx}{mu/fi}}
-          \file{mu/phil/czech.tex}{\from{czech.dtx}{mu/phil}}
-          \file{mu/ped/czech.tex}{\from{czech.dtx}{mu/ped}}
-          \file{mu/sci/czech.tex}{\from{czech.dtx}{mu/sci}}}
+\input ../docstrip.cfg
+\generate{\file{czech.def}{\from{czech.dtx}{base}}
+          \file{mu/czech.def}{\from{czech.dtx}{mu}}
+          \file{mu/law/czech.def}{\from{czech.dtx}{mu/law}}
+          \file{mu/fsps/czech.def}{\from{czech.dtx}{mu/fsps}}
+          \file{mu/fss/czech.def}{\from{czech.dtx}{mu/fss}}
+          \file{mu/econ/czech.def}{\from{czech.dtx}{mu/econ}}
+          \file{mu/med/czech.def}{\from{czech.dtx}{mu/med}}
+          \file{mu/fi/czech.def}{\from{czech.dtx}{mu/fi}}
+          \file{mu/phil/czech.def}{\from{czech.dtx}{mu/phil}}
+          \file{mu/ped/czech.def}{\from{czech.dtx}{mu/ped}}
+          \file{mu/sci/czech.def}{\from{czech.dtx}{mu/sci}}}
 \endbatchfile
diff --git a/locale/english.dtx b/locale/english.dtx
index d38bd1ce686302b511d76d26ea1734a813c13d7a..9f92d73e0126a57b51f1ac846e734faa1b17c908 100644
--- a/locale/english.dtx
+++ b/locale/english.dtx
@@ -1,9 +1,11 @@
-% \file{locale/english.tex}
+% \file{locale/english.def}
 % This is the base file of the English locale. It defines all the
 % private macros mandated by the locale file interface.
 % \iffalse
 %<*base>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
+
 % Placeholders
 \def\thesis@placeholders@title{Thesis Title}
 \def\thesis@placeholders@keywords{keyword1, keyword2, ...}
@@ -37,7 +39,7 @@
   \fi\fi\fi\fi}
 %    \end{macrocode}\iffalse
 %</base>
-% \fi\file{locale/mu/english.tex}
+% \fi\file{locale/mu/english.def}
 % This is the English locale file specific to the Masaryk
 % University in Brno. It replaces the |\thesis@universityName|
 % placeholder with the correct value and defines the declaration
@@ -45,6 +47,7 @@
 % \iffalse
 %<*mu>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@universityName{Masaryk University}
 \def\thesis@declaration{%
   Hereby I declare that this paper is my original authorial work, 
@@ -53,37 +56,40 @@
   properly cited and listed in complete reference to the due source.}
 %    \end{macrocode}\iffalse
 %</mu>
-% \fi\file{locale/mu/law/english.tex}
+% \fi\file{locale/mu/law/english.def}
 % This is the English locale file specific to the Faculty of Law at
 % the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/law>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Law}
 %    \end{macrocode}\iffalse
 %</mu/law>
-% \fi\file{locale/mu/fsps/english.tex}
+% \fi\file{locale/mu/fsps/english.def}
 % This is the English locale file specific to the Faculty of Sports
 % Studies at the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/fsps>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Sports Studies}
 %    \end{macrocode}\iffalse
 %</mu/fsps>
-% \fi\file{locale/mu/fss/english.tex}
+% \fi\file{locale/mu/fss/english.def}
 % This is the English locale file specific to the Faculty of Social
 % Studies at the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/fss>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Social Studies}
 %    \end{macrocode}\iffalse
 %</mu/fss>
-% \fi\file{locale/mu/econ/english.tex}
+% \fi\file{locale/mu/econ/english.def}
 % This is the English locale file specific to the Faculty of
 % Economics and Administration at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -91,10 +97,11 @@
 % \iffalse
 %<*mu/econ>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Economics and Administration}
 %    \end{macrocode}\iffalse
 %</mu/econ>
-% \fi\file{locale/mu/med/english.tex}
+% \fi\file{locale/mu/med/english.def}
 % This is the English locale file specific to the Faculty of
 % Medicine at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -102,10 +109,11 @@
 % \iffalse
 %<*mu/med>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Medicine}
 %    \end{macrocode}\iffalse
 %</mu/med>
-% \fi\file{locale/mu/fi/english.tex}
+% \fi\file{locale/mu/fi/english.def}
 % This is the English locale file specific to the Faculty of
 % Informatics at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -113,10 +121,11 @@
 % \iffalse
 %<*mu/fi>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Informatics}
 %    \end{macrocode}\iffalse
 %</mu/fi>
-% \fi\file{locale/mu/phil/english.tex}
+% \fi\file{locale/mu/phil/english.def}
 % This is the English locale file specific to the Faculty of
 % Arts at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -124,10 +133,11 @@
 % \iffalse
 %<*mu/phil>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Arts}
 %    \end{macrocode}\iffalse
 %</mu/phil>
-% \fi\file{locale/mu/ped/english.tex}
+% \fi\file{locale/mu/ped/english.def}
 % This is the English locale file specific to the Faculty of
 % Education at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -135,10 +145,11 @@
 % \iffalse
 %<*mu/ped>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Education}
 %    \end{macrocode}\iffalse
 %</mu/ped>
-% \fi\file{locale/mu/sci/english.tex}
+% \fi\file{locale/mu/sci/english.def}
 % This is the English locale file specific to the Faculty of
 % Science at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -146,6 +157,7 @@
 % \iffalse
 %<*mu/sci>
 % \fi\begin{macrocode}
+\ProvidesFile{english.def}[2015/04/08]
 \def\thesis@facultyName{Faculty of Science}
 %    \end{macrocode}\iffalse
 %</mu/sci>
diff --git a/locale/english.ins b/locale/english.ins
index d2a4ea38f1cd1bdfc52521d47e6d6fdb462c1f88..8066e9d061d5bfe15f5a288057ffc8845eda20e8 100644
--- a/locale/english.ins
+++ b/locale/english.ins
@@ -1,86 +1,13 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file. 
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% IMPORTANT COPYRIGHT NOTICE:
-%% 
-%% You are NOT ALLOWED to distribute this file alone.
-%% 
-%% If you receive only some of these files from someone, complain!
-%% 
-%% 
-%% No other permissions to distribute this file in any form are
-%% granted and in particular NO PERMISSION to modify its contents.
-%% 
-%% You are NOT ALLOWED to change this file.
-%% 
-\input docstrip.tex
-\preamble
-
-
-Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-authors listed elsewhere in this file. 
-
-For further copyright information, and conditions for modification
-and distribution, see the file legal.txt, and any other copyright
-notices in this file.
-
-This file is part of the LaTeX2e system.
-----------------------------------------
-  This system is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-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.
-
-\endpreamble
-\askforoverwritefalse
-\generate{\file{english.tex}{\from{english.dtx}{base}}
-          \file{mu/english.tex}{\from{english.dtx}{mu}}
-          \file{mu/law/english.tex}{\from{english.dtx}{mu/law}}
-          \file{mu/fsps/english.tex}{\from{english.dtx}{mu/fsps}}
-          \file{mu/fss/english.tex}{\from{english.dtx}{mu/fss}}
-          \file{mu/econ/english.tex}{\from{english.dtx}{mu/econ}}
-          \file{mu/med/english.tex}{\from{english.dtx}{mu/med}}
-          \file{mu/fi/english.tex}{\from{english.dtx}{mu/fi}}
-          \file{mu/phil/english.tex}{\from{english.dtx}{mu/phil}}
-          \file{mu/ped/english.tex}{\from{english.dtx}{mu/ped}}
-          \file{mu/sci/english.tex}{\from{english.dtx}{mu/sci}}}
+\input ../docstrip.cfg
+\generate{\file{english.def}{\from{english.dtx}{base}}
+          \file{mu/english.def}{\from{english.dtx}{mu}}
+          \file{mu/law/english.def}{\from{english.dtx}{mu/law}}
+          \file{mu/fsps/english.def}{\from{english.dtx}{mu/fsps}}
+          \file{mu/fss/english.def}{\from{english.dtx}{mu/fss}}
+          \file{mu/econ/english.def}{\from{english.dtx}{mu/econ}}
+          \file{mu/med/english.def}{\from{english.dtx}{mu/med}}
+          \file{mu/fi/english.def}{\from{english.dtx}{mu/fi}}
+          \file{mu/phil/english.def}{\from{english.dtx}{mu/phil}}
+          \file{mu/ped/english.def}{\from{english.dtx}{mu/ped}}
+          \file{mu/sci/english.def}{\from{english.dtx}{mu/sci}}}
 \endbatchfile
diff --git a/locale/slovak.dtx b/locale/slovak.dtx
index 21e5eaf6121a9bc0f2eaa1dca0ef998b38bfb114..98b2246eaf39449ed73cac4b819cba3b358c85c9 100644
--- a/locale/slovak.dtx
+++ b/locale/slovak.dtx
@@ -1,4 +1,4 @@
-% \file{locale/slovak.tex}
+% \file{locale/slovak.def}
 % This is the base file of the Slovak locale. It defines all the
 % private macros mandated by the locale file interface. To ensure
 % graceful death in case of any missing strings, the locale file
@@ -10,8 +10,10 @@
 % \end{macro}\iffalse
 %<*base>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
+
 % SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad
-\input{\thesis@localepath czech.tex}
+\input{\thesis@localepath czech.def}
 
 % Pomocná makrá
 \def\thesis@gender@koncovka{%
@@ -50,7 +52,7 @@
   \fi\fi\fi\fi}
 %    \end{macrocode}\iffalse
 %</base>
-% \fi\file{locale/mu/slovak.tex}
+% \fi\file{locale/mu/slovak.def}
 % This is the Slovak locale file specific to the Masaryk
 % University in Brno. It inherits the value of the
 % |\thesis@universityName| private macro from the respective
@@ -58,8 +60,10 @@
 % \iffalse
 %<*mu>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
+
 % SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad
-\input{\thesis@localepath mu/czech.tex}
+\input{\thesis@localepath mu/czech.def}
 
 \def\thesis@declaration{%
   Prehlasujem, že táto \thesis@lower{typeName} je mojím pôvodným
@@ -70,7 +74,7 @@
   s~uvedením úplného odkazu na príslušný zdroj.}
 %    \end{macrocode}\iffalse
 %</mu>
-% \fi\file{locale/mu/law/slovak.tex}
+% \fi\file{locale/mu/law/slovak.def}
 % This is the Slovak locale file specific to the Faculty of Law at
 % the Masaryk University in Brno. It inherits the value of the
 % |\thesis@facultyName| private macro from the respective Czech
@@ -78,31 +82,35 @@
 % \iffalse
 %<*mu/law>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
+
 % SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad
-\input{\thesis@localepath mu/law/czech.tex}
+\input{\thesis@localepath mu/law/czech.def}
 %    \end{macrocode}\iffalse
 %</mu/law>
-% \fi\file{locale/mu/fsps/slovak.tex}
+% \fi\file{locale/mu/fsps/slovak.def}
 % This is the Slovak locale file specific to the Faculty of Sports
 % Studies at the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/fsps>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
 \def\thesis@facultyName{Fakulta športových štúdií}
 %    \end{macrocode}\iffalse
 %</mu/fsps>
-% \fi\file{locale/mu/fss/slovak.tex}
+% \fi\file{locale/mu/fss/slovak.def}
 % This is the Slovak locale file specific to the Faculty of Social
 % Studies at the Masaryk University in Brno. It replaces the
 % |\thesis@facultyName| placeholder with the correct value.
 % \iffalse
 %<*mu/fss>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
 \def\thesis@facultyName{Fakulta sociálnych štúdií}
 %    \end{macrocode}\iffalse
 %</mu/fss>
-% \fi\file{locale/mu/econ/slovak.tex}
+% \fi\file{locale/mu/econ/slovak.def}
 % This is the Slovak locale file specific to the Faculty of
 % Economics and Administration at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -110,10 +118,11 @@
 % \iffalse
 %<*mu/econ>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
 \def\thesis@facultyName{Ekonomicko-správna fakulta}
 %    \end{macrocode}\iffalse
 %</mu/econ>
-% \fi\file{locale/mu/med/slovak.tex}
+% \fi\file{locale/mu/med/slovak.def}
 % This is the Slovak locale file specific to the Faculty of
 % Medicine at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -121,10 +130,11 @@
 % \iffalse
 %<*mu/med>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
 \def\thesis@facultyName{Lekárska fakulta}
 %    \end{macrocode}\iffalse
 %</mu/med>
-% \fi\file{locale/mu/fi/slovak.tex}
+% \fi\file{locale/mu/fi/slovak.def}
 % This is the Slovak locale file specific to the Faculty of
 % Informatics at the Masaryk University in Brno. It
 % inherits the value of the |\thesis@facultyName| private macro
@@ -132,11 +142,13 @@
 % \iffalse
 %<*mu/fi>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
+
 % SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad
-\input{\thesis@localepath mu/fi/czech.tex}
+\input{\thesis@localepath mu/fi/czech.def}
 %    \end{macrocode}\iffalse
 %</mu/fi>
-% \fi\file{locale/mu/phil/slovak.tex}
+% \fi\file{locale/mu/phil/slovak.def}
 % This is the Slovak locale file specific to the Faculty of
 % Arts at the Masaryk University in Brno. It inherits the value
 % of the |\thesis@facultyName| private macro from the respective
@@ -144,11 +156,13 @@
 % \iffalse
 %<*mu/phil>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
+
 % SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad
-\input{\thesis@localepath mu/phil/czech.tex}
+\input{\thesis@localepath mu/phil/czech.def}
 %    \end{macrocode}\iffalse
 %</mu/phil>
-% \fi\file{locale/mu/ped/slovak.tex}
+% \fi\file{locale/mu/ped/slovak.def}
 % This is the Slovak locale file specific to the Faculty of
 % Education at the Masaryk University in Brno. It inherits the
 % value of the |\thesis@facultyName| private macro from the
@@ -156,11 +170,13 @@
 % \iffalse
 %<*mu/ped>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
+
 % SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad
-\input{\thesis@localepath mu/ped/czech.tex}
+\input{\thesis@localepath mu/ped/czech.def}
 %    \end{macrocode}\iffalse
 %</mu/ped>
-% \fi\file{locale/mu/sci/slovak.tex}
+% \fi\file{locale/mu/sci/slovak.def}
 % This is the Slovak locale file specific to the Faculty of
 % Science at the Masaryk University in Brno.
 % It replaces the |\thesis@facultyName| placeholder with the
@@ -168,6 +184,7 @@
 % \iffalse
 %<*mu/sci>
 % \fi\begin{macrocode}
+\ProvidesFile{slovak.def}[2015/04/08]
 \def\thesis@facultyName{Prírodovedecká fakulta}
 %    \end{macrocode}\iffalse
 %</mu/sci>
diff --git a/locale/slovak.ins b/locale/slovak.ins
index ce32a8a89fe0c7c85d322f1f2d4fab03ed320eb5..c1ef9390ac95b6903a9a4e211ee549d1469d676d 100644
--- a/locale/slovak.ins
+++ b/locale/slovak.ins
@@ -1,86 +1,13 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file. 
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% IMPORTANT COPYRIGHT NOTICE:
-%% 
-%% You are NOT ALLOWED to distribute this file alone.
-%% 
-%% If you receive only some of these files from someone, complain!
-%% 
-%% 
-%% No other permissions to distribute this file in any form are
-%% granted and in particular NO PERMISSION to modify its contents.
-%% 
-%% You are NOT ALLOWED to change this file.
-%% 
-\input docstrip.tex
-\preamble
-
-
-Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-authors listed elsewhere in this file. 
-
-For further copyright information, and conditions for modification
-and distribution, see the file legal.txt, and any other copyright
-notices in this file.
-
-This file is part of the LaTeX2e system.
-----------------------------------------
-  This system is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-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.
-
-\endpreamble
-\askforoverwritefalse
-\generate{\file{slovak.tex}{\from{slovak.dtx}{base}}
-          \file{mu/slovak.tex}{\from{slovak.dtx}{mu}}
-          \file{mu/law/slovak.tex}{\from{slovak.dtx}{mu/law}}
-          \file{mu/fsps/slovak.tex}{\from{slovak.dtx}{mu/fsps}}
-          \file{mu/fss/slovak.tex}{\from{slovak.dtx}{mu/fss}}
-          \file{mu/econ/slovak.tex}{\from{slovak.dtx}{mu/econ}}
-          \file{mu/med/slovak.tex}{\from{slovak.dtx}{mu/med}}
-          \file{mu/fi/slovak.tex}{\from{slovak.dtx}{mu/fi}}
-          \file{mu/phil/slovak.tex}{\from{slovak.dtx}{mu/phil}}
-          \file{mu/ped/slovak.tex}{\from{slovak.dtx}{mu/ped}}
-          \file{mu/sci/slovak.tex}{\from{slovak.dtx}{mu/sci}}}
+\input ../docstrip.cfg
+\generate{\file{slovak.def}{\from{slovak.dtx}{base}}
+          \file{mu/slovak.def}{\from{slovak.dtx}{mu}}
+          \file{mu/law/slovak.def}{\from{slovak.dtx}{mu/law}}
+          \file{mu/fsps/slovak.def}{\from{slovak.dtx}{mu/fsps}}
+          \file{mu/fss/slovak.def}{\from{slovak.dtx}{mu/fss}}
+          \file{mu/econ/slovak.def}{\from{slovak.dtx}{mu/econ}}
+          \file{mu/med/slovak.def}{\from{slovak.dtx}{mu/med}}
+          \file{mu/fi/slovak.def}{\from{slovak.dtx}{mu/fi}}
+          \file{mu/phil/slovak.def}{\from{slovak.dtx}{mu/phil}}
+          \file{mu/ped/slovak.def}{\from{slovak.dtx}{mu/ped}}
+          \file{mu/sci/slovak.def}{\from{slovak.dtx}{mu/sci}}}
 \endbatchfile
diff --git a/style/Makefile b/style/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..378e2d4eec58a230506fefffcb7d45258f192bdd
--- /dev/null
+++ b/style/Makefile
@@ -0,0 +1,13 @@
+LOGS=base.log
+OUTPUT=base.sty
+
+.PHONY: explode implode all
+all: explode
+
+explode: $(LOGS)
+
+%.log: %.ins %.dtx
+	tex $<
+
+implode:
+	rm -f $(OUTPUT) $(LOGS)
diff --git a/style/base.dtx b/style/base.dtx
new file mode 100644
index 0000000000000000000000000000000000000000..bc8cf17bc9802ca688ef013007b83a3fa63a1601
--- /dev/null
+++ b/style/base.dtx
@@ -0,0 +1,9 @@
+% \file{style/base.sty}
+% If inheritance is enabled for style files, then this file is
+% always the first style file to be loaded, regardless of the
+% value of the |\thesis@style| macro. This style file is
+% currently a dummy file.
+%    \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{fithesis3/style/base}[2015/04/08]
+%    \end{macrocode}
diff --git a/style/base.ins b/style/base.ins
new file mode 100644
index 0000000000000000000000000000000000000000..9e3d9da00a9e58962419db7e7fe8073665b4af9a
--- /dev/null
+++ b/style/base.ins
@@ -0,0 +1,3 @@
+\input ../docstrip.cfg
+\generate{\file{base.sty}{\from{base.dtx}{}}}
+\endbatchfile
diff --git a/style/base.sty b/style/base.sty
deleted file mode 100644
index acb20b29de5c9a3423db66da588968b8626a5db7..0000000000000000000000000000000000000000
--- a/style/base.sty
+++ /dev/null
@@ -1 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
\ No newline at end of file
diff --git a/style/mu/Makefile b/style/mu/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..567dd1cfe18e9931a7ba3bec8701ba737eabc372
--- /dev/null
+++ b/style/mu/Makefile
@@ -0,0 +1,13 @@
+LOGS=base.log fi.log
+OUTPUT=base.sty fit1[012].clo fi.sty
+
+.PHONY: explode implode all
+all: explode
+
+explode: $(LOGS)
+
+%.log: %.ins %.dtx
+	tex $<
+
+implode:
+	rm -f $(OUTPUT) $(LOGS)
diff --git a/style/mu/base.dtx b/style/mu/base.dtx
new file mode 100644
index 0000000000000000000000000000000000000000..de42056754a974637b1717651d7e64eb965d2e57
--- /dev/null
+++ b/style/mu/base.dtx
@@ -0,0 +1,773 @@
+% \iffalse
+%<*base>
+% \fi\file{style/mu/base.sty}
+% This is the base style file for theses written at the Masaryk
+% University in Brno.
+% If inheritance is enabled for style files, then this file is
+% always the second style file to be loaded right after
+% \texttt{style/base.tex}, regardless of the
+% value of the |\thesis@style| macro.
+%    \begin{macrocode}
+\ProvidesPackage{fithesis3/style/mu/base}[2015/04/08]
+\NeedsTeXFormat{LaTeX2e}
+%    \end{macrocode}
+% The file recognizes the following options: \begin{itemize}
+%   \item\texttt{10pt}, \texttt{11pt}, \texttt{12pt} -- Sets the
+%     type size to 10, 11 or 12 points respectively, along with the
+%     page geometry. The default type size is 12 points.
+%   \item\texttt{oneside}, \texttt{twoside} -- The document is
+%     going to be single- or double-sided. In a double-sided
+%     document headers, page numbering, margin notes and several
+%     other elements are rearranged based on
+%     the parity of the page. Blank pages are optionally inserted
+%     prior the beginning of the next chapter to ensure that it
+%     starts on an odd page.
+%   \item\texttt{onecolumn}, \texttt{twocolumn} -- The document
+%     is going to be set in a single column or in two columns,
+%     respectively.
+%   \item\texttt{draft}, \texttt{final} -- Overful lines are or
+%     aren't marked within the document, respectively.
+%   \item\texttt{monochrome}, \texttt{color} -- The
+%     \DescribeMacro{\ifthesis@color}|\ifthesis@color| conditional
+%     is set to \textit{false} or \textit{true}, respectively.
+%     This value can be tested in the subsequently loaded style
+%     files.
+% \end{itemize}
+% The defaults are \texttt{12pt}, \texttt{twoside}, \texttt{final}
+% and \texttt{monochrome}.
+%    \begin{macrocode}
+\DeclareOption{10pt}{\def\thesis@ptsize{0}}
+\DeclareOption{11pt}{\def\thesis@ptsize{1}}
+\DeclareOption{12pt}{\def\thesis@ptsize{2}}
+\DeclareOption{oneside}{\@twosidefalse\@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue\@mparswitchtrue}
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\newif\ifthesis@color\thesis@colorfalse
+\DeclareOption{monochrome}{\thesis@colorfalse}
+\DeclareOption{color}{\thesis@colortrue}
+\ExecuteOptions{12pt,twoside,final,monochrome}
+\ProcessOptions
+%    \end{macrocode}
+% The file loads the following packages: \begin{itemize}
+%   \item\textsf{fontenc} -- The font encoding is set to Cork.
+%   \item\textsf{mathpazo} -- Changes the default roman font family
+%     to Adobe Palatino with real smallcaps, and the virtual
+%     \texttt{mathpazo} fonts will be used for math.
+%   \item\textsf{cmap} -- Places an an explicit \texttt{ToUnicode}
+%     map in the resulting PDF file, allowing for extraction of
+%     the text of the document.
+%   \item\textsf{graphix} -- Adds support for the inclusion of
+%     graphics files.
+% \end{itemize}
+% In addition to that, the \textsf{hyperref} package is configured
+% to support both roman and arabic page numbering in one document.
+%    \begin{macrocode}
+\RequirePackage[resetfonts]{cmap}
+\RequirePackage[T1]{fontenc}
+\RequirePackage[sc]{mathpazo}
+\RequirePackage{graphicx}
+\hypersetup{
+  plainpages=false,          % Multiple page numbering support
+  pdfpagelabels              % Generate pdf page labels
+}
+%    \end{macrocode}
+% The file defines several blocks to be used in the redefinitions
+% of the |\thesis@preamble| and |\thesis@postable| private macros
+% by the subsequently loaded style files.
+%
+% \begin{macro}{\thesis@blocks@frontMatter}
+% The |\thesis@blocks@frontMatter| private macro sets up the style
+% of the front matter of the thesis.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@frontMatter{%
+  \pagestyle{plain}
+  \parindent 1.5em
+  \setcounter{page}{1}
+  \pagenumbering{roman}}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@cover}
+% The |\thesis@blocks@cover| private macro typesets the thesis
+% cover.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@cover{%
+  \begin{alwayssingle}
+  \thispagestyle{empty}
+  \begin{center}
+  {\sc\thesis@universityName\\\thesis@facultyName}
+  \vskip 1.4em
+  \includegraphics[width=40mm]{\thesis@logopath\thesis@logo}\\[0.4in]
+  \let\footnotesize\small
+  \let\footnoterule\relax{}
+  {\titlefont\bf\thesis@title\par\vfil}\vskip 0.8in
+  {\sc \thesis@typeName}\\[0.3in]
+  {\Large\bf\thesis@author}
+  \par\vfill
+  {\large\thesis@place, \thesis@year}
+  \end{center}
+  \end{alwayssingle}
+  \newpage}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@titlePage}
+% The |\thesis@blocks@titlePage| private macro typesets the thesis
+% title page. The title page is similar to the cover except for the
+% fact that if color typesetting is enables, the logo is loaded
+% from the |\thesis@logopath color/| directory instead of
+% |\thesis@logopath|.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@titlePage{%
+  \begin{alwayssingle}
+  \thispagestyle{empty}
+  \begin{center}
+  {\sc\thesis@universityName\\\thesis@facultyName}
+  \vskip 1.4em
+  \edef\thesis@logopath@color{\thesis@logopath\ifthesis@color color/\fi}
+  \includegraphics[width=40mm]{\thesis@logopath@color\thesis@logo}\\[0.4in]
+  \let\footnotesize\small
+  \let\footnoterule\relax{}
+  {\titlefont\bf\thesis@title\par\vfil}\vskip 0.8in
+  {\sc \thesis@typeName}\\[0.3in]
+  {\Large\bf\thesis@author}
+  \par\vfill
+  {\large\thesis@place, \thesis@year}
+  \end{center}
+  \end{alwayssingle}
+  \newpage}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@declaration}
+% The |\thesis@blocks@declaration| private macro typesets the
+% declaration text.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@declaration{%
+    \begin{alwayssingle}%
+      \chapter*{\thesis@declarationTitle}%
+      \thesis@declaration%
+      \vskip 2cm%
+      \hfill\thesis@author%
+      \par\vfill%
+      \textbf{\thesis@advisorTitle:} \thesis@advisor%
+      \par\vfil%
+      \newpage%
+    \end{alwayssingle}}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@thanks}
+% The |\thesis@blocks@thanks| private macro typesets the
+% acknowledgement.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@thanks{%
+  \begin{alwayssingle}%
+    \chapter*{\thesis@thanksTitle}%
+    \thesis@thanks%
+    \par\vfill%
+  \end{alwayssingle}%
+  \newpage}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@abstract}
+% The |\thesis@blocks@abstract| private macro typesets the
+% abstract.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@abstract{%
+  \begin{alwayssingle}%
+    \chapter*{\thesis@abstractTitle}%
+    \thesis@abstract%
+    \par\vfil\null%
+  \end{alwayssingle}%
+  \newpage}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@abstractEn}
+% The |\thesis@blocks@abstractEn| private macro typesets the
+% abstract in English.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@abstractEn{%
+  \ifx\thesis@abstractEn\undefined\else%
+    \begin{alwayssingle}%
+      \chapter*{\thesis@abstractTitle}%
+      \thesis@abstractEn%
+      \par\vfil\null%
+    \end{alwayssingle}%
+    \newpage%
+  \fi}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@keywords}
+% The |\thesis@blocks@keywords| private macro typesets the
+% abstract in English.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@keywords{%
+  \begin{alwayssingle}%
+    \chapter*{\thesis@keywordsTitle}%
+    \thesis@keywords%
+    \par\vfill%
+  \end{alwayssingle}%
+  \newpage}
+%    \end{macrocode}
+% \begin{macro}{\thesis@blocks@keywordsEn}
+% The |\thesis@blocks@keywordsEn| private macro typesets the
+% abstract in English.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@keywordsEn{%
+  \ifx\thesis@keywordsEn\undefined\else%
+    \begin{alwayssingle}%
+      \chapter*{\thesis@keywordsTitle}%
+      \thesis@keywords%
+      \par\vfill%
+    \end{alwayssingle}%
+    \newpage%
+  \fi}
+%    \end{macrocode}
+% The file defines several blocks to be used in the redefinitions
+% of the |\thesis@preamble| and |\thesis@postable| private macros
+% by the subsequently loaded style files.
+%
+% \begin{macro}{\thesis@blocks@mainMatter}
+% The |\thesis@blocks@mainMatter| private macro sets up the style
+% of the main matter of the thesis.
+% \end{macro}\begin{macrocode}
+\def\thesis@blocks@mainMatter{%
+  \if@twoside
+    \clearpage
+    \thispagestyle{empty}
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \setcounter{page}{1}
+  \pagenumbering{arabic}
+  \pagestyle{thesisheadings}
+  \parindent 1.5em\relax}
+%    \end{macrocode}
+% The rest of the file comprises redefinitions of \LaTeX\ commands
+% and private \texttt{rapport3} class macros altering the layout of
+% the resulting document. Depending on the type size of 10, 11 or
+% 12 points, either the \texttt{fit10.clo}, \texttt{fit11.clo} or
+% \texttt{fit12.clo} file is loaded from the |\thesis@stylepath mu|
+% directory, respectively.
+%    \begin{macrocode}
+\setcounter{tocdepth}{4}
+
+\input\thesis@stylepath mu/fit1\thesis@ptsize.clo\relax
+
+\def\ps@thesisheadings{%
+\def\chaptermark##1{%
+\markright{%
+\ifnum\c@secnumdepth >\m@ne
+\thechapter.\ %
+\fi ##1}}
+\let\@oddfoot\@empty
+\let\@oddhead\@empty
+\def\@oddhead{\vbox{\hbox to \textwidth{%
+\hfil{\sc\rightmark}}\vskip 4pt\hrule}}
+\if@twoside
+ \def\@evenhead{\vbox{\hbox to \textwidth{%
+ {\sc\rightmark}\hfil}\vskip 4pt\hrule}}
+\else
+ \let\@evenhead\@oddhead
+\fi
+\def\@oddfoot{\hfil\PageFont\thepage}
+\if@twoside
+ \def\@evenfoot{\PageFont\thepage\hfil}%
+\else
+ \let\@evenfoot\@oddfoot
+\fi
+\let\@mkboth\markboth
+}
+
+\renewcommand*\chapter{%
+\if@twoside
+ \clearpage
+ \thispagestyle{empty}
+ \cleardoublepage
+\else
+ \clearpage
+\fi
+\thispagestyle{plain}%
+\global\@topnum\z@
+\@afterindentfalse
+\secdef\@chapter\@schapter}
+
+\renewcommand*\part{%
+\clearpage
+\thispagestyle{empty}
+\cleardoublepage
+\thispagestyle{empty}%
+\if@twocolumn%
+ \onecolumn
+ \@tempswatrue
+\else
+ \@tempswafalse
+\fi
+\hbox{}\vfil
+\secdef\@part\@spart}
+
+\def\titlefont{\fontsize\@xxvpt{30}\selectfont}
+
+\newif\if@restonecol
+\def\alwayssingle{%
+  \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi}
+\def\endalwayssingle{\if@restonecol\twocolumn\fi}
+
+\renewcommand*\l@part[2]{%
+  \ifnum \c@tocdepth >-2\relax
+    \addpenalty{-\@highpenalty}%
+    \addvspace{0.5em \@plus\p@}%
+    \begingroup
+      \setlength\@tempdima{3em}%
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      {\leavevmode
+       \normalfont \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+       \nobreak
+         \global\@nobreaktrue
+         \everypar{\global\@nobreakfalse\everypar{}}%
+    \endgroup
+    \addvspace{0.2em \@plus\p@}%
+  \fi}
+
+\renewcommand*\l@chapter[2]{%
+  \ifnum \c@tocdepth >\m@ne
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
+    \setlength\@tempdima{1.5em}%
+    \begingroup
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      \leavevmode \bfseries
+      \advance\leftskip\@tempdima
+      \hskip -\leftskip
+      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
+    \endgroup
+  \fi}
+
+\renewcommand*\l@chapter{\@dottedtocline{1}{0em}{1.5em}}
+\renewcommand*\l@section{\@dottedtocline{2}{1.5em}{2.3em}}
+\renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+\renewcommand*\l@subsubsection{\@dottedtocline{2}{7.0em}{3.8em}}
+%    \end{macrocode}\iffalse
+%</base>
+% \fi\file{style/mu/fit10.clo}
+% This file is conditionally loaded by the
+% \texttt{style/mu/base.sty} file to redefine the page geometry to
+% match the type size of 10 points.
+%    \begin{macrocode}
+%<*opt>
+%<*10pt>
+\ProvidesFile{fit10.clo}[2015/04/08]
+
+\renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont%
+\abovedisplayskip 10\p@ plus2\p@ minus5\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
+\let\@listi\@listI}
+
+\renewcommand{\small}{\fontsize\@ixpt{11}\selectfont%
+\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip \z@ plus2\p@
+\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
+\def\@listi{\leftmargin\leftmargini
+\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\footnotesize}{\fontsize\@viiipt{9.5}\selectfont%
+\abovedisplayskip 6\p@ plus2\p@ minus4\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip \z@ plus\p@
+\belowdisplayshortskip 3\p@ plus\p@ minus2\p@
+\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
+\topsep 3\p@ plus\p@ minus\p@\parsep 2\p@ plus\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\scriptsize}{\fontsize\@viipt{8pt}\selectfont}
+\renewcommand{\tiny}{\fontsize\@vpt{6pt}\selectfont}
+\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont}
+\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont}
+\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont}
+\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont}
+\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
+
+%</10pt>
+%    \end{macrocode}
+% \file{style/mu/fit11.clo}
+% This file is conditionally loaded by the
+% \texttt{style/mu/base.sty} file to redefine the page geometry to
+% match the type size of 11 points.
+%    \begin{macrocode}
+%<*11pt>
+\ProvidesFile{fit11.clo}[2015/04/08]
+
+\renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont%
+\abovedisplayskip 11\p@ plus3\p@ minus6\p@
+\belowdisplayskip \abovedisplayskip
+\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
+%\abovedisplayshortskip  \z@ plus3\@p
+\let\@listi\@listI}
+
+\renewcommand{\small}{\fontsize\@xpt{12}\selectfont%
+\abovedisplayskip 10\p@ plus2\p@ minus5\p@ 
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
+\def\@listi{\leftmargin\leftmargini
+\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\footnotesize}{\fontsize\@ixpt{11}\selectfont%
+\abovedisplayskip 8\p@ plus2\p@ minus4\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip \z@ plus\p@ 
+\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
+\def\@listi{\leftmargin\leftmargini
+\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont}
+\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont}
+\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont}
+\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont}
+\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont}
+\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont}
+\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
+
+%</11pt>
+%    \end{macrocode}
+% \file{style/mu/fit12.clo}
+% This file is conditionally loaded by the
+% \texttt{style/mu/base.sty} file to redefine the page geometry to
+% match the type size of 12 points.
+%    \begin{macrocode}
+%<*12pt>
+\ProvidesFile{fit12.clo}[2015/04/08]
+
+\renewcommand{\normalsize}{\fontsize\@xiipt{14.5}\selectfont%
+\abovedisplayskip 12\p@ plus3\p@ minus7\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
+\let\@listi\@listI}
+
+\renewcommand{\small}{\fontsize\@xipt{13.6}\selectfont%
+\abovedisplayskip 11\p@ plus3\p@ minus6\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
+\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
+\parsep 4.5\p@ plus2\p@ minus\p@
+            \itemsep \parsep
+            \topsep 9\p@ plus3\p@ minus5\p@}}
+
+\renewcommand{\footnotesize}{\fontsize\@xpt{12}\selectfont%
+\abovedisplayskip 10\p@ plus2\p@ minus5\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
+\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
+\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
+\itemsep \parsep}}
+            
+\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont}
+\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont}
+\renewcommand{\large}{\fontsize\@xivpt{18pt}\selectfont}
+\renewcommand{\Large}{\fontsize\@xviipt{22pt}\selectfont}
+\renewcommand{\LARGE}{\fontsize\@xxpt{25pt}\selectfont}
+\renewcommand{\huge}{\fontsize\@xxvpt{30pt}\selectfont}
+\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
+
+%</12pt>
+\let\@normalsize\normalsize
+\normalsize
+
+\if@twoside               
+   \oddsidemargin 0.75in  
+   \evensidemargin 0.4in  
+   \marginparwidth 0pt    
+\else                     
+   \oddsidemargin 0.75in  
+   \evensidemargin 0.75in
+   \marginparwidth 0pt
+\fi
+\marginparsep 10pt        
+
+\topmargin 0.4in          
+                          
+\headheight 20pt          
+\headsep 10pt             
+\topskip 10pt    
+\footskip 30pt 
+
+%<*10pt>
+\textheight = 43\baselineskip
+\advance\textheight by \topskip
+\textwidth 5.0truein
+\columnsep 10pt       
+\columnseprule 0pt
+
+\footnotesep 6.65pt
+\skip\footins 9pt plus 4pt minus 2pt
+\floatsep 12pt plus 2pt minus 2pt
+\textfloatsep 20pt plus 2pt minus 4pt
+\intextsep 12pt plus 2pt minus 2pt
+\dblfloatsep 12pt plus 2pt minus 2pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+
+\@fptop 0pt plus 1fil
+\@fpsep 8pt plus 2fil
+\@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil
+\@dblfpsep 8pt plus 2fil
+\@dblfpbot 0pt plus 1fil
+\marginparpush 5pt
+
+\parskip 0pt plus 1pt
+\partopsep 2pt plus 1pt minus 1pt
+
+%</10pt>
+%
+%<*11pt>
+\textheight = 39\baselineskip
+\advance\textheight by \topskip
+\textwidth 5.0truein
+\columnsep 10pt
+\columnseprule 0pt
+
+\footnotesep 7.7pt
+\skip\footins 10pt plus 4pt minus 2pt
+\floatsep 12pt plus 2pt minus 2pt
+\textfloatsep 20pt plus 2pt minus 4pt
+\intextsep 12pt plus 2pt minus 2pt
+\dblfloatsep 12pt plus 2pt minus 2pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+
+\@fptop 0pt plus 1fil
+\@fpsep 8pt plus 2fil
+\@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil
+\@dblfpsep 8pt plus 2fil
+\@dblfpbot 0pt plus 1fil
+\marginparpush 5pt 
+
+\parskip 0pt plus 0pt
+\partopsep 3pt plus 1pt minus 2pt
+
+%</11pt>
+%
+%<*12pt>
+\textheight = 37\baselineskip
+\advance\textheight by \topskip
+\textwidth 5.0truein
+\columnsep 10pt
+\columnseprule 0pt
+
+\footnotesep 8.4pt
+\skip\footins 10.8pt plus 4pt minus 2pt
+\floatsep 14pt plus 2pt minus 4pt 
+\textfloatsep 20pt plus 2pt minus 4pt
+\intextsep 14pt plus 4pt minus 4pt
+\dblfloatsep 14pt plus 2pt minus 4pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+
+\@fptop 0pt plus 1fil
+\@fpsep 10pt plus 2fil
+\@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil
+\@dblfpsep 10pt plus 2fil
+\@dblfpbot 0pt plus 1fil
+\marginparpush 7pt
+
+\parskip 0pt plus 0pt
+\partopsep 3pt plus 2pt minus 2pt
+
+%</12pt>
+\@lowpenalty   51
+\@medpenalty  151
+\@highpenalty 301
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty   -\@lowpenalty
+\@itempenalty     -\@lowpenalty
+
+\def\@makechapterhead#1{%
+  {%
+    \setlength\parindent{\z@}%
+    \setlength\parskip  {\z@}%
+    \ifnum
+      \c@secnumdepth >\m@ne
+      \par\nobreak
+      \vskip 10\p@
+    \fi
+    \Large \ChapFont \thechapter{} \space #1\par
+    \nobreak
+    \vskip 20\p@
+  }%
+}
+
+\def\@makeschapterhead#1{%
+  {%
+    \setlength\parindent{\z@}%
+    \setlength\parskip  {\z@}%
+    \Large \ChapFont #1\par
+    \nobreak
+    \vskip 20\p@
+  }%
+}
+
+\def\chapter{%
+   \clearpage
+   \thispagestyle{plain}
+   \global\@topnum\z@ 
+   \@afterindentfalse  
+   \secdef\@chapter\@schapter
+ }
+
+\def\@chapter[#1]#2{%
+  \ifnum \c@secnumdepth
+    >\m@ne
+    \refstepcounter{chapter}%
+    \typeout{\@chapapp\space\thechapter.}% 
+    \addcontentsline{toc}{chapter}{\protect
+    \numberline{\thechapter}\bfseries #1}
+  \else%
+    \addcontentsline{toc}{chapter}{\bfseries #1}
+  \fi
+  \chaptermark{#1}%
+  \addtocontents{lof}%
+  {\protect\addvspace{4\p@}} 
+  \addtocontents{lot}%
+  {\protect\addvspace{4\p@}} 
+  \if@twocolumn                   
+    \@topnewpage[\@makechapterhead{#2}]%
+  \else
+    \@makechapterhead{#2}%
+    \@afterheading          
+  \fi
+}
+
+%\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
+%        \else \@makeschapterhead{#1}%
+%              \markright{#1}
+%              \@afterheading\fi}
+
+\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
+    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
+\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
+    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus   
+    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
+\def\paragraph{\@startsection
+    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
+    \normalsize\bfseries}}
+\def\subparagraph{\@startsection
+     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
+     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
+
+\setcounter{secnumdepth}{2}
+
+\def\appendix{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \def\@chapapp{\appendixname}%
+  \def\thechapter{\Alph{chapter}}}
+
+\leftmargini 2.5em
+\leftmarginii 2.2em     % > \labelsep + width of '(m)'
+\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
+\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
+\leftmarginv 1em
+\leftmarginvi 1em
+
+\leftmargin\leftmargini
+\labelsep .5em
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+
+%<*10pt>
+\def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@%
+\topsep 8\p@ plus2\p@ minus4\p@
+\itemsep 4\p@ plus2\p@ minus\p@}
+
+\let\@listi\@listI
+\@listi
+
+\def\@listii{\leftmargin\leftmarginii
+   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+   \topsep 4\p@ plus2\p@ minus\p@
+   \parsep 2\p@ plus\p@ minus\p@
+   \itemsep \parsep}
+
+\def\@listiii{\leftmargin\leftmarginiii
+    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+    \topsep 2\p@ plus\p@ minus\p@
+    \parsep \z@ \partopsep\p@ plus\z@ minus\p@
+    \itemsep \topsep}
+
+\def\@listiv{\leftmargin\leftmarginiv
+     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+   
+\def\@listv{\leftmargin\leftmarginv
+     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+   
+\def\@listvi{\leftmargin\leftmarginvi
+     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+%</10pt>
+%
+%<*11pt>
+\def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@
+\topsep 9\p@ plus3\p@ minus5\p@
+\itemsep 4.5\p@ plus2\p@ minus\p@}
+
+\let\@listi\@listI
+\@listi
+
+\def\@listii{\leftmargin\leftmarginii
+   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+   \topsep 4.5\p@ plus2\p@ minus\p@
+   \parsep 2\p@ plus\p@ minus\p@
+   \itemsep \parsep}
+
+\def\@listiii{\leftmargin\leftmarginiii
+    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+    \topsep 2\p@ plus\p@ minus\p@
+    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
+    \itemsep \topsep}
+
+\def\@listiv{\leftmargin\leftmarginiv
+     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+   
+\def\@listv{\leftmargin\leftmarginv
+     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+    
+\def\@listvi{\leftmargin\leftmarginvi
+     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+%</11pt>
+%
+%<*12pt>
+\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
+\topsep 10\p@ plus4\p@ minus6\p@
+\itemsep 5\p@ plus2.5\p@ minus\p@}
+
+\let\@listi\@listI
+\@listi
+
+\def\@listii{\leftmargin\leftmarginii
+   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+   \topsep 5\p@ plus2.5\p@ minus\p@
+   \parsep 2.5\p@ plus\p@ minus\p@
+   \itemsep \parsep}
+
+\def\@listiii{\leftmargin\leftmarginiii
+    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+    \topsep 2.5\p@ plus\p@ minus\p@
+    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
+    \itemsep \topsep}
+
+\def\@listiv{\leftmargin\leftmarginiv
+     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+   
+\def\@listv{\leftmargin\leftmarginv
+     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+    
+\def\@listvi{\leftmargin\leftmarginvi
+     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+%</12pt>
+%</opt>
+%    \end{macrocode}
diff --git a/style/mu/base.ins b/style/mu/base.ins
new file mode 100644
index 0000000000000000000000000000000000000000..7e5e39e71450fb2f752c286d313ddab5989e4a07
--- /dev/null
+++ b/style/mu/base.ins
@@ -0,0 +1,6 @@
+\input ../../docstrip.cfg
+\generate{\file{base.sty}{\from{base.dtx}{base}}
+          \file{fit10.clo}{\from{base.dtx}{opt,10pt}}
+          \file{fit11.clo}{\from{base.dtx}{opt,11pt}}
+          \file{fit12.clo}{\from{base.dtx}{opt,12pt}}}
+\endbatchfile
diff --git a/style/mu/base.sty b/style/mu/base.sty
deleted file mode 100644
index 2ed6ab7f324f5b70119caf0c638eed6ca8b36893..0000000000000000000000000000000000000000
--- a/style/mu/base.sty
+++ /dev/null
@@ -1,249 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-
-% Options
-\DeclareOption{10pt}{\def\thesis@ptsize{0}}
-\DeclareOption{11pt}{\def\thesis@ptsize{1}}
-\DeclareOption{12pt}{\def\thesis@ptsize{2}}
-\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
-\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
-\DeclareOption{onecolumn}{\@twocolumnfalse}
-\DeclareOption{twocolumn}{\@twocolumntrue}
-\DeclareOption{draft}{\setlength\overfullrule{5pt}}
-\DeclareOption{final}{\setlength\overfullrule{0pt}}
-%% Colors
-\newif\ifthesis@color\thesis@colorfalse
-\let\thesis@logopath@color\thesis@logopath
-\DeclareOption{color}{%
-  \def\thesis@logopath@color{\thesis@logopath color}
-  \thesis@colortrue}
-
-\ExecuteOptions{12pt,oneside,final}
-\ProcessOptions
-
-% Packages
-%% pridat volbu, aby slo vypnout mathpazo, zapnout lmodern, atd.
-\RequirePackage{tgpagella}
-\RequirePackage{mathpazo}
-\RequirePackage{graphicx}
-%% FIXME: pridat ifxetex apod.
-\RequirePackage{cmap}
-\RequirePackage[T1]{fontenc}
-\RequirePackage[usenames,dvipsnames,svgnames,table]{xcolor}
-\hypersetup{
-  plainpages=false,          % Multiple page numbering support
-  pdfpagelabels              % Generate pdf page labels
-}
-
-% Block definitions
-\def\thesis@blocks@frontMatter{%
-  \pagestyle{plain}
-  \parindent 1.5em
-  \setcounter{page}{1}
-  \pagenumbering{roman}}
-
-\def\thesis@blocks@cover{%
-  \begin{alwayssingle}
-  \thispagestyle{empty}
-  \begin{center}
-  {\sc\thesis@universityName\\\thesis@facultyName}
-  \vskip 1.4em
-  \includegraphics[width=40mm]{\thesis@logopath/\thesis@logo}\\[0.4in]
-  \let\footnotesize\small
-  \let\footnoterule\relax{}
-  {\titlefont\bf\thesis@title\par\vfil}\vskip 0.8in
-  {\sc \thesis@typeName}\\[0.3in]
-  {\Large\bf\thesis@author}
-  \par\vfill
-  {\large\thesis@place, \thesis@year}
-  \end{center}
-  \end{alwayssingle}
-  \newpage}
-
-\def\thesis@blocks@titlePage{%
-  \begin{alwayssingle}
-  \thispagestyle{empty}
-  \begin{center}
-  {\sc\thesis@universityName\\\thesis@facultyName}
-  \vskip 1.4em
-  \includegraphics[width=40mm]{\thesis@logopath@color/\thesis@logo}\\[0.4in]
-  \let\footnotesize\small
-  \let\footnoterule\relax{}
-  {\titlefont\bf\thesis@title\par\vfil}\vskip 0.8in
-  {\sc \thesis@typeName}\\[0.3in]
-  {\Large\bf\thesis@author}
-  \par\vfill
-  {\large\thesis@place, \thesis@year}
-  \end{center}
-  \end{alwayssingle}
-  \newpage}
-
-\def\thesis@blocks@declaration{%
-    \begin{alwayssingle}%
-      \chapter*{\thesis@declarationTitle}%
-      \thesis@declaration%
-      \vskip 2cm%
-      \hfill\thesis@author%
-      \par\vfill%
-      \textbf{\thesis@advisorTitle:} \thesis@advisor%
-      \par\vfil%
-      \newpage%
-    \end{alwayssingle}}
-
-\def\thesis@blocks@thanks{%
-  \begin{alwayssingle}%
-    \chapter*{\thesis@thanksTitle}%
-    \thesis@thanks%
-    \par\vfill%
-  \end{alwayssingle}%
-  \newpage}
-
-\def\thesis@blocks@abstract{%
-  \begin{alwayssingle}%
-    \chapter*{\thesis@abstractTitle}%
-    \thesis@abstract%
-    \par\vfil\null%
-  \end{alwayssingle}%
-  \newpage}
-
-\def\thesis@blocks@abstractEn{%
-  \ifx\thesis@abstractEn\undefined\else%
-    \begin{alwayssingle}%
-      \chapter*{\thesis@abstractTitle}%
-      \thesis@abstractEn%
-      \par\vfil\null%
-    \end{alwayssingle}%
-    \newpage%
-  \fi}
-
-\def\thesis@blocks@keywords{%
-  \begin{alwayssingle}%
-    \chapter*{\thesis@keywordsTitle}%
-    \thesis@keywords%
-    \par\vfill%
-  \end{alwayssingle}%
-  \newpage}
-
-\def\thesis@blocks@keywordsEn{%
-  \ifx\thesis@keywordsEn\undefined\else%
-    \begin{alwayssingle}%
-      \chapter*{\thesis@keywordsTitle}%
-      \thesis@keywords%
-      \par\vfill%
-    \end{alwayssingle}%
-    \newpage%
-  \fi}
-
-\def\thesis@blocks@mainMatter{%
-  \if@twoside
-    \clearpage
-    \thispagestyle{empty}
-    \cleardoublepage
-  \else
-    \clearpage
-  \fi
-  \setcounter{page}{1}
-  \pagenumbering{arabic}
-  \pagestyle{thesisheadings}
-  \parindent 1.5em\relax}
-
-% Style definitions
-\setcounter{tocdepth}{4}
-
-\input\thesis@stylepath mu/fit1\@ptsize.clo\relax
-
-\def\ps@thesisheadings{%
-\def\chaptermark##1{%
-\markright{%
-\ifnum\c@secnumdepth >\m@ne
-\thechapter.\ %
-\fi ##1}}
-\let\@oddfoot\@empty
-\let\@oddhead\@empty
-\def\@oddhead{\vbox{\hbox to \textwidth{%
-\hfil{\sc\rightmark}}\vskip 4pt\hrule}}
-\if@twoside
- \def\@evenhead{\vbox{\hbox to \textwidth{%
- {\sc\rightmark}\hfil}\vskip 4pt\hrule}}
-\else
- \let\@evenhead\@oddhead
-\fi
-\def\@oddfoot{\hfil\PageFont\thepage}
-\if@twoside
- \def\@evenfoot{\PageFont\thepage\hfil}%
-\else
- \let\@evenfoot\@oddfoot
-\fi
-\let\@mkboth\markboth
-}
-
-\renewcommand*\chapter{%
-\if@twoside
- \clearpage
- \thispagestyle{empty}
- \cleardoublepage
-\else
- \clearpage
-\fi
-\thispagestyle{plain}%
-\global\@topnum\z@
-\@afterindentfalse
-\secdef\@chapter\@schapter}
-
-\renewcommand*\part{%
-\clearpage
-\thispagestyle{empty}
-\cleardoublepage
-\thispagestyle{empty}%
-\if@twocolumn%
- \onecolumn
- \@tempswatrue
-\else
- \@tempswafalse
-\fi
-\hbox{}\vfil
-\secdef\@part\@spart}
-
-\def\titlefont{\fontsize\@xxvpt{30}\selectfont}
-
-\newif\if@restonecol
-\def\alwayssingle{%
-  \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi}
-\def\endalwayssingle{\if@restonecol\twocolumn\fi}
-
-\renewcommand*\l@part[2]{%
-  \ifnum \c@tocdepth >-2\relax
-    \addpenalty{-\@highpenalty}%
-    \addvspace{0.5em \@plus\p@}%
-    \begingroup
-      \setlength\@tempdima{3em}%
-      \parindent \z@ \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      {\leavevmode
-       \normalfont \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
-       \nobreak
-         \global\@nobreaktrue
-         \everypar{\global\@nobreakfalse\everypar{}}%
-    \endgroup
-    \addvspace{0.2em \@plus\p@}%
-  \fi}
-
-\renewcommand*\l@chapter[2]{%
-  \ifnum \c@tocdepth >\m@ne
-    \addpenalty{-\@highpenalty}%
-    \vskip 1.0em \@plus\p@
-    \setlength\@tempdima{1.5em}%
-    \begingroup
-      \parindent \z@ \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      \leavevmode \bfseries
-      \advance\leftskip\@tempdima
-      \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-      \penalty\@highpenalty
-    \endgroup
-  \fi}
-
-\renewcommand*\l@chapter{\@dottedtocline{1}{0em}{1.5em}}
-\renewcommand*\l@section{\@dottedtocline{2}{1.5em}{2.3em}}
-\renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
-\renewcommand*\l@subsubsection{\@dottedtocline{2}{7.0em}{3.8em}}
\ No newline at end of file
diff --git a/style/mu/fi.dtx b/style/mu/fi.dtx
new file mode 100644
index 0000000000000000000000000000000000000000..35c99b830ac8af1d3aba77d58e04f3272e83e22f
--- /dev/null
+++ b/style/mu/fi.dtx
@@ -0,0 +1,54 @@
+% \file{style/mu/fi.sty}
+% This is the style file for the theses written at the Faculty of
+% Informatics at the Masaryk University in Brno. It has been
+% prepared in accordance with the formal requirements published at
+% the website of the faculty\footnote{See
+% \url{https://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}}.
+%    \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+%    \end{macrocode}
+% The file recognizes the following options:
+% \begin{itemize}
+%   \item\texttt{lot}, \texttt{nolot} -- A list of tables is or
+%     isn't going to be included in the autolayout preamble,
+%     respectively.
+%   \item\texttt{lof}, \texttt{nolof} -- A list of figures is or
+%     isn't going to be included in the autolayout preamble,
+%     respectively.
+% \end{itemize}
+% The defaults are \texttt{lot} and \texttt{lof}.
+%    \begin{macrocode}
+\ProvidesPackage{fithesis3/style/mu/fi}[2015/04/08]
+\DeclareOption{nolot}{\def\thesis@blocks@lot{}}
+\DeclareOption{lot}{\let\thesis@blocks@lot\listoftables}
+\DeclareOption{nolof}{\def\thesis@blocks@lof{}}
+\DeclareOption{lof}{\let\thesis@blocks@lof\listoffigures}
+\ExecuteOptions{lot,lof}
+\ProcessOptions
+%    \end{macrocode}
+% The style file defines the autolayout preamble as the cover and
+% the title page followed by the declaration, acknowledgement,
+% abstract, keywords and tables of contents, tables and figures as
+% a part of the front matter. All of the blocks are defined in the
+% \texttt{style/mu/base.tex} file except for the
+% \DescribeMacro{\thesis@blocks@lof}|\thesis@blocks@lof| and
+% \DescribeMacro{\thesis@blocks@lot}|\thesis@blocks@lot|, which
+% expand to either |\listoffigures| or |\listoftables|,
+% respectively, or to an empty string based on the options.
+%    \begin{macrocode}
+\def\thesis@preamble{%
+  \thesis@blocks@frontMatter%
+    \thesis@blocks@cover%
+    \thesis@blocks@titlePage%
+    \thesis@blocks@declaration%
+    \thesis@blocks@thanks%
+    \thesis@blocks@abstract%
+    \thesis@blocks@abstractEn%
+    \thesis@blocks@keywords%
+    \thesis@blocks@keywordsEn%
+    \tableofcontents%
+    \thesis@blocks@lot%
+    \thesis@blocks@lof%
+  \thesis@blocks@mainMatter%
+}
+%    \end{macrocode}
diff --git a/style/mu/fi.ins b/style/mu/fi.ins
new file mode 100644
index 0000000000000000000000000000000000000000..625989568da826ab8de6ef700cecc130ca4b1474
--- /dev/null
+++ b/style/mu/fi.ins
@@ -0,0 +1,3 @@
+\input ../../docstrip.cfg
+\generate{\file{fi.sty}{\from{fi.dtx}{}}}
+\endbatchfile
diff --git a/style/mu/fi.sty b/style/mu/fi.sty
deleted file mode 100644
index e0564c5d42a85d4f9df7ae59490f6f98a976c0cc..0000000000000000000000000000000000000000
--- a/style/mu/fi.sty
+++ /dev/null
@@ -1,25 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-
-\DeclareOption{nolot}{\def\thesis@blocks@lot{}}
-\DeclareOption{lot}{\let\thesis@blocks@lot\listoftables}
-\DeclareOption{nolof}{\def\thesis@blocks@lof{}}
-\DeclareOption{lof}{\let\thesis@blocks@lof\listoffigures}
-\ExecuteOptions{lot,lof}
-\ProcessOptions
-
-% Autolayout definition
-\def\thesis@preamble{%
-  \thesis@blocks@frontMatter%
-    \thesis@blocks@cover%
-    \thesis@blocks@titlePage%
-    \thesis@blocks@declaration%
-    \thesis@blocks@thanks%
-    \thesis@blocks@abstract%
-    \thesis@blocks@abstractEn%
-    \thesis@blocks@keywords%
-    \thesis@blocks@keywordsEn%
-    \tableofcontents%
-    \thesis@blocks@lot%
-    \thesis@blocks@lof%
-  \thesis@blocks@mainMatter%
-}
diff --git a/style/mu/fit10.clo b/style/mu/fit10.clo
deleted file mode 100644
index 0fdb90162e41f4a444fe5ce13a9edfb0843a474f..0000000000000000000000000000000000000000
--- a/style/mu/fit10.clo
+++ /dev/null
@@ -1,270 +0,0 @@
-%%
-%% This is file `fit10.clo',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% fithesis.dtx  (with options: `opt,10pt')
-%% 
-%% 
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file.
-%% 
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% 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.
-%% 
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesFile{fit10.clo}[2015/03/04 fithesis3 (size option)]
-
-\renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont%
-\abovedisplayskip 10\p@ plus2\p@ minus5\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip  \z@ plus3\p@
-\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
-\let\@listi\@listI}
-
-\renewcommand{\small}{\fontsize\@ixpt{11}\selectfont%
-\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip \z@ plus2\p@
-\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
-\def\@listi{\leftmargin\leftmargini
-\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
-\itemsep \parsep}}
-
-\renewcommand{\footnotesize}{\fontsize\@viiipt{9.5}\selectfont%
-\abovedisplayskip 6\p@ plus2\p@ minus4\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip \z@ plus\p@
-\belowdisplayshortskip 3\p@ plus\p@ minus2\p@
-\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
-\topsep 3\p@ plus\p@ minus\p@\parsep 2\p@ plus\p@ minus\p@
-\itemsep \parsep}}
-
-\renewcommand{\scriptsize}{\fontsize\@viipt{8pt}\selectfont}
-\renewcommand{\tiny}{\fontsize\@vpt{6pt}\selectfont}
-\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont}
-\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont}
-\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont}
-\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont}
-\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
-
-\let\@normalsize\normalsize
-\normalsize
-
-\if@twoside
-   \oddsidemargin 0.75in
-   \evensidemargin 0.4in
-   \marginparwidth 0pt
-\else
-   \oddsidemargin 0.75in
-   \evensidemargin 0.75in
-   \marginparwidth 0pt
-\fi
-\marginparsep 10pt
-
-\topmargin 0.4in
-
-\headheight 20pt
-\headsep 10pt
-\topskip 10pt
-\footskip 30pt
-
-\textheight = 43\baselineskip
-\advance\textheight by \topskip
-\textwidth 5.0truein
-\columnsep 10pt
-\columnseprule 0pt
-
-\footnotesep 6.65pt
-\skip\footins 9pt plus 4pt minus 2pt
-\floatsep 12pt plus 2pt minus 2pt
-\textfloatsep 20pt plus 2pt minus 4pt
-\intextsep 12pt plus 2pt minus 2pt
-\dblfloatsep 12pt plus 2pt minus 2pt
-\dbltextfloatsep 20pt plus 2pt minus 4pt
-
-\@fptop 0pt plus 1fil
-\@fpsep 8pt plus 2fil
-\@fpbot 0pt plus 1fil
-\@dblfptop 0pt plus 1fil
-\@dblfpsep 8pt plus 2fil
-\@dblfpbot 0pt plus 1fil
-\marginparpush 5pt
-
-\parskip 0pt plus 1pt
-\partopsep 2pt plus 1pt minus 1pt
-
-\@lowpenalty   51
-\@medpenalty  151
-\@highpenalty 301
-\@beginparpenalty -\@lowpenalty
-\@endparpenalty   -\@lowpenalty
-\@itempenalty     -\@lowpenalty
-
-\let\@fichapters\False
-\ifx\clsclass\Scrreprtcls\let\@fichapters\True\fi
-\ifx\clsclass\RapportIcls\let\@fichapters\True\fi
-\ifx\clsclass\RapportIIIcls\let\@fichapters\True\fi
-\ifx\@fichapters\True
-  \def\@makechapterhead#1{%
-    {%
-      \setlength\parindent{\z@}%
-      \setlength\parskip  {\z@}%
-      \ifnum
-        \c@secnumdepth >\m@ne
-      \par\nobreak
-      \vskip 10\p@
-      \fi
-      \Large \ChapFont \thechapter{} \space #1\par
-      \nobreak
-      \vskip 20\p@
-    }%
-  }
-
-  \def\@makeschapterhead#1{%
-    {%
-      \setlength\parindent{\z@}%
-      \setlength\parskip  {\z@}%
-      \Large \ChapFont #1\par
-      \nobreak
-      \vskip 20\p@
-    }%
-  }
-
-  \def\chapter{%
-     \clearpage
-     \thispagestyle{plain}
-     \global\@topnum\z@
-     \@afterindentfalse
-     \secdef\@chapter\@schapter
-   }
-
-  \def\@chapter[#1]#2{%
-    \ifnum \c@secnumdepth
-      >\m@ne
-    \refstepcounter{chapter}%
-    \typeout{\@chapapp\space\thechapter.}%
-    \addcontentsline{toc}{chapter}{\protect
-    \numberline{\thechapter}\bfseries #1}
-    \else%
-     \addcontentsline{toc}{chapter}{\bfseries #1}
-    \fi
-    \chaptermark{#1}%
-    \addtocontents{lof}%
-  {\protect\addvspace{4\p@}}
-    \addtocontents{lot}%
-  {\protect\addvspace{4\p@}}
-    \if@twocolumn
-    \@topnewpage[\@makechapterhead{#2}]%
-    \else
-      \@makechapterhead{#2}%
-    \@afterheading
-    \fi
-  }
-
-  %\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
-  %        \else \@makeschapterhead{#1}%
-  %              \markright{#1}
-  %              \@afterheading\fi}
-\fi
-
-\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
-    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
-    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
-    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
-\def\paragraph{\@startsection
-    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
-    \normalsize\bfseries}}
-\def\subparagraph{\@startsection
-     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
-     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
-
-\setcounter{secnumdepth}{2}
-
-\def\appendix{\par
-  \setcounter{chapter}{0}%
-  \setcounter{section}{0}%
-  \def\@chapapp{\appendixname}%
-  \def\thechapter{\Alph{chapter}}}
-
-\leftmargini 2.5em
-\leftmarginii 2.2em     % > \labelsep + width of '(m)'
-\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
-\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
-\leftmarginv 1em
-\leftmarginvi 1em
-
-\leftmargin\leftmargini
-\labelsep .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep
-
-\def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@%
-\topsep 8\p@ plus2\p@ minus4\p@
-\itemsep 4\p@ plus2\p@ minus\p@}
-
-\let\@listi\@listI
-\@listi
-
-\def\@listii{\leftmargin\leftmarginii
-   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
-   \topsep 4\p@ plus2\p@ minus\p@
-   \parsep 2\p@ plus\p@ minus\p@
-   \itemsep \parsep}
-
-\def\@listiii{\leftmargin\leftmarginiii
-    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
-    \topsep 2\p@ plus\p@ minus\p@
-    \parsep \z@ \partopsep\p@ plus\z@ minus\p@
-    \itemsep \topsep}
-
-\def\@listiv{\leftmargin\leftmarginiv
-     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-
-\def\@listv{\leftmargin\leftmarginv
-     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-
-\def\@listvi{\leftmargin\leftmarginvi
-     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-\endinput
-%%
-%% End of file `fit10.clo'.
diff --git a/style/mu/fit11.clo b/style/mu/fit11.clo
deleted file mode 100644
index 150b20661ab67c76a342fced9bcf1cbdc7028a8f..0000000000000000000000000000000000000000
--- a/style/mu/fit11.clo
+++ /dev/null
@@ -1,269 +0,0 @@
-%%
-%% This is file `fit11.clo',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% fithesis.dtx  (with options: `opt,11pt')
-%% 
-%% 
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file.
-%% 
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% 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.
-%% 
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesFile{fit11.clo}[2015/03/04 fithesis3 (size option)]
-
-\renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont%
-\abovedisplayskip 11\p@ plus3\p@ minus6\p@
-\belowdisplayskip \abovedisplayskip
-\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
-\let\@listi\@listI}
-
-\renewcommand{\small}{\fontsize\@xpt{12}\selectfont%
-\abovedisplayskip 10\p@ plus2\p@ minus5\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip  \z@ plus3\p@
-\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
-\def\@listi{\leftmargin\leftmargini
-\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
-\itemsep \parsep}}
-
-\renewcommand{\footnotesize}{\fontsize\@ixpt{11}\selectfont%
-\abovedisplayskip 8\p@ plus2\p@ minus4\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip \z@ plus\p@
-\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
-\def\@listi{\leftmargin\leftmargini
-\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
-\itemsep \parsep}}
-
-\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont}
-\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont}
-\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont}
-\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont}
-\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont}
-\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont}
-\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
-
-\let\@normalsize\normalsize
-\normalsize
-
-\if@twoside
-   \oddsidemargin 0.75in
-   \evensidemargin 0.4in
-   \marginparwidth 0pt
-\else
-   \oddsidemargin 0.75in
-   \evensidemargin 0.75in
-   \marginparwidth 0pt
-\fi
-\marginparsep 10pt
-
-\topmargin 0.4in
-
-\headheight 20pt
-\headsep 10pt
-\topskip 10pt
-\footskip 30pt
-
-\textheight = 39\baselineskip
-\advance\textheight by \topskip
-\textwidth 5.0truein
-\columnsep 10pt
-\columnseprule 0pt
-
-\footnotesep 7.7pt
-\skip\footins 10pt plus 4pt minus 2pt
-\floatsep 12pt plus 2pt minus 2pt
-\textfloatsep 20pt plus 2pt minus 4pt
-\intextsep 12pt plus 2pt minus 2pt
-\dblfloatsep 12pt plus 2pt minus 2pt
-\dbltextfloatsep 20pt plus 2pt minus 4pt
-
-\@fptop 0pt plus 1fil
-\@fpsep 8pt plus 2fil
-\@fpbot 0pt plus 1fil
-\@dblfptop 0pt plus 1fil
-\@dblfpsep 8pt plus 2fil
-\@dblfpbot 0pt plus 1fil
-\marginparpush 5pt
-
-\parskip 0pt plus 0pt
-\partopsep 3pt plus 1pt minus 2pt
-
-\@lowpenalty   51
-\@medpenalty  151
-\@highpenalty 301
-\@beginparpenalty -\@lowpenalty
-\@endparpenalty   -\@lowpenalty
-\@itempenalty     -\@lowpenalty
-
-\let\@fichapters\False
-\ifx\clsclass\Scrreprtcls\let\@fichapters\True\fi
-\ifx\clsclass\RapportIcls\let\@fichapters\True\fi
-\ifx\clsclass\RapportIIIcls\let\@fichapters\True\fi
-\ifx\@fichapters\True
-  \def\@makechapterhead#1{%
-    {%
-      \setlength\parindent{\z@}%
-      \setlength\parskip  {\z@}%
-      \ifnum
-        \c@secnumdepth >\m@ne
-      \par\nobreak
-      \vskip 10\p@
-      \fi
-      \Large \ChapFont \thechapter{} \space #1\par
-      \nobreak
-      \vskip 20\p@
-    }%
-  }
-
-  \def\@makeschapterhead#1{%
-    {%
-      \setlength\parindent{\z@}%
-      \setlength\parskip  {\z@}%
-      \Large \ChapFont #1\par
-      \nobreak
-      \vskip 20\p@
-    }%
-  }
-
-  \def\chapter{%
-     \clearpage
-     \thispagestyle{plain}
-     \global\@topnum\z@
-     \@afterindentfalse
-     \secdef\@chapter\@schapter
-   }
-
-  \def\@chapter[#1]#2{%
-    \ifnum \c@secnumdepth
-      >\m@ne
-    \refstepcounter{chapter}%
-    \typeout{\@chapapp\space\thechapter.}%
-    \addcontentsline{toc}{chapter}{\protect
-    \numberline{\thechapter}\bfseries #1}
-    \else%
-     \addcontentsline{toc}{chapter}{\bfseries #1}
-    \fi
-    \chaptermark{#1}%
-    \addtocontents{lof}%
-  {\protect\addvspace{4\p@}}
-    \addtocontents{lot}%
-  {\protect\addvspace{4\p@}}
-    \if@twocolumn
-    \@topnewpage[\@makechapterhead{#2}]%
-    \else
-      \@makechapterhead{#2}%
-    \@afterheading
-    \fi
-  }
-
-  %\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
-  %        \else \@makeschapterhead{#1}%
-  %              \markright{#1}
-  %              \@afterheading\fi}
-\fi
-
-\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
-    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
-    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
-    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
-\def\paragraph{\@startsection
-    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
-    \normalsize\bfseries}}
-\def\subparagraph{\@startsection
-     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
-     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
-
-\setcounter{secnumdepth}{2}
-
-\def\appendix{\par
-  \setcounter{chapter}{0}%
-  \setcounter{section}{0}%
-  \def\@chapapp{\appendixname}%
-  \def\thechapter{\Alph{chapter}}}
-
-\leftmargini 2.5em
-\leftmarginii 2.2em     % > \labelsep + width of '(m)'
-\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
-\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
-\leftmarginv 1em
-\leftmarginvi 1em
-
-\leftmargin\leftmargini
-\labelsep .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep
-
-\def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@
-\topsep 9\p@ plus3\p@ minus5\p@
-\itemsep 4.5\p@ plus2\p@ minus\p@}
-
-\let\@listi\@listI
-\@listi
-
-\def\@listii{\leftmargin\leftmarginii
-   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
-   \topsep 4.5\p@ plus2\p@ minus\p@
-   \parsep 2\p@ plus\p@ minus\p@
-   \itemsep \parsep}
-
-\def\@listiii{\leftmargin\leftmarginiii
-    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
-    \topsep 2\p@ plus\p@ minus\p@
-    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
-    \itemsep \topsep}
-
-\def\@listiv{\leftmargin\leftmarginiv
-     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-
-\def\@listv{\leftmargin\leftmarginv
-     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-
-\def\@listvi{\leftmargin\leftmarginvi
-     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-\endinput
-%%
-%% End of file `fit11.clo'.
diff --git a/style/mu/fit12.clo b/style/mu/fit12.clo
deleted file mode 100644
index 293861e1acf00c6834d9d2ab2fc507727118ff19..0000000000000000000000000000000000000000
--- a/style/mu/fit12.clo
+++ /dev/null
@@ -1,271 +0,0 @@
-%%
-%% This is file `fit12.clo',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% fithesis.dtx  (with options: `opt,12pt')
-%% 
-%% 
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file.
-%% 
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%% 
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   This system is distributed in the hope that it will be useful,
-%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
-%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%% 
-%% 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.
-%% 
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesFile{fit12.clo}[2015/03/04 fithesis3 (size option)]
-
-\renewcommand{\normalsize}{\fontsize\@xiipt{14.5}\selectfont%
-\abovedisplayskip 12\p@ plus3\p@ minus7\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip  \z@ plus3\p@
-\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
-\let\@listi\@listI}
-
-\renewcommand{\small}{\fontsize\@xipt{13.6}\selectfont%
-\abovedisplayskip 11\p@ plus3\p@ minus6\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip  \z@ plus3\p@
-\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
-\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
-\parsep 4.5\p@ plus2\p@ minus\p@
-            \itemsep \parsep
-            \topsep 9\p@ plus3\p@ minus5\p@}}
-
-\renewcommand{\footnotesize}{\fontsize\@xpt{12}\selectfont%
-\abovedisplayskip 10\p@ plus2\p@ minus5\p@
-\belowdisplayskip \abovedisplayskip
-\abovedisplayshortskip  \z@ plus3\p@
-\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
-\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
-\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
-\itemsep \parsep}}
-
-\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont}
-\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont}
-\renewcommand{\large}{\fontsize\@xivpt{18pt}\selectfont}
-\renewcommand{\Large}{\fontsize\@xviipt{22pt}\selectfont}
-\renewcommand{\LARGE}{\fontsize\@xxpt{25pt}\selectfont}
-\renewcommand{\huge}{\fontsize\@xxvpt{30pt}\selectfont}
-\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
-
-\let\@normalsize\normalsize
-\normalsize
-
-\if@twoside
-   \oddsidemargin 0.75in
-   \evensidemargin 0.4in
-   \marginparwidth 0pt
-\else
-   \oddsidemargin 0.75in
-   \evensidemargin 0.75in
-   \marginparwidth 0pt
-\fi
-\marginparsep 10pt
-
-\topmargin 0.4in
-
-\headheight 20pt
-\headsep 10pt
-\topskip 10pt
-\footskip 30pt
-
-\textheight = 37\baselineskip
-\advance\textheight by \topskip
-\textwidth 5.0truein
-\columnsep 10pt
-\columnseprule 0pt
-
-\footnotesep 8.4pt
-\skip\footins 10.8pt plus 4pt minus 2pt
-\floatsep 14pt plus 2pt minus 4pt
-\textfloatsep 20pt plus 2pt minus 4pt
-\intextsep 14pt plus 4pt minus 4pt
-\dblfloatsep 14pt plus 2pt minus 4pt
-\dbltextfloatsep 20pt plus 2pt minus 4pt
-
-\@fptop 0pt plus 1fil
-\@fpsep 10pt plus 2fil
-\@fpbot 0pt plus 1fil
-\@dblfptop 0pt plus 1fil
-\@dblfpsep 10pt plus 2fil
-\@dblfpbot 0pt plus 1fil
-\marginparpush 7pt
-
-\parskip 0pt plus 0pt
-\partopsep 3pt plus 2pt minus 2pt
-
-\@lowpenalty   51
-\@medpenalty  151
-\@highpenalty 301
-\@beginparpenalty -\@lowpenalty
-\@endparpenalty   -\@lowpenalty
-\@itempenalty     -\@lowpenalty
-
-\let\@fichapters\False
-\ifx\clsclass\Scrreprtcls\let\@fichapters\True\fi
-\ifx\clsclass\RapportIcls\let\@fichapters\True\fi
-\ifx\clsclass\RapportIIIcls\let\@fichapters\True\fi
-\ifx\@fichapters\True
-  \def\@makechapterhead#1{%
-    {%
-      \setlength\parindent{\z@}%
-      \setlength\parskip  {\z@}%
-      \ifnum
-        \c@secnumdepth >\m@ne
-      \par\nobreak
-      \vskip 10\p@
-      \fi
-      \Large \ChapFont \thechapter{} \space #1\par
-      \nobreak
-      \vskip 20\p@
-    }%
-  }
-
-  \def\@makeschapterhead#1{%
-    {%
-      \setlength\parindent{\z@}%
-      \setlength\parskip  {\z@}%
-      \Large \ChapFont #1\par
-      \nobreak
-      \vskip 20\p@
-    }%
-  }
-
-  \def\chapter{%
-     \clearpage
-     \thispagestyle{plain}
-     \global\@topnum\z@
-     \@afterindentfalse
-     \secdef\@chapter\@schapter
-   }
-
-  \def\@chapter[#1]#2{%
-    \ifnum \c@secnumdepth
-      >\m@ne
-    \refstepcounter{chapter}%
-    \typeout{\@chapapp\space\thechapter.}%
-    \addcontentsline{toc}{chapter}{\protect
-    \numberline{\thechapter}\bfseries #1}
-    \else%
-     \addcontentsline{toc}{chapter}{\bfseries #1}
-    \fi
-    \chaptermark{#1}%
-    \addtocontents{lof}%
-  {\protect\addvspace{4\p@}}
-    \addtocontents{lot}%
-  {\protect\addvspace{4\p@}}
-    \if@twocolumn
-    \@topnewpage[\@makechapterhead{#2}]%
-    \else
-      \@makechapterhead{#2}%
-    \@afterheading
-    \fi
-  }
-
-  %\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
-  %        \else \@makeschapterhead{#1}%
-  %              \markright{#1}
-  %              \@afterheading\fi}
-\fi
-
-\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
-    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
-    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
-    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
-\def\paragraph{\@startsection
-    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
-    \normalsize\bfseries}}
-\def\subparagraph{\@startsection
-     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
-     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
-
-\setcounter{secnumdepth}{2}
-
-\def\appendix{\par
-  \setcounter{chapter}{0}%
-  \setcounter{section}{0}%
-  \def\@chapapp{\appendixname}%
-  \def\thechapter{\Alph{chapter}}}
-
-\leftmargini 2.5em
-\leftmarginii 2.2em     % > \labelsep + width of '(m)'
-\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
-\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
-\leftmarginv 1em
-\leftmarginvi 1em
-
-\leftmargin\leftmargini
-\labelsep .5em
-\labelwidth\leftmargini\advance\labelwidth-\labelsep
-
-\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
-\topsep 10\p@ plus4\p@ minus6\p@
-\itemsep 5\p@ plus2.5\p@ minus\p@}
-
-\let\@listi\@listI
-\@listi
-
-\def\@listii{\leftmargin\leftmarginii
-   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
-   \topsep 5\p@ plus2.5\p@ minus\p@
-   \parsep 2.5\p@ plus\p@ minus\p@
-   \itemsep \parsep}
-
-\def\@listiii{\leftmargin\leftmarginiii
-    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
-    \topsep 2.5\p@ plus\p@ minus\p@
-    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
-    \itemsep \topsep}
-
-\def\@listiv{\leftmargin\leftmarginiv
-     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
-
-\def\@listv{\leftmargin\leftmarginv
-     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
-
-\def\@listvi{\leftmargin\leftmarginvi
-     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
-\endinput
-%%
-%% End of file `fit12.clo'.