diff --git a/.gitignore b/.gitignore index 57e2296c2a404c92a6cc1330e717ee3af307af5c..80103299587d3afa75948a24bed198994afab7bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1 @@ -.svn -*.swp -*.vim -fithesis.dtx -*.aux -*.log -*.out -*.idx -*.toc -test.sh +example.* diff --git a/Makefile b/Makefile deleted file mode 100644 index f83c7ee54551fe44b4c2efd94d0f70f0eb9b10af..0000000000000000000000000000000000000000 --- a/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -.PHONY: all clean clean-all install - -CLASSFILES=fit1[012].clo fithesis.cls fithesis[23].cls -AUXFILES=example.aux example.log example.out example.toc example.lot example.lof fithesis.aux fithesis.log fithesis.toc fithesis.ind fithesis.idx fithesis.out fithesis.ilg fithesis.gls fithesis.glo -PDFFILES=fithesis.pdf example.pdf -LOGOFILES=loga/phil-logo.eps loga/med-logo.pdf loga/fi-logo.pdf loga/ped-logo.pdf loga/med-logo.eps loga/sci-logo.eps loga/fsps-logo.pdf loga/fss-logo.pdf loga/color/phil-logo.eps loga/color/examples.pdf loga/color/med-logo.pdf loga/color/fi-logo.pdf loga/color/ped-logo.pdf loga/color/med-logo.eps loga/color/sci-logo.eps loga/color/fsps-logo.pdf loga/color/fss-logo.pdf loga/color/fsps-logo.eps loga/color/law-logo.eps loga/color/ped-logo.eps loga/color/sci-logo.pdf loga/color/law-logo.pdf loga/color/fi-logo.eps loga/color/fss-logo.eps loga/color/econ-logo.eps loga/color/econ-logo.pdf loga/color/phil-logo.pdf loga/fsps-logo.eps loga/law-logo.eps loga/ped-logo.eps loga/sci-logo.pdf loga/law-logo.pdf loga/fi-logo.eps loga/fss-logo.eps loga/econ-logo.eps loga/econ-logo.pdf loga/phil-logo.pdf -SOURCEFILE=fithesis.dtx -OTHERFILES=csquot.sty example.tex fithesis.ins Makefile -INSTALLFILES=$(CLASSFILES) $(LOGOFILES) $(PDFFILES) $(SOURCEFILE) $(OTHERFILES) -TEXLIVEFILES=$(CLASSFILES) $(LOGOFILES) - -# This pseudo-target creates the class files, typesets both -# the example file and the technical documentation and -# removes any auxiliary files. -all: fithesis3.cls $(PDFFILES) clean - @if ! kpsewhich scrreprt.cls > /dev/null; then echo "The scrreprt document class isn't installed."; exit 1; fi - @if ! kpsewhich tex-gyre/qplr.pfb > /dev/null; then echo "The TeX Gyre Pagella font isn't installed."; exit 1; fi - cd loga && make all - -# This target preprocesses the `fithesis.raw.dtx` file into -# the `fithesis.dtx` source file. -$(SOURCEFILE): fithesis.raw.dtx - ./fithesis.raw.sh $< $@ - -# This target creates the class files. -fithesis3.cls: fithesis.ins fithesis.dtx - yes | tex $< - -# This target typesets the technical documentation. -fithesis.pdf: fithesis.dtx - pdflatex $< - makeindex -s gind.ist fithesis - makeindex -s gglo.ist -o fithesis.gls fithesis.glo - pdflatex $< - -# This target typesets the example. -example.pdf: example.tex fithesis3.cls - pdflatex $< - pdflatex $< - -# This pseudo-target installs any non-auxiliary files -# into the directory provided within the "to" argument. -install: - @if [ -z "$(to)" ]; then echo "Usage: make to=DIRECTORY install"; exit 1; fi - mkdir --parents "$(to)/fithesis3" - cp --parents --verbose $(INSTALLFILES) "$(to)/fithesis3" - -# This pseudo-target installs the class files and -# the technical documentation into the folder structure -# of the TeXLive package, whose root directory is -# specified within the "to" argument. -install-texlive: - @if [ -z "$(to)" ]; then echo "Usage: make to=DIRECTORY install-texlive"; exit 1; fi - mkdir --parents "$(to)/texmf-local/tex/latex/fithesis3" - cp --parents --verbose $(TEXLIVEFILES) "$(to)/texmf-local/tex/latex/fithesis2" - mkdir --parents "$(to)/texmf-local/doc/latex/fithesis3" - cp fithesis.pdf "$(to)/texmf-local/doc/latex/fithesis3/manual.pdf" - texhash - -# This pseudo-target removes any existing auxiliary files. -clean: - rm -f $(AUXFILES) - -# This pseudo-target removes any non-makeable files. -clean-all: clean - rm -f $(PDFFILES) $(CLASSFILES) $(SOURCEFILE) diff --git a/csquot.sty b/csquot.sty deleted file mode 100644 index 34d9d54eee289fd10a8241a028229a098fafb548..0000000000000000000000000000000000000000 --- a/csquot.sty +++ /dev/null @@ -1,11 +0,0 @@ - -\chardef\cslq="12 -\chardef\csrq="10 - -\catcode`\"=13 -\def\csslq{\cslq\global\let"=\cssrq} -\def\cssrq{\csrq\global\let"=\csslq} -\let"=\csslq - -%\foo - diff --git a/example.pdf b/example.pdf index e4192a80704f66719a277bb24be0e3a872c7f577..6a7b585f86578a943114549eda680e24730a4c81 100644 Binary files a/example.pdf and b/example.pdf differ diff --git a/example.tex b/example.tex index 45dd6800c531b440467b963ba04d216c4248a3ec..cd061c072669311069245515da7de8c93da7dd13 100644 --- a/example.tex +++ b/example.tex @@ -1,71 +1,6 @@ -\documentclass[12pt,oneside]{fithesis3} -\usepackage[english]{babel} % Multilingual support -\usepackage[utf8]{inputenc} % UTF-8 encoding -\usepackage[T1]{fontenc} % T1 font encoding -\usepackage[ % A sans serif font that blends - scaled=0.86 % well with Palatino -]{berasans} -\usepackage[ % A tt font if you do not like LM's tt - scaled=1.03 -]{inconsolata} -\usepackage{blindtext} % Lorem ipsum generator -\usepackage[toc,page]{appendix} % Appendices - -\thesislang{en} % The language of the thesis -\thesistitle{Sample thesis} % The title of the thesis -\thesissubtitle{Bachelor's thesis} % The type of the thesis -\thesisstudent{Jane Doe} % Your name -\thesisgender{female} % Your gender -\thesisfaculty{fi} % Your faculty -\thesisyear{spring \the\year} % The academic term of your thesis defense -\thesisadvisor{John Foo, Ph.D.} % Your advisor - +\documentclass[color]{fithesis3} +\usepackage[utf8]{inputenc} +\usepackage[slovak]{babel} \begin{document} - \FrontMatter % The front matter - \ThesisTitlePage % The title page - \begin{ThesisDeclaration} % The declaration - \DeclarationText - \AdvisorName - \end{ThesisDeclaration} - \begin{ThesisThanks} % The acknowledgements (optional) - I would like to thank my supervisor\,\dots - \end{ThesisThanks} - \begin{ThesisAbstract} % The abstract - The aim of the bachelor work is to provide\,\dots - \end{ThesisAbstract} - \begin{ThesisKeyWords} % The keywords - keyword1, keyword2\,\dots - \end{ThesisKeyWords} - \tableofcontents % The table of contents - - \MainMatter % The main matter - \chapter{Introduction} % Chapters - \Blindtext - \chapter{Another chapter} - \blindtext - This chapter also contains a table \ref{table:example}. - - \begin{table} - \centering - \begin{tabular}{ccc} - \textbf{Column 1} & \textbf{Column 2} & \textbf{Column 3} \\ - \hline - 1 & 2 & 3 \\ - 4 & 5 & 6 \\ - 7 & 8 & 9 - \end{tabular} - \caption{A table full of depth and meaning} - \label{table:example} - \end{table} - % Bibliography - \listoftables % The list of tables (optional) - \listoffigures % The list of figures (optional) - % Index (optional) - - \begin{appendices} % Appendices - \chapter{First appendix} - \Blindtext - \chapter{Another appendix} - \Blindtext - \end{appendices} -\end{document} + Ahoj svÄ›te! +\end{document} diff --git a/fithesis.cls b/fithesis.cls deleted file mode 100644 index f162043ae687330d6c552e497816746cfe09eb80..0000000000000000000000000000000000000000 --- a/fithesis.cls +++ /dev/null @@ -1,69 +0,0 @@ -%% -%% This is file `fithesis.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% fithesis.dtx (with options: `oldclass1') -%% -%% -%% 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. -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{oldfithesis1}[2015/03/04 old fithesis will load fithesis3 version 0.3.08 MU thesis class] - -\errmessage{% - You are using the fithesis class, which has been deprecated. - The fithesis3 class will be used instead. - For more information, see <https://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml>% -} - -\ifx\clsclass\undefined - \def\clsclass{fithesis3} -\fi -\LoadClass{\clsclass} -\endinput -%% -%% End of file `fithesis.cls'. diff --git a/fithesis.ins b/fithesis.ins deleted file mode 100644 index 31999c4073c3b62943275e549171f999d9ff095e..0000000000000000000000000000000000000000 --- a/fithesis.ins +++ /dev/null @@ -1,109 +0,0 @@ -%% -%% 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. -%% -\def\batchfile{fithesis.ins} -\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 - -\def\batchfile{fithesis.dst} % ignored in distribution -\input docstrip.tex % ignored in distribution - -\keepsilent - -\Msg{*** Generating the files ***} - -\generateFile{fithesis.cls}{t}{\from{fithesis.dtx}{oldclass1}} -\generateFile{fithesis2.cls}{t}{\from{fithesis.dtx}{oldclass2}} -\generateFile{fithesis3.cls}{t}{\from{fithesis.dtx}{class}} -\generateFile{fit10.clo}{t}{\from{fithesis.dtx}{opt,10pt}} -\generateFile{fit11.clo}{t}{\from{fithesis.dtx}{opt,11pt}} -\generateFile{fit12.clo}{t}{\from{fithesis.dtx}{opt,12pt}} - - -\Msg{***********************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* files into a directory searched by TeX:} -\Msg{*} -\Msg{* \space\space fithesis.cls} -\Msg{* \space\space fithesis2.cls} -\Msg{* \space\space fithesis3.cls} -\Msg{* \space\space fit10.clo} -\Msg{* \space\space fit11.clo} -\Msg{* \space\space fit12.clo} -\Msg{*} -\Msg{* To produce the documentation run the files ending with} -\Msg{* `.dtx' through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing} -\Msg{***********************************************************} - -\endinput diff --git a/fithesis.pdf b/fithesis.pdf deleted file mode 100644 index 9a436c7345add87502210c71978fce41fb5b32f1..0000000000000000000000000000000000000000 Binary files a/fithesis.pdf and /dev/null differ diff --git a/fithesis.raw.dtx b/fithesis.raw.dtx deleted file mode 100644 index a2cc4046b5c2a3052ae1aa47c8cb17391a650061..0000000000000000000000000000000000000000 --- a/fithesis.raw.dtx +++ /dev/null @@ -1,1462 +0,0 @@ -% \iffalse meta-comment -% fithesis.dtx -% Copyright 1998--%%%year%%% Daniel Marek (DM), Jan PavloviÄŤ (JP), -% VĂt NovotnĂ˝ (VN), Petr Sojka (PS) -% https://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml -% Faculty of Informatics, Masaryk University -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 -% of this license or (at your option) any later version. -% The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. -% -% This work has the LPPL maintenance status `maintained'. -% -% The Current Maintainer of this work is VĂt NovotnĂ˝. -% Send bug reports, requests for additions and questions -% to the fithesis discussion forum at -% <https://is.muni.cz/auth/df/fithesis-sazba/>. -% -% This work consists of the files fithesis.dtx and fithesis.ins -% and the derived files fithesis3.cls, fithesis2.cls, fithesis.cls, -% fit10.clo, fit11.clo, fit12.clo. -% -% TODO: -% - commented source, in English -% - adding reference to docbook -% -% \begin{macrocode} -%<*driver> -\documentclass{ltxdoc} -\usepackage[utf8]{inputenc} % this file uses UTF-8 -\usepackage[czech]{babel} -\usepackage{tgpagella} -\usepackage{verbatim} -\usepackage[scaled=0.86]{berasans} -% \usepackage[scaled=1.03]{inconsolata} -\usepackage[resetfonts]{cmap} -\usepackage[T1]{fontenc} % use 8bit fonts -\usepackage{csquot,mflogo} -\usepackage{url} -\emergencystretch 2dd - -\CodelineIndex % ltxdoc class index -\EnableCrossrefs -\GlossaryPrologue{ - \section*{ZmÄ›ny} -} -\IndexPrologue{ - \section*{RejstĹ™Ăk} - ÄŚĂslice vysázenĂ© kurzĂvou odkazujĂ na stránku, na kterĂ© je pĹ™Ăslušná -poloĹľka popsána. PodtrĹľenĂ© ÄŤĂslice odkazujĂ na řádek v kĂłdu, na kterĂ©m -je poloĹľka definována. ÄŚĂslice v základnĂm Ĺ™ezu odkazujĂ na řádky kĂłdu, -na nichĹľ je poloĹľka pouĹľita. -} -\DoNotIndex{\def,\gdef,\hypersetup,\\ifx,\\fi,\True,\False,\\else,\\end, - \\begin,\',\\\\,\bf,\footnoterule,\footnotesize,\large,\Large,\let, - \newpage,\newcommand,\pagenumbering,\pagestyle,\par,\parindent, - \relax,\setcounter,\small,\v,\vfil,\vfill,\vskip,\newenvironment, - \chapter,\cleardoublepage,\clearpage,\null,\\if@twoside, - \includegraphics} - -\begin{document} - \RecordChanges - \DocInput{fithesis.dtx} - \PrintIndex - \PrintChanges -\end{document} -%</driver> -% \end{macrocode} -% \fi -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% \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 -% twocolumn, example extended (font setup), etc.). [PS] (backport of v0.2.17)} -% \changes{v0.3.07} {2015/02/03}{Replaced the \cs{thesiswoman} command with -% \cs{thesisgender}. [VN]} -% \changes{v0.3.06} {2015/01/26}{Added the colorx package and the base colors -% for each faculty. If the color option is specified, the tabular environment -% gets redefined and uses the faculty colors to color alternating table rows -% to improve readability. The hyperref links in the e-version are now likewise -% colored according to the chosen faculty, in this case regardless of the -% presence of the color option. Dropped the support for typesetting theses -% outside MU. [VN]} -% \changes{v0.3.05} {2015/01/21}{Added support for change typesetting. -% Restructured the code to make it more amenable to literal programming. -% Added support for \cs{CodelineIndex} typesetting. Added information about -% the usage of \textsf{fithesis1} and \textsf{fithesis2} on the FI unix -% machines. (backport of v0.2.16) [VN]\\Minor changes throughout the text, -% added a link to the the fithesis forums [PS] (backport of v0.2.15@r14:15)} -% \changes{v0.3.04} {2015/01/14}{Import the url package to allow for the use of -% \cs{url} within the documentation. (backport of v0.2.15@r13) [VN]} -% \changes{v0.3.03} {2015/01/14}{Small fixes (added \cs{relax} at -% \cs{MainMatter}), generating both fithesis.cls (obsolete, loading -% \texttt{fithesis2.cls}) and \texttt{fithesis2.cls}, minor doc edits, -% version numbering of \texttt{.clo} fixed, switch to utf8 and ensuring that -% \texttt{.dtx} compiles. Documentation adjusted to the status quo, added -% link to discussion forum (backport of v0.2.14) [PS]} -% \changes{v0.3.02} {2015/01/13}{pdf metadata stamping added for -% \cs{thesistitle} and \cs{thesisstudent} [VN]} -% \changes{v0.3.01} {2015/01/09}{documentation now uses babel and cmap -% packages. the entire file was transcoded into utf8, \cs{thesiscolor} was -% replaced by color class option, added pdf metadata stamping support [VN]} -% \changes{v0.3.00} {2015/01/01}{fi logo is no longer special-cased (added eps -% and pdf), \cs{thesislogopath} added to set the logo directory path, -% \cs{thesiscolor} added to enable colorful typo elements [VN]} -% \changes{v0.2.12a}{2008--2011}{fork fithesis2 by Mr. FilipÄŤĂk and Janoušek; -% cf. \protect\url{https://github.com/liskin/fithesis}} -% \changes{v0.2.12} {2008/07/27}{Licence change to the LPPL [JP]} -% \changes{v0.2.11} {2008/01/07}{fix missing \texttt{fi-logo.mf} [JP,PS]} -% \changes{v0.2.10} {2006/05/12}{fix EN name of Acknowledgement [JP]} -% \changes{v0.2.09} {2006/05/08}{add EN version of University name [JP]} -% \changes{v0.2.08} {2006/01/20}{add change of University name [JP]} -% \changes{v0.2.07} {2005/05/10}{escape all Czech letters [JP] -% babel is used instead of stupid package czech [JP] -% \cs{MainMatter} should be placed after \cs{tablesofcontents} [PS]} -% \changes{v0.2.06} {2004/12/22}{fix : behind Advisor [JP]} -% \changes{v0.2.05} {2004/05/13}{add English abstract [JP]} -% \changes{v0.2.04} {2004/05/13}{fix SK declaration [Peter Cerensky, JP]} -% \changes{v0.2.03} {2004/05/13}{fix title spacing [PS, JP]} -% \changes{v0.2.02} {2004/05/12}{fix encoding bug [JP]} -% \changes{v0.2.01} {2004/05/11}{add subsubsection to toc [JP]} -% \changes{v0.2.00} {2004/05/03}{add sk lang [JP, Peter Cerensky] -% set default cls class to \textsf{rapport3} [JP]} -% \changes{v0.1g} {2004/04/01}{change of default size (12pt$\rightarrow$11pt) [JP]} -% \changes{v0.1f} {2004/01/24}{add documentation for hyperref [JP]} -% \changes{v0.1e} {2004/01/07}{add Brno to MU title [JP]} -% \changes{v0.1d} {2003/03/24}{removed def schapter from fit1*.clo [JP]} -% \changes{v0.1c} {2003/02/21}{default values of \cs{facultyname} and -% \\\cs{@thesissubtitle} set for backward compatibility) [PS]} -% \changes{v0.1b} {2003/02/14}{change of default size (11pt$\rightarrow$12pt) [JP]} -% \changes{v0.1a} {2003/02/12}{minor documentation changes (CZ only, -% sorry) [PS]} -% \changes{v0.1} {2003/02/11}{new release, documentation editing (CZ only, -% sorry) [PS]} -% \changes{v0.0a} {2002}{changes by Jan PavloviÄŤ to allow fithesis being -% backend of docbook based system for thesis writing} -% \changes{v0.0} {1998}{bachelor project of Daniel Marek under -% supervision of Petr Sojka} -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% \newcommand{\bs}{\char`\\} -% \newcommand{\prikaz}[1]{\texttt{\bs #1}} -% \newcommand{\fit}{\textsf{fithesis3}} -% \newcommand{\itm}[1]{\noindent{\bf #1}} -% \title{Sada maker \fit\ pro~sazbu~závÄ›reÄŤnĂ˝ch~pracĂ~MU} -% \author{Daniel Marek, Jan PavloviÄŤ, VĂt NovotnĂ˝, Petr Sojka} -% \date{\today} -% \maketitle -% -% \begin{abstract} -% \noindent -% Tento text popisuje instalaci a pouĹľitĂ sady \LaTeX ovĂ˝ch maker -% pro sazbu diplomovĂ© ÄŤi bakalářskĂ© práce na fakultách -% Masarykovy univerzity. UĹľivateli umoĹľnĂ jednotnÄ› -% vysadit všechny potĹ™ebnĂ© povinnĂ© i nepovinnĂ© části -% stanovenĂ© v~pokynech pro vypracovánĂ závÄ›reÄŤnĂ˝ch pracĂ -% na MU, jeĹľ pro FI najdete na -% \url{http://www.fi.muni.cz/studies/BP_DP.xhtml}. -% PouĹľitĂ stylu však automaticky \emph{nezaruÄŤuje} -% typografickou správnost. PouĹľĂvejte jako -% pomĹŻcku, která pravdÄ›podobnÄ› zajistĂ jednotnost -% sazby jednotlivĂ˝ch elementĹŻ práce. -% \end{abstract} -% -% \tableofcontents -% -% \section{Instalace maker \texttt{fithesis}} -% K~samotnĂ© instalaci stylu jsou potĹ™eba alespoĹ dva soubory: -% standardnĂ instalaÄŤnĂ soubory \LaTeX u -% \texttt{fithesis.dtx} a \texttt{fithesis.ins}. -% ProtoĹľe je v~makrech pouĹľĂváno pĂsmo Palatino -% (verze z balĂku TeX Gyre), logo -% Fakulty informatiky a samotná sazba diplomovĂ© a bakalářskĂ© práce je -% zaloĹľena na stylu {\sf scrreprt}, je tĹ™eba zároveĹ -% instalovat i tuto podporu, pokud ji distribuce \TeX u, kterou -% pouĹľĂváte, neobsahuje. -% -% Instalaci je moĹľnĂ© automatizovat programem \texttt{make} -% pĹ™iloĹľenĂ˝m \texttt{Makefile}. -% -% Po spuštÄ›nĂ instalace pĹ™Ăkazem \texttt{tex fithesis.ins} se vygenerujĂ -% soubory \texttt{fithesis.cls} (tĹ™Ăda \textsf{fithesis1}), -% \texttt{fithesis2.cls} (tĹ™Ăda \textsf{fithesis2}), -% \texttt{fithesis3.cls} (základnĂ tĹ™Ăda) a soubory -% \texttt{fit10.clo}, \texttt{fit11.clo} a \texttt{fit12.clo} -% (volby urÄŤujĂcĂ velikost pĂsma a mezerovánĂ). -% PĹ™Ăkazy -% \begin{verbatim} -% pdflatex fithesis.dtx -% makeindex fithesis -% pdflatex fithesis.dtx -% \end{verbatim} -% je moĹľnĂ© pĹ™eloĹľit dokumentaci. -% -% Na fakultnĂch strojĂch se v~aktuálnĂ distribuci modulu \texttt{texlive} -% nacházĂ pouze tĹ™Ăda \textsf{fithesis3}. Pokud chcete pouĹľĂt tĹ™Ădu -% \textsf{fithesis2}, nahraÄŹte jej modulem \texttt{texlive-2014} pomocĂ pĹ™Ăkazu -% \begin{verbatim}module switch texlive texlive-2014\end{verbatim} -% Pokud chcete pouĹľĂt tĹ™Ădu \textsf{fithesis1}, nahraÄŹte modul -% \texttt{texlive} modulem \texttt{texlive-2013} nebo staršĂm pomocĂ pĹ™Ăkazu -% \begin{verbatim}module switch texlive texlive-2013\end{verbatim} -% -% UĹľitĂ stylu je na FI MU podporováno, návrhy a pĹ™ipomĂnky jsou vĂtány -% na diskusnĂm fĂłru InformaÄŤnĂho systĂ©mu MU na URL\newline -% \url{https://is.muni.cz/auth/df/fithesis-sazba/}. -% -% \iffalse -% \begin{macrocode} -%<*class> - -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{fithesis3}[%%%date%%% fithesis3 version %%%version%%% MU thesis class] - -\ifx\clsclass\undefined - \def\clsclass{rapport3} -\fi -\LoadClass[a4paper]{\clsclass} - -%</class> -% \end{macrocode} -% \fi -% -% \section{PouĹľitĂ tĹ™Ădy \fit} -% Pro pouĹľitĂ sady maker uvedeme v~pĹ™Ăkazu \prikaz{documentclass} -% vytvářenĂ©ho dokumentu tĹ™Ădu (styl) \fit, která mĹŻĹľe bĂ˝t modifikována -% volbami, umĂstÄ›nĂ˝mi ve volitelnĂ©m parametru tohoto pĹ™Ăkazu. -% MoĹľnĂ© volby jsou tyto: -% \begin{itemize} -% \item [--]{\bf 10pt} -- ZmÄ›nĂ základnĂ velikost pĂsma na 10~bodĹŻ. PĹ™i -% tĂ©to volbÄ› je poÄŤet řádek vysazenĂ© strany roven 40, prĹŻmÄ›rnĂ˝ poÄŤet -% znakĹŻ na řádku se pohybuje mezi 70 aĹľ 80. NedoporuÄŤováno, -% pokud nebude pĹ™i vĂ˝slednĂ©m tisku tiskovĂ© zrcadlo zvÄ›tšováno z~B5 -% na A4. -% \item [--]{\bf 11pt} -- ZákladnĂ velikost pĂsma bude 11~bodĹŻ. -% Tato volba byla ve staršà verzi nastavena implicitnÄ›. -% PoÄŤet řádek vysazenĂ© strany je~40, -% prĹŻmÄ›rnĂ˝ poÄŤet znakĹŻ na řádce pĹ™i pouĹľitĂ fontu Palatino -% je 65 aĹľ~70. -% \item [--]{\bf 12pt} -- ZákladnĂ velikost pĂsma se touto volbou zmÄ›nĂ na -% 12~bodĹŻ. PoÄŤet řádek na stránce je~38, prĹŻmÄ›rnĂ˝ poÄŤet znakĹŻ na řádce -% je 55 aĹľ 60. Tato volba je implicitnĂ a doporuÄŤována. -% \item [--]{\bf oneside} -- Tato volba umoĹľnĂ sazbu práce pouze -% jednostranÄ›, je nastavena implicitnÄ›. Sazba je pouze -% na stranách lichĂ˝ch. Tato volba je implicitnĂ a doporuÄŤována -% pro sazbu elektronickĂ© verze dokumentu. -% \item [--]{\bf twoside} -- Sazba práce bude oboustranná, -% rozlišujĂ se lichĂ© a sudĂ© strany, začátky kapitol a jinĂ˝ch vĂ˝znamnĂ˝ch -% celkĹŻ jsou umĂstÄ›ny vĹľdy na stranÄ› lichĂ©, tedy pravĂ©. -% Tato volba je doporuÄŤována pro sazbu verze urÄŤenĂ© pro tisk. -% \item [--]{\bf onecolumn} -- ImplicitnÄ› nastavená volba pro sazbu textu -% do jednoho sloupce na stránce. Text je zarovnanĂ˝ oba okraje sloupce. -% Tato volba je implicitnĂ a je doporuÄŤována. -% \item [--]{\bf twocolumn} -- Tato volba umoĹľnĂ sazbu textu do dvou -% sloupcĹŻ na stánku. Text je zarovnanĂ˝ na oba okraje sloupce. -% \item [--]{\bf draft} -- Po nastavenĂ tĂ©to volby bude špatnÄ› zalomenĂ˝ -% text na koncĂch řádkĹŻ zvĂ˝raznÄ›n ÄŤernĂ˝m obdĂ©lnĂÄŤkem pro snažšà vizuálnĂ -% identifikaci. Dále volbu pĹ™ebĂrajĂ dalšà balĂky, jako je -% \texttt{graphics}, a zde zpĹŻsobĂ sazbu rámeÄŤkĹŻ mĂsto -% vkládánĂ obrázkĹŻ. -% \item [--]{\bf final} -- Opak volby draft. Tato volba je nastavena -% implicitnÄ›. -% \item [--]{\bf color} -- UrÄŤitĂ© typografickĂ© prvky, jako napĹ™Ăklad logo -% fakulty, budou vysázeny barevnÄ›. Tuto volbu pouĹľijte pouze pĹ™i sazbÄ› dokumentu -% urÄŤenĂ©ho pro ÄŤtenĂ na monitoru, nebo pro barevnĂ˝ tisk. -% \end{itemize} -% JednotlivĂ© volby se mohou patĹ™iÄŤnÄ› kombinovat. Lze volit mezi velikostĂ -% základnĂho pĂsma (10pt, 11pt a 12pt), mezi sazbou jednostrannou a -% oboustrannou, sazbou jednosloupcovou a dvousloupcovou a mezi koneÄŤnou -% finálnĂ podobou a konceptem dokumentu (volby final a draft). -% \iffalse -% \begin{macrocode} -%<*class> -\DeclareOption{10pt}{\renewcommand\@ptsize{0}} -\DeclareOption{11pt}{\renewcommand\@ptsize{1}} -\DeclareOption{12pt}{\renewcommand\@ptsize{2}} -\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} -\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} -\DeclareOption{onecolumn}{\@twolumnfalse} -\DeclareOption{twocolumn}{\@twocolumntrue} -\DeclareOption{draft}{\setlength\overfullrule{5pt}} -\DeclareOption{final}{\setlength\overfullrule{0pt}} -\DeclareOption{color}{\gdef\@thesiscolor{true}} - -\ExecuteOptions{12pt,oneside,final} -\ProcessOptions - -% 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} -\RequirePackage[ - plainpages=false, % Multiple page numbering support - pdfpagelabels, % Generate pdf page labels - pdfcreator={% % PDF data stamping - fithesis3 v%%%version%%% MU thesis class% - } -]{hyperref} - -\def\Scrreprtcls{scrreprt} -\def\RapportIcls{rapport1} -\def\RapportIIIcls{rapport3} - -\ifx\clsclass\RapportIcls\else -\ifx\clsclass\RapportIIIcls\else - \newcommand*\ChapFont{\bfseries} - \newcommand*\PageFont{\bfseries} -\fi -\fi - -\setcounter{tocdepth}{4} - -\input 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\universityname{Masarykova univerzita} -\def\facultyname{Fakulta informatiky} -\def\lowecasewrapper#1{\lowercase{#1}} -\def\Fi{fi} -\def\Sci{sci} -\def\Law{law} -\def\Econ{econ} -\def\Fss{fss} -\def\Med{med} -\def\Ped{ped} -\def\Phil{phil} -\def\Fsps{fsps} -\def\True{true} - -\def\Langcs{cs} -\def\Langsk{sk} -\def\Langen{en} -\def\Langcz{cz} -\def\@thesislang{cs} - -\def\@thesissubtitle{Diplomov\'{a} pr\'{a}ce} -\def\@thesislogopath{loga/} % The loga directory by default - -% Redefining the tabular environment for the printing of colorful tables -\let\oldtabular\tabular -\let\endoldtabular\endtabular -\ifx\@thesiscolor\True - \renewenvironment{tabular} - {\rowcolors{1}{facultyxlight}{facultylight}\oldtabular} - {\endoldtabular} -\else - \definecolor{lightgray}{gray}{0.9} - \renewenvironment{tabular} - {\rowcolors{1}{white}{lightgray}\oldtabular} - {\endoldtabular} -\fi - -\def\titlefont{\fontsize\@xxvpt{30}\selectfont} -% \end{macrocode} -% \fi -% -% \section{Popis jednotlivĂ˝ch maker} -% NásledujĂcĂ makra sloužà k vloĹľenĂ základnĂch ĂşdajĹŻ potĹ™ebnĂ˝ch -% k~vysazenĂ titulnĂ strany. Na titulnĂ stranu se kromÄ› názvu -% práce, jmĂ©na studenta a roku vypracovánĂ vysadĂ takĂ© logo fakulty. -% -% \DescribeMacro{\thesistitle} -% Makro umoĹľnĂ vloĹľit název práce, u dvouřádkovĂ˝ch -% ÄŤi vĂceřádkovĂ˝ch názvĹŻ se standardnÄ› oddÄ›lĂ jednotlivĂ© části -% pĹ™Ăkazem $\backslash$$\backslash$ s~volitelnĂ˝m parametrem -% meziřádkovĂ©ho prokladu. Dalšà moĹľnostĂ je části nadpisu -% poĹľadovanĂ© na stejnĂ©m řádku (kolokace, fráze) spojit -% nedÄ›litelnou pĹ™edloĹľkou, neboĹĄ v~nadpisech je zakázáno -% dÄ›lenĂ slov. -% \begin{macrocode} -\def\thesistitle#1{ - \hypersetup{pdftitle={#1}} - \gdef\@thesistitle{#1} -} -% \end{macrocode} -% -% \DescribeMacro{\thesissubtitle} -% Makro umoĹľnĂ vloĹľit název typu práce, napĹ™. bakalářská práce -% diplomová práce atd. -% \begin{macrocode} -\def\thesissubtitle#1{\gdef\@thesissubtitle{#1}} -% \end{macrocode} -% -% \DescribeMacro{\thesisstudent} -% Makro umoĹľnĂ pomocĂ svĂ©ho jedinĂ©ho parametru vloĹľit jmĂ©no studenta. -% \begin{macrocode} -\def\thesisstudent#1{ - \hypersetup{pdfauthor={#1}} - \gdef\@thesisstudent{#1} -} -% \end{macrocode} -% -% \iffalse -% \begin{macrocode} - -\newif\if@restonecol -\def\alwayssingle{% - \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi} -\def\endalwayssingle{\if@restonecol\twocolumn\fi} - -% \end{macrocode} -% \fi\fi -% -% \DescribeMacro{\thesisgender} -% Makro umoĹľnĂ vloĹľit pohlavĂ studenta. Volby jsou: male (implicitnĂ) -% a female. Hodnotu je moĹľnĂ© testovat pomocĂ podmĂnky \prikaz{ifwoman}. -% \begin{macrocode} - -\newif\ifwoman\womanfalse -\def\Male{male} -\def\Female{female} - -\def\thesisgender#1{% - \def\arg{#1}% - \ifx\arg\Female\womantrue\else\womanfalse\fi} - -\def\@w{\ifwoman a\else\fi} - -% \end{macrocode} -% -% \DescribeMacro{\thesisfaculty} -% Makro umoĹľnĂ stanovit pod jakou fakultou byla práce napsána. Podle toho -% se takĂ© vložà patĹ™iÄŤnĂ© logo a název fakulty na titulnĂ stránku. -% Jsou podporovány tyto fakulty MU: -% \begin{itemize} -% \item Fakulta informatiky -- fi, -% \item PĹ™ĂrodovÄ›decká fakulta -- sci, -% \item Právnická fakulta -- law, -% \item Ekonomicko-správnĂ fakulta -- econ, -% \item Fakulta sociálnĂch studiĂ -- fss, -% \item LĂ©kaĹ™ská fakulta -- med, -% \item Pedagogická fakulta -- ped, -% \item Filozofická fakulta -- phil, -% \item Fakulta sportovnĂch studiĂ -- fsps. -% \end{itemize} -% napĹ™Ăklad: \prikaz{thesisfaculty\{fi\}}. -% \begin{macrocode} -\def\thesisfaculty#1{ - \gdef\@thesisfaculty{#1} - \ifx\@facultylogo\undefined - \def\@slash{/} - \gdef\@facultylogo{% - \@thesislogopath\ifx\@thesiscolor\True% - color\@slash% - \fi\@thesisfaculty-logo} - \fi - \ifx\@thesisfaculty\Fi - % The Faculty of Informatics - \definecolor{faculty}{HTML}{FFD451} % Pantone 122 - \definecolor{facultylight}{HTML}{FFECB3} - \definecolor{facultyxlight}{HTML}{FFF9E5} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Informatics} - \def\universityname{Masaryk University} - \else - \def\facultyname{Fakulta informatiky} - \fi - \else\ifx\@thesisfaculty\Sci - % The Faculty of Science - \definecolor{faculty}{HTML}{00AF3F} % Pantone 354 - \definecolor{facultylight}{HTML}{B8E8C9} - \definecolor{facultyxlight}{HTML}{E0F5E8} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Science} - \def\universityname{Masaryk University} - \else - \def\facultyname{P\v{r}\'{i}rodov\v{e}deck\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Law - % The Faculty of Law - \definecolor{faculty}{HTML}{80379B} % Pantone 2593 - \definecolor{facultylight}{HTML}{D3BADC} - \definecolor{facultyxlight}{HTML}{F0E7F3} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Law} - \def\universityname{Masaryk University} - \else - \def\facultyname{Pr\'{a}vnick\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Econ - % The Faculty of Economics and Administration - \definecolor{faculty}{HTML}{7C211E} % Pantone 1815 - \definecolor{facultylight}{HTML}{DAC1BF} - \definecolor{facultyxlight}{HTML}{EFE4E3} - \hypersetup{linkbordercolor = facultylight} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Economics and Administration} - \def\universityname{Masaryk University} - \else - \def\facultyname{Ekonomicko-spr\'{a}vn\'{i} fakulta} - \fi - \else\ifx\@thesisfaculty\Fss - % The Faculty of Social Studies - \definecolor{faculty}{HTML}{007B69} % Pantone 3295 - \definecolor{facultylight}{HTML}{B8DAD5} - \definecolor{facultyxlight}{HTML}{E3F1EE} - \hypersetup{linkbordercolor = facultylight} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Social Studies} - \def\universityname{Masaryk University} - \else - \def\facultyname{Fakulta soci\'{a}ln\'{i}ch studi\'{i}} - \fi - \else\ifx\@thesisfaculty\Med - % The Faculty of Medicine - \definecolor{faculty}{HTML}{F01928} % Pantone 1795 - \definecolor{facultylight}{HTML}{FABFC2} - \definecolor{facultyxlight}{HTML}{FAE3E5} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Medicine} - \def\universityname{Masaryk University} - \else - \def\facultyname{L\'{e}ka\v{r}sk\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Ped - % The Faculty of Education - \definecolor{faculty}{HTML}{FFA02F} % Pantone 1375 - \definecolor{facultylight}{HTML}{FFDEB7} - \definecolor{facultyxlight}{HTML}{FFF1E0} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Education} - \def\universityname{Masaryk University} - \else - \def\facultyname{Pedagogick\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Phil - % The Faculty of Arts - \definecolor{faculty}{HTML}{00A1DE} % Pantone 299 - \definecolor{facultylight}{HTML}{B8E4F5} - \definecolor{facultyxlight}{HTML}{E0F3FA} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Arts} - \def\universityname{Masaryk University} - \else - \def\facultyname{Filozofick\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Fsps - % The Faculty of Sport Studies - \definecolor{faculty}{HTML}{002776} % Pantone 280 - \definecolor{facultylight}{HTML}{B8C2D8} - \definecolor{facultyxlight}{HTML}{E0E5EE} - \hypersetup{linkbordercolor = facultylight} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Sports Studies} - \def\universityname{Masaryk University} - \else - \def\facultyname{Fakulta sportovn\'{i}ch studi\'{i}} - \fi - \fi\fi\fi\fi\fi\fi\fi\fi\fi -} -% \end{macrocode} -% -% \DescribeMacro{\thesisyear} -% Makro umoĹľnĂ vloĹľit rok vypracovánĂ práce. -% \begin{macrocode} -\def\thesisyear#1{\gdef\@thesisyear{#1}} -\def\@thesisplaceyear{Brno, \@thesisyear} -% \end{macrocode} -% -% \DescribeMacro{\thesisadvisor} -% Makro umoĹľnĂ vloĹľit jmĂ©no vedoucĂho práce. -% \begin{macrocode} -\def\thesisadvisor#1{\gdef\@thesisadvisor{#1}} -% \end{macrocode} -% -% \DescribeMacro{\thesislogopath} -% Makro umoĹľnĂ stanovit cestu k adresáři s logy fakult. -% ImplicitnĂ hodnota je \texttt{loga/}. -% \begin{macrocode} -\def\thesislogopath#1{\def\@thesislogopath{#1/}} -% \end{macrocode} -% -% \DescribeMacro{\thesislogo} -% Makro umoĹľĹuje ruÄŤnÄ› stanovit pdf soubor loga, -% kterĂ© se vysadĂ na titulnĂ stranu práce. JmĂ©no -% souboru se zadává bez pĹ™Ăpony. -% \begin{macrocode} -\def\thesislogo#1{\def\@facultylogo{#1}} -% \end{macrocode} -% -% \DescribeMacro{\thesislang} -% Makro umoĹľnĂ stanovit jazyk, ve kterĂ©m je práce napsána. V~souÄŤasnĂ© -% dobÄ› jsou podporovány varianty cs nebo cz, sk a en. Jazyk je tĹ™eba -% stanovit pĹ™ed pouĹľitĂm pĹ™Ăkazu \prikaz{thesisfaculty}, jinak dojde -% k~vysázenĂ jmĂ©na fakulty v~ÄŤeštinÄ›. -% \begin{macrocode} -\def\thesislang#1{\gdef\@thesislang{#1}% - \ifx\@thesislang\Langcz\gdef\@thesislang{cs}\fi} -% \end{macrocode} -% -% \iffalse -% \begin{macrocode} - -\def\DeclarationTextcs{% - Prohla\v{s}uji, \v{z}e tato \expandafter\lowecasewrapper\@thesissubtitle{} - je m\'{y}m p\r{u}vodn\'{i}m autorsk\'{y}m - d\'{i}lem, kter\'{e} jsem vypracoval\@w\ samostatn\v{e}. V\v{s}echny zdroje, prameny a - literaturu, kter\'{e} jsem p\v{r}i vypracov\'{a}n\'{i} pou\v{z}\'{i}val\@w\ nebo z~nich - \v{c}erpal\@w, v~pr\'{a}ci \v{r}\'{a}dn\v{e} cituji s~uveden\'{i}m - \'{u}pln\'{e}ho odkazu na p\v{r}\'{i}slu\v{s}n\'{y} zdroj.} -\def\DeclarationTextsk{% - Prehlasujem, \v{z}e t\'{a}to \expandafter\lowecasewrapper\@thesissubtitle{} - je moj\'{i}m p\^{o}vodn\'{y}m autorsk\'{y}m - dielom, ktor\'{e} som vypracoval\@w\ samostatne. V\v{s}etky zdroje, pramene a - literat\'{u}ru, ktor\'{e} som pri vypracovan\'{i} pou\v{z}\'{i}val\@w\ alebo z~nich - \v{c}erpal\@w, v~pr\'{a}ci riadne citujem s~uveden\'{i}m \'{u}pln\'{e}ho odkazu na pr\'{i}slu\v{s}n\'{y} - zdroj.} -\def\DeclarationTexten{% - Hereby I declare, that this paper is my original authorial work, - which I have worked out by my own. All sources, references and - literature used or excerpted during elaboration of this work - are properly cited and listed in complete reference to the due source.} - -\def\DeclarationTitlecs{% - Prohl\'{a}\v{s}en\'{i} -} - -\def\DeclarationTitlesk{% - Prehl\'{a}senie -} - -\def\DeclarationTitleen{% - Declaration -} - -\def\ThanksTitlecs{% - Pod\v{e}kov\'{a}n\'{i} -} - -\def\ThanksTitlesk{% - Po\v{d}akovanie -} - -\def\ThanksTitleen{% - Acknowledgement -} - -\def\AbstractTitlecs{% - Shrnut\'{i} -} - -\def\AbstractTitlesk{% - Zhrnutie -} - -\def\AbstractTitleen{% - Abstract -} - -\def\KeyWordsTitlecs{% - Kl\'{i}\v{c}ov\'{a} slova -} - -\def\KeyWordsTitlesk{% - K\v{l}\'{u}\v{c}ov\'{e} slov\'{a} -} - -\def\KeyWordsTitleen{% - Keywords -} - -\def\AdvisorTitlecs{% - Vedouc\'{i} pr\'{a}ce: -} - -\def\AdvisorTitlesk{% - Ved\'{u}ci pr\'{a}ce: -} - -\def\AdvisorTitleen{% - Advisor: -} - - -\def\DeclarationText{% - \ifx\@thesislang\Langcs - \DeclarationTextcs - \else \ifx\@thesislang\Langsk - \DeclarationTextsk - \else \ifx\@thesislang\Langen - \DeclarationTexten - \else \DeclarationTextcs - \fi - \fi - \fi - \vskip 2cm - \hfill\@thesisstudent -} - -\def\AdvisorName{\par\vfill{ -\ifx\@thesislang\Langcs - \bf \AdvisorTitlecs - \else \ifx\@thesislang\Langsk - \bf \AdvisorTitlesk - \else \ifx\@thesislang\Langen - \bf \AdvisorTitleen - \else \bf \AdvisorTitlecs - \fi - \fi -\fi} \@thesisadvisor} - -% \end{macrocode} -% \fi -% -% \DescribeMacro{\FrontMatter} -% Toto makro se vložà na začátek dokumentu (nejlĂ©pe za pĹ™Ăkaz -% \prikaz{begin\{document\}}). -% PrvnĂ strany dokumentu obsahujĂcĂch prohlášenĂ, abstrakt a klĂÄŤová -% slova se nastavĂ na Ĺ™ĂmskĂ© ÄŤĂslovánĂ. U~dalšĂch stran vÄŤetnÄ› -% obsahu a následujĂcĂch kapitol se pomocĂ makra \prikaz{MainMatter} -% nastavĂ arabskĂ© ÄŤĂslovánĂ. -% \begin{macrocode} -\def\FrontMatter{% - \pagestyle{plain} - \parindent 1.5em - \setcounter{page}{1} - \pagenumbering{roman}} -% \end{macrocode} -% -% \DescribeMacro{\ThesisTitlePage} -% TitulnĂ strana práce se vysadĂ pĹ™Ăkazem -% \prikaz{ThesisTitlePage} a vyuĹľije pĹ™edem zadanĂ© Ăşdaje -% názvu práce, jmĂ©na studenta a roku vypracovánĂ. -% \begin{macrocode} -\newcommand{\ThesisTitlePage}{% - \begin{alwayssingle} - \thispagestyle{empty} - \begin{center} - {\sc \universityname\\ \facultyname} - \vskip 1.4em - \includegraphics[width=40mm]{\@facultylogo}\\[0.4in] - \let\footnotesize\small - \let\footnoterule\relax{} - {\titlefont\bf\@thesistitle\par\vfil}\vskip 0.8in - {\sc \@thesissubtitle}\\[0.3in] - {\Large\bf\@thesisstudent} - \par\vfill - {\large \@thesisplaceyear} - \end{center} - \end{alwayssingle} - \newpage} -% \end{macrocode} -% -% \subsubsection*{PovinnĂ© části diplomovĂ© práce} -% NásledujĂcĂ makra jsou potĹ™ebná k~vysazenĂ povinnĂ˝ch částĂ diplomovĂ© -% práce. Jsou jimi \textit{prohlášenĂ o samostatnĂ©m vypracovánĂ}, -% \textit{shrnutĂ diplomovĂ© práce} a \textit{klĂÄŤová slova}. -% Nepovinnou částĂ je \textit{podÄ›kovánĂ\/}. -% Pro všechny tyto celky je vĹľdy definováno prostĹ™edĂ, -% kterĂ© zajistĂ kromÄ› vysazenĂ kaĹľdĂ© části na samostatnou stranu -% napĹ™Ăklad takĂ© jednotnĂ© styly nadpisĹŻ. PoslednĂ povinnou -% částĂ je \textit{seznam literatury}, ten se, stejnÄ› jako -% \textit{obsah diplomovĂ© práce} jiĹľ sázĂ pomocĂ -% standardnĂch \LaTeX ovĂ˝ch pĹ™ĂkazĹŻ. -% -% \DescribeMacro{ThesisDeclaration} -% ProstĹ™edĂ \texttt{ThesisDeclaration} vysadĂ stránku -% s~prohlášenĂm o samostatnĂ©m vypracovánĂ -% diplomovĂ© práce. Text tohoto prohlášenĂ mĹŻĹľe uĹľivatel pĹ™edefinovat -% pomocĂ makra \prikaz{DeclarationText}. ImplicitnÄ› sázenĂ˝ text je -% následovnĂ˝: -% \begin{quote}{\it -% Prohlašuji, Ĺľe tato diplomová práce je mĂ˝m pĹŻvodnĂm autorskĂ˝m -% dĂlem, kterĂ© jsem vypracoval samostatnÄ›. Všechny zdroje, prameny a -% literaturu, kterĂ© jsem pĹ™i vypracovánĂ pouĹľĂval nebo z~nich -% ÄŤerpal, v~práci řádnÄ› cituji s~uvedenĂm ĂşplnĂ©ho odkazu na pĹ™ĂslušnĂ˝ -% zdroj.} -% \end{quote} -% Dále se vložà makro \prikaz{AdvisorName}, kterĂ© vysázĂ -% Ăşdaje o vedoucĂm práce. -% \begin{macrocode} -\newenvironment{ThesisDeclaration}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\DeclarationTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\DeclarationTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\DeclarationTitleen} - \else \chapter*{\DeclarationTitlecs} - \fi - \fi - \fi} - {\par\vfil - \end{alwayssingle} - \newpage} -% \end{macrocode} -% -% \DescribeMacro{ThesisThanks} -% Toto prostĹ™edĂ umoĹľnĂ vysadit \textit{podÄ›kovánĂ\/}. -% \begin{macrocode} -\newenvironment{ThesisThanks}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\ThanksTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\ThanksTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\ThanksTitleen} - \else \chapter*{\ThanksTitlecs} - \fi - \fi - \fi} - {\par\vfill - \end{alwayssingle} - \newpage} -% \end{macrocode} -% -% \DescribeMacro{ThesisAbstract} -% \textit{ShrnutĂ\/} diplomovĂ© práce je moĹľno vysadit pomocĂ -% prostĹ™edĂ \texttt{ThesisAbstract}. ShrnutĂ by mÄ›lo -% zabĂrat prostor nejvýše jednĂ© strany. -% \begin{macrocode} -\newenvironment{ThesisAbstract}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\AbstractTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\AbstractTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\AbstractTitleen} - \else \chapter*{\AbstractTitlecs} - \fi - \fi - \fi} - {\par\vfil\null - \end{alwayssingle} - \newpage} -% \end{macrocode} -% -% \DescribeMacro{ThesisAbstracten} -% \textit{Abstract\/} diplomovĂ© práce v~angliÄŤtinÄ› je -% moĹľno vysadit pomocĂ prostĹ™edĂ \texttt{ThesisAbstracten}. -% Abstract by mÄ›l zabĂrat prostor nejvýše jednĂ© strany. -% \begin{macrocode} -\newenvironment{ThesisAbstracten}{% - \begin{alwayssingle} - \chapter*{\AbstractTitleen} - } - {\par\vfil\null - \end{alwayssingle} - \newpage} -% \end{macrocode} -% -% \DescribeMacro{ThesisKeywords} -% \textit{KlĂÄŤová slova\/} oddÄ›lená čárkami se vepĂšà -% do prostĹ™edĂ \texttt{ThesisKeyWords}. -% \begin{macrocode} -\newenvironment{ThesisKeyWords}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\KeyWordsTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\KeyWordsTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\KeyWordsTitleen} - \else \chapter*{\KeyWordsTitlecs} - \fi - \fi - \fi} - {\par\vfill - \end{alwayssingle} - \newpage} -% \end{macrocode} -% -% \DescribeMacro{MainMatter} -% Makro \prikaz{MainMatter} nastavĂ kromÄ› arabskĂ©ho ÄŤĂslovánĂ stránek -% takĂ© implicitnĂ styl stránky pro sazbu následujĂcĂch kapitol. V~tomto -% stylu se do hlaviÄŤky stránky vkládá název aktuálnĂ kapitoly a od -% ostatnĂho textu se záhlavĂ oddÄ›lĂ horizontálnĂ ÄŤarou. -% \begin{macrocode} -\def\MainMatter{% -\if@twoside - \clearpage - \thispagestyle{empty} - \cleardoublepage -\else - \clearpage -\fi -\setcounter{page}{1} -\pagenumbering{arabic} -\pagestyle{thesisheadings} -\parindent 1.5em\relax} -% \end{macrocode} -% \iffalse -%</class> -% \fi -% -% Dalšà text diplomovĂ© práce (obsah, Ăşvod, jednotlivĂ© kapitoly a části, -% popĹ™ĂpadÄ› závÄ›r, literatura ÄŤi dodatky) se jiĹľ sázĂ standardnĂmi -% pĹ™Ăkazy. Následuje zjednodušenĂ˝ ukázkovĂ˝ pĹ™Ăklad -% \textit{kostry} diplomovĂ© práce. -% -% \verbatiminput{example.tex} -% \newpage -% \iffalse -% \begin{macrocode} -%<*class> - -\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}} - -%</class> -% \end{macrocode} -% \fi -% -% -% \iffalse -% \begin{macrocode} -%<*opt> -%<*10pt> -\ProvidesFile{fit10.clo}[%%%date%%% 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} - -%</10pt> -% -%<*11pt> -\ProvidesFile{fit11.clo}[%%%date%%% 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@ -%\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> -% -%<*12pt> -\ProvidesFile{fit12.clo}[%%%date%%% 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} - -%</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 - -\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 - -%<*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> -% -%<*oldclass1> -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{oldfithesis1}[%%%date%%% old fithesis will load fithesis3 version %%%version%%% MU thesis class] - -\errmessage{% - You are using the fithesis class, which has been deprecated. - The fithesis3 class will be used instead. - For more information, see <https://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml>% -} - -\ifx\clsclass\undefined - \def\clsclass{fithesis3} -\fi -\LoadClass{\clsclass} -%</oldclass1> -% -%<*oldclass2> -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{oldfithesis2}[%%%date%%% old fithesis2 will load fithesis3 version %%%version%%% MU thesis class] - -\errmessage{% - You are using the fithesis2 class, which has been deprecated. - The fithesis3 class will be used instead. - For more information, see <https://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml>% -} - -\ifx\clsclass\undefined - \def\clsclass{fithesis3} -\fi -\LoadClass{\clsclass} -\endinput -%</oldclass2> -% \end{macrocode} -% \fi -% diff --git a/fithesis.raw.sh b/fithesis.raw.sh deleted file mode 100755 index 865c72a411b365a34c4a0a6330ad5d1f0a074076..0000000000000000000000000000000000000000 --- a/fithesis.raw.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# This script finds the latest occurance of a \changes command (sorted by -# the version number) in "$1" and parses the VERSION and DATE out of it: -# -# \changes{vVERSION}{YYYY/MM/DD} (important: must be on the same line) -# -# It then takes $1, replaces every occurance of %%%date%%% with YYYY/MM/DD, -# every occurance of %%%version%%% with VERSION and every occurance of -# %%%year%%% with YYYY and stores the result in $2. - -REGEX='.*\(\\changes\s*{v\([^}]*\)}\s*{\([^}]*\)}\).*' -LINE="$(grep "$REGEX" "$1" | sed s/"$REGEX"/\\1/ | sort -Vr | head -n 1)" -VERS="$(printf '%s' "$LINE" | sed s/"$REGEX"/\\2/)" -DATE="$(printf '%s' "$LINE" | sed s/"$REGEX"/\\3/)" -YEAR="$(printf '%s' "$DATE" | head -c 4)" - -echo "Generating file $2 for [$DATE fithesis3 version $VERS MU thesis class]" -< "$1" sed s#%%%date%%%#$DATE#g\;s/%%%year%%%/$YEAR/g\;s/%%%version%%%/$VERS/g > "$2" diff --git a/fithesis2.cls b/fithesis2.cls deleted file mode 100644 index fadcc21d59f6bf3403fb43c959dc97afb48fcc69..0000000000000000000000000000000000000000 --- a/fithesis2.cls +++ /dev/null @@ -1,69 +0,0 @@ -%% -%% This is file `fithesis2.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% fithesis.dtx (with options: `oldclass2') -%% -%% -%% 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. -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesClass{oldfithesis2}[2015/03/04 old fithesis2 will load fithesis3 version 0.3.08 MU thesis class] - -\errmessage{% - You are using the fithesis2 class, which has been deprecated. - The fithesis3 class will be used instead. - For more information, see <https://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml>% -} - -\ifx\clsclass\undefined - \def\clsclass{fithesis3} -\fi -\LoadClass{\clsclass} -\endinput -%% -%% End of file `fithesis2.cls'. diff --git a/fithesis3.cls b/fithesis3.cls index 6500f712ad21730da0698f1f4a1058b97962ba00..20e276ed1fcb8b4edb2b0003bd3b596cf5695a4c 100644 --- a/fithesis3.cls +++ b/fithesis3.cls @@ -1,597 +1,299 @@ -%% -%% This is file `fithesis3.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% fithesis.dtx (with options: `class') -%% -%% -%% 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. -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{fithesis3}[2015/03/04 fithesis3 version 0.3.08 MU thesis class] - -\ifx\clsclass\undefined - \def\clsclass{rapport3} -\fi -\LoadClass[a4paper]{\clsclass} - -\DeclareOption{10pt}{\renewcommand\@ptsize{0}} -\DeclareOption{11pt}{\renewcommand\@ptsize{1}} -\DeclareOption{12pt}{\renewcommand\@ptsize{2}} -\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} -\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} -\DeclareOption{onecolumn}{\@twolumnfalse} -\DeclareOption{twocolumn}{\@twocolumntrue} -\DeclareOption{draft}{\setlength\overfullrule{5pt}} -\DeclareOption{final}{\setlength\overfullrule{0pt}} -\DeclareOption{color}{\gdef\@thesiscolor{true}} - -\ExecuteOptions{12pt,oneside,final} -\ProcessOptions - -\RequirePackage{tgpagella} -\RequirePackage{mathpazo} -\RequirePackage{graphicx} -\RequirePackage{cmap} -\RequirePackage[T1]{fontenc} -\RequirePackage[usenames,dvipsnames,svgnames,table]{xcolor} -\RequirePackage[ - plainpages=false, % Multiple page numbering support - pdfpagelabels, % Generate pdf page labels - pdfcreator={% % PDF data stamping - fithesis3 v0.3.08 MU thesis class% - } -]{hyperref} - -\def\Scrreprtcls{scrreprt} -\def\RapportIcls{rapport1} -\def\RapportIIIcls{rapport3} - -\ifx\clsclass\RapportIcls\else -\ifx\clsclass\RapportIIIcls\else - \newcommand*\ChapFont{\bfseries} - \newcommand*\PageFont{\bfseries} -\fi -\fi - -\setcounter{tocdepth}{4} - -\input 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\universityname{Masarykova univerzita} -\def\facultyname{Fakulta informatiky} -\def\lowecasewrapper#1{\lowercase{#1}} -\def\Fi{fi} -\def\Sci{sci} -\def\Law{law} -\def\Econ{econ} -\def\Fss{fss} -\def\Med{med} -\def\Ped{ped} -\def\Phil{phil} -\def\Fsps{fsps} -\def\True{true} - -\def\Langcs{cs} -\def\Langsk{sk} -\def\Langen{en} -\def\Langcz{cz} -\def\@thesislang{cs} - -\def\@thesissubtitle{Diplomov\'{a} pr\'{a}ce} -\def\@thesislogopath{loga/} % The loga directory by default - -\let\oldtabular\tabular -\let\endoldtabular\endtabular -\ifx\@thesiscolor\True - \renewenvironment{tabular} - {\rowcolors{1}{facultyxlight}{facultylight}\oldtabular} - {\endoldtabular} -\else - \definecolor{lightgray}{gray}{0.9} - \renewenvironment{tabular} - {\rowcolors{1}{white}{lightgray}\oldtabular} - {\endoldtabular} -\fi - -\def\titlefont{\fontsize\@xxvpt{30}\selectfont} -\def\thesistitle#1{ - \hypersetup{pdftitle={#1}} - \gdef\@thesistitle{#1} -} -\def\thesissubtitle#1{\gdef\@thesissubtitle{#1}} -\def\thesisstudent#1{ - \hypersetup{pdfauthor={#1}} - \gdef\@thesisstudent{#1} -} - -\newif\if@restonecol -\def\alwayssingle{% - \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi} -\def\endalwayssingle{\if@restonecol\twocolumn\fi} - - -\newif\ifwoman\womanfalse -\def\Male{male} -\def\Female{female} - -\def\thesisgender#1{% - \def\arg{#1}% - \ifx\arg\Female\womantrue\else\womanfalse\fi} - -\def\@w{\ifwoman a\else\fi} - -\def\thesisfaculty#1{ - \gdef\@thesisfaculty{#1} - \ifx\@facultylogo\undefined - \def\@slash{/} - \gdef\@facultylogo{% - \@thesislogopath\ifx\@thesiscolor\True% - color\@slash% - \fi\@thesisfaculty-logo} - \fi - \ifx\@thesisfaculty\Fi - % The Faculty of Informatics - \definecolor{faculty}{HTML}{FFD451} % Pantone 122 - \definecolor{facultylight}{HTML}{FFECB3} - \definecolor{facultyxlight}{HTML}{FFF9E5} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Informatics} - \def\universityname{Masaryk University} - \else - \def\facultyname{Fakulta informatiky} - \fi - \else\ifx\@thesisfaculty\Sci - % The Faculty of Science - \definecolor{faculty}{HTML}{00AF3F} % Pantone 354 - \definecolor{facultylight}{HTML}{B8E8C9} - \definecolor{facultyxlight}{HTML}{E0F5E8} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Science} - \def\universityname{Masaryk University} - \else - \def\facultyname{P\v{r}\'{i}rodov\v{e}deck\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Law - % The Faculty of Law - \definecolor{faculty}{HTML}{80379B} % Pantone 2593 - \definecolor{facultylight}{HTML}{D3BADC} - \definecolor{facultyxlight}{HTML}{F0E7F3} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Law} - \def\universityname{Masaryk University} - \else - \def\facultyname{Pr\'{a}vnick\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Econ - % The Faculty of Economics and Administration - \definecolor{faculty}{HTML}{7C211E} % Pantone 1815 - \definecolor{facultylight}{HTML}{DAC1BF} - \definecolor{facultyxlight}{HTML}{EFE4E3} - \hypersetup{linkbordercolor = facultylight} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Economics and Administration} - \def\universityname{Masaryk University} - \else - \def\facultyname{Ekonomicko-spr\'{a}vn\'{i} fakulta} - \fi - \else\ifx\@thesisfaculty\Fss - % The Faculty of Social Studies - \definecolor{faculty}{HTML}{007B69} % Pantone 3295 - \definecolor{facultylight}{HTML}{B8DAD5} - \definecolor{facultyxlight}{HTML}{E3F1EE} - \hypersetup{linkbordercolor = facultylight} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Social Studies} - \def\universityname{Masaryk University} - \else - \def\facultyname{Fakulta soci\'{a}ln\'{i}ch studi\'{i}} - \fi - \else\ifx\@thesisfaculty\Med - % The Faculty of Medicine - \definecolor{faculty}{HTML}{F01928} % Pantone 1795 - \definecolor{facultylight}{HTML}{FABFC2} - \definecolor{facultyxlight}{HTML}{FAE3E5} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Medicine} - \def\universityname{Masaryk University} - \else - \def\facultyname{L\'{e}ka\v{r}sk\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Ped - % The Faculty of Education - \definecolor{faculty}{HTML}{FFA02F} % Pantone 1375 - \definecolor{facultylight}{HTML}{FFDEB7} - \definecolor{facultyxlight}{HTML}{FFF1E0} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Education} - \def\universityname{Masaryk University} - \else - \def\facultyname{Pedagogick\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Phil - % The Faculty of Arts - \definecolor{faculty}{HTML}{00A1DE} % Pantone 299 - \definecolor{facultylight}{HTML}{B8E4F5} - \definecolor{facultyxlight}{HTML}{E0F3FA} - \hypersetup{linkbordercolor = faculty} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Arts} - \def\universityname{Masaryk University} - \else - \def\facultyname{Filozofick\'{a} fakulta} - \fi - \else\ifx\@thesisfaculty\Fsps - % The Faculty of Sport Studies - \definecolor{faculty}{HTML}{002776} % Pantone 280 - \definecolor{facultylight}{HTML}{B8C2D8} - \definecolor{facultyxlight}{HTML}{E0E5EE} - \hypersetup{linkbordercolor = facultylight} - \ifx\@thesislang\Langen - \def\facultyname{Faculty of Sports Studies} - \def\universityname{Masaryk University} - \else - \def\facultyname{Fakulta sportovn\'{i}ch studi\'{i}} - \fi - \fi\fi\fi\fi\fi\fi\fi\fi\fi -} -\def\thesisyear#1{\gdef\@thesisyear{#1}} -\def\@thesisplaceyear{Brno, \@thesisyear} -\def\thesisadvisor#1{\gdef\@thesisadvisor{#1}} -\def\thesislogopath#1{\def\@thesislogopath{#1/}} -\def\thesislogo#1{\def\@facultylogo{#1}} -\def\thesislang#1{\gdef\@thesislang{#1}% - \ifx\@thesislang\Langcz\gdef\@thesislang{cs}\fi} - -\def\DeclarationTextcs{% -Prohla\v{s}uji, \v{z}e tato \expandafter\lowecasewrapper\@thesissubtitle{} -je m\'{y}m p\r{u}vodn\'{i}m autorsk\'{y}m -d\'{i}lem, kter\'{e} jsem vypracoval\@w\ samostatn\v{e}. V\v{s}echny zdroje, prameny a -literaturu, kter\'{e} jsem p\v{r}i vypracov\'{a}n\'{i} pou\v{z}\'{i}val\@w\ nebo z~nich -\v{c}erpal\@w, v~pr\'{a}ci \v{r}\'{a}dn\v{e} cituji s~uveden\'{i}m -\'{u}pln\'{e}ho odkazu na p\v{r}\'{i}slu\v{s}n\'{y} zdroj.} -\def\DeclarationTextsk{% -Prehlasujem, \v{z}e t\'{a}to \expandafter\lowecasewrapper\@thesissubtitle{} -je moj\'{i}m p\^{o}vodn\'{y}m autorsk\'{y}m -dielom, ktor\'{e} som vypracoval\@w\ samostatne. V\v{s}etky zdroje, pramene a -literat\'{u}ru, ktor\'{e} som pri vypracovan\'{i} pou\v{z}\'{i}val\@w\ alebo z~nich -\v{c}erpal\@w, v~pr\'{a}ci riadne citujem s~uveden\'{i}m \'{u}pln\'{e}ho odkazu na pr\'{i}slu\v{s}n\'{y} -zdroj.} -\def\DeclarationTexten{% -Hereby I declare, that this paper is my original authorial work, -which I have worked out by my own. All sources, references and -literature used or excerpted during elaboration of this work -are properly cited and listed in complete reference to the due source.} - -\def\DeclarationTitlecs{% -Prohl\'{a}\v{s}en\'{i} -} - -\def\DeclarationTitlesk{% -Prehl\'{a}senie -} - -\def\DeclarationTitleen{% -Declaration -} - -\def\ThanksTitlecs{% -Pod\v{e}kov\'{a}n\'{i} -} - -\def\ThanksTitlesk{% -Po\v{d}akovanie -} - -\def\ThanksTitleen{% -Acknowledgement -} - -\def\AbstractTitlecs{% -Shrnut\'{i} -} - -\def\AbstractTitlesk{% -Zhrnutie -} - -\def\AbstractTitleen{% -Abstract -} - -\def\KeyWordsTitlecs{% -Kl\'{i}\v{c}ov\'{a} slova -} - -\def\KeyWordsTitlesk{% -K\v{l}\'{u}\v{c}ov\'{e} slov\'{a} -} - -\def\KeyWordsTitleen{% -Keywords -} - -\def\AdvisorTitlecs{% -Vedouc\'{i} pr\'{a}ce: -} - -\def\AdvisorTitlesk{% -Ved\'{u}ci pr\'{a}ce: -} - -\def\AdvisorTitleen{% -Advisor: -} - -\def\DeclarationText{% -\ifx\@thesislang\Langcs - \DeclarationTextcs - \else \ifx\@thesislang\Langsk - \DeclarationTextsk - \else \ifx\@thesislang\Langen - \DeclarationTexten - \else \DeclarationTextcs - \fi - \fi -\fi -\vskip 2cm -\hfill\@thesisstudent -} - -\def\AdvisorName{\par\vfill{ -\ifx\@thesislang\Langcs - \bf \AdvisorTitlecs - \else \ifx\@thesislang\Langsk - \bf \AdvisorTitlesk - \else \ifx\@thesislang\Langen - \bf \AdvisorTitleen - \else \bf \AdvisorTitlecs - \fi - \fi -\fi} \@thesisadvisor} - -\def\FrontMatter{% - \pagestyle{plain} - \parindent 1.5em - \setcounter{page}{1} - \pagenumbering{roman}} -\newcommand{\ThesisTitlePage}{% - \begin{alwayssingle} - \thispagestyle{empty} - \begin{center} - {\sc \universityname\\ \facultyname} - \vskip 1.4em - \includegraphics[width=40mm]{\@facultylogo}\\[0.4in] - \let\footnotesize\small - \let\footnoterule\relax{} - {\titlefont\bf\@thesistitle\par\vfil}\vskip 0.8in - {\sc \@thesissubtitle}\\[0.3in] - {\Large\bf\@thesisstudent} - \par\vfill - {\large \@thesisplaceyear} - \end{center} - \end{alwayssingle} - \newpage} -\newenvironment{ThesisDeclaration}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\DeclarationTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\DeclarationTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\DeclarationTitleen} - \else \chapter*{\DeclarationTitlecs} - \fi - \fi - \fi} - {\par\vfil - \end{alwayssingle} - \newpage} -\newenvironment{ThesisThanks}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\ThanksTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\ThanksTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\ThanksTitleen} - \else \chapter*{\ThanksTitlecs} - \fi - \fi +\def\thesis@version{2015/03/21 fithesis3 version 0.3.09 MU thesis class} +\ProvidesClass{fithesis3}[\thesis@version] + +% The base class and packages +\LoadClass[a4paper]{rapport3} +\RequirePackage{xstring} +\RequirePackage{keyval} +\RequirePackage{newfile} +\RequirePackage{etoolbox} + +% Interface +\def\thesissetup#1{% + \setkeys{thesis}{#1}% + \thesis@load} + +\def\thesis@basepath{} +\define@key{thesis}{basepath}{% + \ifx\@empty#1\@empty% + \def\thesis@basepath{}% + \else% + \def\thesis@basepath{#1/}% \fi} - {\par\vfill - \end{alwayssingle} - \newpage} -\newenvironment{ThesisAbstract}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\AbstractTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\AbstractTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\AbstractTitleen} - \else \chapter*{\AbstractTitlecs} - \fi - \fi + +\def\thesis@logopath{\thesis@basepath logo/\thesis@university/} +\define@key{thesis}{logopath}{% + \def\thesis@logopath{\thesis@subdir{#1}}} + +\def\thesis@stylepath{\thesis@basepath style/} +\define@key{thesis}{stylepath}{% + \def\thesis@stylepath{\thesis@subdir{#1}}} + +\def\thesis@localepath{\thesis@basepath locale/} +\define@key{thesis}{localepath}{% + \def\thesis@localepath{\thesis@subdir{#1}}} + +\def\thesis@subdir#1{% + \ifx\@empty#1\@empty% + \thesis@basepath% + \else% + \def\@slash{/}% + \StrLeft{#1}{1}[\@fst]% + \ifx\@fst\@slash% + #1/% + \else% + \thesis@basepath#1/% + \fi% \fi} - {\par\vfil\null - \end{alwayssingle} - \newpage} -\newenvironment{ThesisAbstracten}{% - \begin{alwayssingle} - \chapter*{\AbstractTitleen} - } - {\par\vfil\null - \end{alwayssingle} - \newpage} -\newenvironment{ThesisKeyWords}{% - \begin{alwayssingle} - \ifx\@thesislang\Langcs - \chapter*{\KeyWordsTitlecs} - \else \ifx\@thesislang\Langsk - \chapter*{\KeyWordsTitlesk} - \else \ifx\@thesislang\Langen - \chapter*{\KeyWordsTitleen} - \else \chapter*{\KeyWordsTitlecs} - \fi - \fi + +\newif\ifthesis@woman\thesis@womanfalse +\define@key{thesis}{gender}{% + \def\thesis@male{m}% + \def\thesis@arg{#1}% + \ifx\thesis@male\thesis@arg% + \thesis@womanfalse% + \else% + \thesis@womantrue% \fi} - {\par\vfill - \end{alwayssingle} - \newpage} -\def\MainMatter{% -\if@twoside - \clearpage - \thispagestyle{empty} - \cleardoublepage -\else - \clearpage -\fi -\setcounter{page}{1} -\pagenumbering{arabic} -\pagestyle{thesisheadings} -\parindent 1.5em\relax} - -\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@}% + +\def\thesis@author{\thesis@authorPlaceholder} +\define@key{thesis}{author}{% + \def\thesis@author{#1}} + +\def\thesis@bachelors{bc} +\def\thesis@masters{mgr} +\def\thesis@doctoral{d} +\def\thesis@rigorous{r} +\let\thesis@type\thesis@bachelors +\define@key{thesis}{type}{% + \def\thesis@type{#1}} + +\def\thesis@university{mu} +\define@key{thesis}{university}{% + \def\thesis@university{#1}} + +\def\thesis@faculty{fi} +\define@key{thesis}{faculty}{% + \def\thesis@faculty{#1}} + +\def\thesis@department{\thesis@departmentPlaceholder} +\define@key{thesis}{department}{% + \def\thesis@department{#1}} + +\def\thesis@programme{\thesis@programmePlaceholder} +\define@key{thesis}{programme}{% + \def\thesis@Programme{#1}} + +\def\thesis@logo{\thesis@faculty} +\define@key{thesis}{logo}{% + \def\thesis@logo{#1}} + +\def\thesis@style{\thesis@university/\thesis@faculty} +\define@key{thesis}{style}{% + \def\thesis@style{#1}} + +\newif\ifthesis@style@inheritance\thesis@style@inheritancetrue +\define@key{thesis}{styleInheritance}[true]{% + \def\@true{true}% + \def\@arg{#1}% + \ifx\@true\@arg% + \thesis@style@inheritancetrue% + \else% + \thesis@style@inheritancefalse% \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 +\def\thesis@locale{% + % Babel detection + \ifx\languagename\undefined% + czech\else\languagename\fi} +\define@key{thesis}{locale}{% + \def\thesis@locale{#1}} + +\newif\ifthesis@locale@inheritance\thesis@locale@inheritancetrue +\define@key{thesis}{localeInheritance}[true]{% + \def\@true{true}% + \def\@arg{#1}% + \ifx\@true\@arg% + \thesis@locale@inheritancetrue% + \else% + \thesis@locale@inheritancefalse% \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}} +\def\thesis@year{\the\year} +\define@key{thesis}{year}{% + \def\thesis@year{#1}} + +\def\thesis@place{Brno} +\define@key{thesis}{place}{% + \def\thesis@place{#1}} + +\def\thesis@title{\thesis@titlePlaceholder} +\define@key{thesis}{title}{% + \def\thesis@title{#1}} + +\let\thesis@titleEn\undefined +\define@key{thesis}{titleen}{% + \def\thesis@titleEn{#1}} + +\def\thesis@keywords{\thesis@keywordsPlaceholder} +\define@key{thesis}{keywords}{% + \def\thesis@keywords{#1}} + +\let\thesis@keywordsEn\undefined +\define@key{thesis}{keywordsEn}{% + \def\thesis@keywordsEn{#1}} + +\def\thesis@abstract{\thesis@abstractPlaceholder} +\define@key{thesis}{abstract}{% + \def\thesis@abstract{#1}} + +\let\thesis@abstractEn\undefined +\define@key{thesis}{abstractEn}{% + \def\thesis@abstractEn{#1}} + +\def\thesis@advisor{\thesis@advisorPlaceholder} +\define@key{thesis}{advisor}{% + \def\thesis@advisor{#1}} + +\def\thesis@thanks{\thesis@thanksPlaceholder} +\define@key{thesis}{thanks}{% + \long\def\thesis@thanks{#1}} + +\newif\ifthesis@auto\thesis@autotrue +\define@key{thesis}{autoLayout}[true]{% + \def\@true{true}% + \def\@arg{#1}% + \ifx\@true\@arg% + \thesis@autotrue% + \else% + \thesis@autofalse% + \fi} -\endinput -%% -%% End of file `fithesis3.cls'. +\def\thesis@documentStart{} +\def\thesis@documentEnd{} + +% Utility functions +\def\thesis@lower#1{% + \edef\thesis@expanded{\csname thesis@#1\endcsname}% + \expandafter\lowercase\expandafter{\thesis@expanded}} + +% The loading routine +\def\thesis@exists#1#2{% + \IfFileExists{#1}{#2}{% + \typeout{File #1 doesn't exist.}}} + +\def\thesis@input#1{% + \thesis@exists{#1}{\input{#1}}} + +% The BibTeX file generator +%% Temporarily swap the meaning of {} and <> +{\catcode`\<=1 +\catcode`\>=2 +\catcode`\{=12 +\catcode`\}=12 +\catcode`\_=13 +\gdef\thesis@bibgen#1<<% + % Helper macros + \def\add<\addtostream<#1>>% + \let\ea\expandafter% + %% Find the last space-separated word + \def\tail##1<\xtail##1 \relax>% + \def\xtail##1 ##2<% + \ifx\relax##2% + ##1% + \ea\@gobbletwo% + \fi% + \xtail##2>% + %% Pre-cooked parts of the output + \edef\thesis@author@toks<\thesis@author> + \def\surname<\ea\tail\ea<\thesis@author@toks>>% + \edef\entryType<@\ifx\thesis@type\thesis@masters% + MastersThesis% + \else\ifx\thesis@type\thesis@doctoral% + PhdThesis% + \else% + misc% + \fi\fi>% + % Generate the file + <%% Temporarily turn _s into spaces + \catcode`\_=13 \let_=\space + % Temporarily disable the UTF-8 encoding + \def\UTFviii@two@octets##1##2<% + \string##1\string##2>% + \def\UTFviii@three@octets##1##2##3<% + \string##1\string##2\string##3>% + \def\UTFviii@four@octets##1##2##3##4<% + \string##1\string##2\string##3\string##4>% + % Fill the output stream + \add<\entryType{\surname\thesis@year thesis,>% + \add<__AUTHOR_____=_"\thesis@author",>% + \add<__TITLE______=_"\thesis@title",>% + \add<__YEAR_______=_"\thesis@year",>% + \add<__TYPE_______=_"\thesis@typeName",>% + \add<__SCHOOL_____=_"\thesis@universityName, + \thesis@facultyName",>% + \add<__SUPERVISOR_=_"\thesis@advisor",>% + \add<__PAGES______=_"\thepage">% + \add<}> + >>>% +> + +\newif\ifthesis@loaded\thesis@loadedfalse +\AtEndPreamble{\thesis@load} +\def\thesis@load{% + \ifthesis@loaded\else% + \thesis@loadedtrue + \makeatletter% + % Load the locale + \ifthesis@locale@inheritance + \input{\thesis@localepath base} + \fi + \thesis@input{\thesis@localepath\thesis@locale}% + \ifthesis@locale@inheritance + \thesis@input{\thesis@localepath\thesis@university/% + \thesis@locale}% + \thesis@input{\thesis@localepath\thesis@university/% + \thesis@faculty/\thesis@locale}% + \fi + % Inject the PDF options + \@ifpackageloaded{hyperref}{}{\RequirePackage{hyperref}}% + \hypersetup{% + pdftitle={\ifx\thesis@titleEn\undefined% + \thesis@title% + \else% + \thesis@titleEn% + \fi}, pdfauthor={\thesis@author},% + pdfkeywords={\ifx\thesis@keywordsEn\undefined% + \thesis@keywords% + \else% + \thesis@keywordsEn% + \fi}, pdfcreator={\thesis@version},% + pdfsubject={\ifx\thesis@abstractEn\undefined% + \thesis@abstract% + \else% + \thesis@abstractEn% + \fi} + }% + % Load the style files + \ifthesis@style@inheritance + \thesis@exists{\thesis@stylepath base.sty}{% + \RequirePackageWithOptions{\thesis@stylepath base}}% + \thesis@exists{\thesis@stylepath\thesis@university/% + base.sty}{\RequirePackageWithOptions{\thesis@stylepath% + \thesis@university/base}}% + \fi + \thesis@exists{\thesis@stylepath\thesis@style.sty}{% + \RequirePackageWithOptions{\thesis@stylepath\thesis@style}}% + % Include the autolayout + \ifthesis@auto% + \AtBeginDocument{\thesis@documentStart}% + \AtEndDocument{\thesis@documentEnd% + % Generate the BibTeX file + \newoutputstream{bib} + \openoutputfile{\jobname.bib}{bib} + \thesis@bibgen{bib} + \closeoutputstream{bib}}% + \fi% + \makeatother% + \fi} diff --git a/locale/base.tex b/locale/base.tex new file mode 100644 index 0000000000000000000000000000000000000000..f1d53ecc24514b9fc39e0499bf306ca4929aad52 --- /dev/null +++ b/locale/base.tex @@ -0,0 +1,5 @@ +% A symbolic link to the English locale +\input{\thesis@localepath english} + +\def\thesis@abstractEnTitle{Abstract} +\def\thesis@keywordsEnTitle{Keywords} \ No newline at end of file diff --git a/locale/czech.tex b/locale/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..0aa28b162818e1f55920e6b307d7fa78cd66eed8 --- /dev/null +++ b/locale/czech.tex @@ -0,0 +1,35 @@ +% Pomocná makra +\def\thesis@gender@koncovka{% + \ifthesis@woman a\fi} + +% ZástupnĂ© texty +\def\thesis@titlePlaceholder{Název práce} +\def\thesis@keywordsPlaceholder{klĂÄŤovĂ© slovo 1, klĂÄŤovĂ© slovo 2, ...} +\def\thesis@abstractPlaceholder{Text shrnutĂ} +\def\thesis@authorPlaceholder{JmĂ©no autora} +\def\thesis@universityName{Název univerzity} +\def\thesis@facultyName{Název fakulty} +\def\thesis@advisorPlaceholder{JmĂ©no vedoucĂho} +\def\thesis@departmentPlaceholder{Název katedry} +\def\thesis@programmePlaceholder{Název studijnĂho programu} +\def\thesis@thanksPlaceholder{Text podÄ›kovánĂ ...} +\def\thesis@declaration{Text prohlášenĂ ...} + +% RĹŻznĂ© +\def\thesis@advisorTitle{VedoucĂ práce} +\def\thesis@abstractTitle{ShrnutĂ} +\def\thesis@keywordsTitle{KlĂÄŤová slova} +\def\thesis@thanksTitle{PodÄ›kovánĂ} +\def\thesis@declarationTitle{ProhlášenĂ} +\def\thesis@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bakalářská práce% + \else\ifx\thesis@type\thesis@masters% + Diplomová práce% + \else\ifx\thesis@type\thesis@doctoral% + DisertaÄŤnĂ práce% + \else\ifx\thesis@type\thesis@rigorous% + RigorĂłznĂ práce% + \else% + NeznámĂ˝ typ práce% + \fi\fi\fi\fi} diff --git a/locale/english.tex b/locale/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..6fd9ad6dd3f54634c8a21cab23e7298f43623e0c --- /dev/null +++ b/locale/english.tex @@ -0,0 +1,31 @@ +% Placeholders +\def\thesis@titlePlaceholder{Thesis Title} +\def\thesis@keywordsPlaceholder{keyword1, keyword2, ...} +\def\thesis@abstractPlaceholder{Abstract text} +\def\thesis@authorPlaceholder{Author's name} +\def\thesis@universityName{University name} +\def\thesis@facultyName{Faculty name} +\def\thesis@advisorPlaceholder{Advisor's name} +\def\thesis@departmentPlaceholder{Department name} +\def\thesis@programmePlaceholder{Study programme name} +\def\thesis@thanksPlaceholder{Acknowledgement text ...} +\def\thesis@declaration{Declaration text ...} + +% Miscellaneous +\def\thesis@advisorTitle{Advisor} +\def\thesis@abstractTitle{Abstract} +\def\thesis@keywordsTitle{Keywords} +\def\thesis@thanksTitle{Acknowledgement} +\def\thesis@declarationTitle{Declaration} +\def\thesis@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bachelor's Thesis% + \else\ifx\thesis@type\thesis@masters% + Master's Thesis% + \else\ifx\thesis@type\thesis@doctoral% + Doctoral Thesis% + \else\ifx\thesis@type\thesis@rigorous% + Rigorous Thesis% + \else% + Unknown thesis type% + \fi\fi\fi\fi} diff --git a/locale/mu/czech.tex b/locale/mu/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..57b0bebc2f5b5a3c494a22befaf849070afcfc08 --- /dev/null +++ b/locale/mu/czech.tex @@ -0,0 +1,9 @@ +\def\thesis@universityName{Masarykova Univerzita} +% TODO: Opravit taby a nahradit \cs{} za \cs\ +\def\thesis@declaration{% + Prohlašuji, Ĺľe tato \thesis@lower{typeName} je mĂ˝m pĹŻvodnĂm + autorskĂ˝m dĂlem, kterĂ© jsem vypracoval\thesis@gender@koncovka\ + samostatnÄ›. Všechny zdroje, prameny a literaturu, kterĂ© jsem + pĹ™i vypracovánĂ pouĹľĂval\thesis@gender@koncovka\ nebo z~nich + ÄŤerpal\thesis@gender@koncovka, v~práci řádnÄ› cituji s~uvedenĂm + ĂşplnĂ©ho odkazu na pĹ™ĂslušnĂ˝ zdroj.} diff --git a/locale/mu/econ/czech.tex b/locale/mu/econ/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..9fec74b55ac43d750d09d852d69d9e13757b1a8d --- /dev/null +++ b/locale/mu/econ/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Ekonomicko-správnĂ fakulta} diff --git a/locale/mu/econ/english.tex b/locale/mu/econ/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..f1c89e483043ad2a620a767345781f4cdf1d8a7d --- /dev/null +++ b/locale/mu/econ/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Economics and Administration} diff --git a/locale/mu/econ/slovak.tex b/locale/mu/econ/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..d8d13cc9fe6abb97a93f35acff6506ba336555ca --- /dev/null +++ b/locale/mu/econ/slovak.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Ekonomicko-správna fakulta} diff --git a/locale/mu/english.tex b/locale/mu/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..cc5a55712f75c2742c6a9e38a5f00db2e5a9f6f6 --- /dev/null +++ b/locale/mu/english.tex @@ -0,0 +1,6 @@ +\def\thesis@universityName{Masaryk University} +\def\thesis@declaration{% + Hereby I declare that this paper is my original authorial work, + which I have worked out by my own. All sources, references and + literature used or excerpted during elaboration of this work are + properly cited and listed in complete reference to the due source.} diff --git a/locale/mu/fi/czech.tex b/locale/mu/fi/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..669411db2679941e6d0adf6128d8d3e86825f318 --- /dev/null +++ b/locale/mu/fi/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Fakulta informatiky} diff --git a/locale/mu/fi/english.tex b/locale/mu/fi/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..30416d85c54bad610414b8238b85de26caac95b3 --- /dev/null +++ b/locale/mu/fi/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Informatics} diff --git a/locale/mu/fi/slovak.tex b/locale/mu/fi/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..34c7587d43e5b6e74af1ad64f46c4bdc05ae086a --- /dev/null +++ b/locale/mu/fi/slovak.tex @@ -0,0 +1,2 @@ +% SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad +\input{\thesis@localepath mu/fi/czech.tex} diff --git a/locale/mu/fsps/czech.tex b/locale/mu/fsps/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..0cb5f947f6c1a92542e4548bbf62f1198f93cd32 --- /dev/null +++ b/locale/mu/fsps/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Fakulta sportovnĂch studiĂ} diff --git a/locale/mu/fsps/english.tex b/locale/mu/fsps/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..1d9517e9eb17e396fc5041c9d487e802b6b053c2 --- /dev/null +++ b/locale/mu/fsps/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Sports Studies} diff --git a/locale/mu/fsps/slovak.tex b/locale/mu/fsps/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..e3c818e5567d93cea48256c4938b5523016bb2eb --- /dev/null +++ b/locale/mu/fsps/slovak.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Fakulta športovĂ˝ch štĂşdiĂ} diff --git a/locale/mu/fss/czech.tex b/locale/mu/fss/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..a6cf6bd03b7b7e080baff1709c12117c3b407244 --- /dev/null +++ b/locale/mu/fss/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Fakulta sociálnĂch studiĂ} diff --git a/locale/mu/fss/english.tex b/locale/mu/fss/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..4b20fbc41b4acff57e74d1bf3c84d50bfdbba22e --- /dev/null +++ b/locale/mu/fss/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Social Studies} diff --git a/locale/mu/fss/slovak.tex b/locale/mu/fss/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..dd9e09932c67bd56a0a4ded03487243410ba8252 --- /dev/null +++ b/locale/mu/fss/slovak.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Fakulta sociálnych štĂşdiĂ} diff --git a/locale/mu/law/czech.tex b/locale/mu/law/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..495bd3b0d2806ff00801906fb430b0a069b6d9aa --- /dev/null +++ b/locale/mu/law/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Právnická fakulta} diff --git a/locale/mu/law/english.tex b/locale/mu/law/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..a8d15061ce668766d6ae486e5b157f10f03a8bb4 --- /dev/null +++ b/locale/mu/law/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Law} diff --git a/locale/mu/law/slovak.tex b/locale/mu/law/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..b28f5bbc4c23900a1b7e8a37f13115b96d50d8ec --- /dev/null +++ b/locale/mu/law/slovak.tex @@ -0,0 +1,2 @@ +% SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad +\input{\thesis@localepath mu/law/czech.tex} diff --git a/locale/mu/med/czech.tex b/locale/mu/med/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..56f834d7a0abfe402f63211b4b8727ea97c1ffb6 --- /dev/null +++ b/locale/mu/med/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{LĂ©kaĹ™ská fakulta} diff --git a/locale/mu/med/english.tex b/locale/mu/med/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..cddb4aff41f46e7a8bccaa8de2b341cc3c06fa1c --- /dev/null +++ b/locale/mu/med/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Medicine} diff --git a/locale/mu/med/slovak.tex b/locale/mu/med/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..a7c93d2bebccbb207128f3762f500737f080fc04 --- /dev/null +++ b/locale/mu/med/slovak.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Lekárska fakulta} diff --git a/locale/mu/ped/czech.tex b/locale/mu/ped/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..3f5e6015dce594b3ffbc32dc367c7e1bc304cb27 --- /dev/null +++ b/locale/mu/ped/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Pedagogická fakulta} diff --git a/locale/mu/ped/english.tex b/locale/mu/ped/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..41ba7c311095a25ccfd26c054f726bee8a343724 --- /dev/null +++ b/locale/mu/ped/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Education} diff --git a/locale/mu/ped/slovak.tex b/locale/mu/ped/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..ebd980f1795febaf71f7ec31b418aa30c63af6d2 --- /dev/null +++ b/locale/mu/ped/slovak.tex @@ -0,0 +1,2 @@ +% SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad +\input{\thesis@localepath mu/ped/czech.tex} diff --git a/locale/mu/phil/czech.tex b/locale/mu/phil/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..090df13593460bbcdaaa968239332249af86a6a6 --- /dev/null +++ b/locale/mu/phil/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Filozofická fakulta} diff --git a/locale/mu/phil/english.tex b/locale/mu/phil/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..8841bf1deadffb0fd31762e219d88bdd844c38e8 --- /dev/null +++ b/locale/mu/phil/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Arts} diff --git a/locale/mu/phil/slovak.tex b/locale/mu/phil/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..c2eaf5a41f75f54c10df3355eed8799d7745c153 --- /dev/null +++ b/locale/mu/phil/slovak.tex @@ -0,0 +1,2 @@ +% SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad +\input{\thesis@localepath mu/phil/czech.tex} diff --git a/locale/mu/sci/czech.tex b/locale/mu/sci/czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..95059b6b28cb095f0eea1b7ec2c1ffc457d7f13f --- /dev/null +++ b/locale/mu/sci/czech.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{PĹ™ĂrodovÄ›decká fakulta} diff --git a/locale/mu/sci/english.tex b/locale/mu/sci/english.tex new file mode 100644 index 0000000000000000000000000000000000000000..f59f20ef4db0b4b465bbadd58189f17adf388d30 --- /dev/null +++ b/locale/mu/sci/english.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{Faculty of Science} diff --git a/locale/mu/sci/slovak.tex b/locale/mu/sci/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..35564b5a001fbe81deb7c68f00e7adc3083183f1 --- /dev/null +++ b/locale/mu/sci/slovak.tex @@ -0,0 +1 @@ +\def\thesis@facultyName{PrĂrodovedecká fakulta} diff --git a/locale/mu/slovak.tex b/locale/mu/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..fc624eb86c7f458b4928d532600085bb74f2585c --- /dev/null +++ b/locale/mu/slovak.tex @@ -0,0 +1,10 @@ +% SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad +\input{\thesis@localepath mu/czech.tex} + +\def\thesis@declaration{% + Prehlasujem, Ĺľe táto \thesis@lower{typeName} je mojĂm pĂ´vodnĂ˝m + autorskĂ˝m dielom, ktorĂ© som vypracoval\thesis@gender@koncovka\ + samostatne. Všetky zdroje, pramene a literatĂşru, ktorĂ© som pri + vypracovanĂ pouĹľĂval\thesis@gender@koncovka\ alebo z~nich + ÄŤerpal\thesis@gender@koncovka\ , v~práci riadne citujem + s~uvedenĂm ĂşplnĂ©ho odkazu na prĂslušnĂ˝ zdroj.} diff --git a/locale/slovak.tex b/locale/slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..a097156bcf4c1046144898d710be74cf9ef7f82c --- /dev/null +++ b/locale/slovak.tex @@ -0,0 +1,38 @@ +% SymbolickĂ˝ odkaz na ÄŤeskĂ˝ preklad +\input{\thesis@localepath czech.tex} + +% Pomocná makrá +\def\thesis@gender@koncovka{% + \ifthesis@woman a\fi} + +% ZástupnĂ© texty +\def\thesis@titlePlaceholder{Názov práce} +\def\thesis@keywordsPlaceholder{kľúčovĂ© slovo 1, kľúčovĂ© slovo 2, ...} +\def\thesis@abstractPlaceholder{Text zhrnutie} +\def\thesis@authorPlaceholder{Meno autora} +\def\thesis@universityName{Názov univerzity} +\def\thesis@facultyName{Názov fakulty} +\def\thesis@advisorPlaceholder{Meno vedoucĂho} +\def\thesis@departmentPlaceholder{Názov katedry} +\def\thesis@programmePlaceholder{Názov študijnĂ©ho programu} +\def\thesis@thanksPlaceholder{Text poÄŹakovanie ...} +\def\thesis@declaration{Text prehlásenie ...} + +% RĂ´zne +\def\thesis@advisorTitle{VedĂşci práce} +\def\thesis@abstractTitle{Zhrnutie} +\def\thesis@keywordsTitle{KľúčovĂ© slová} +\def\thesis@thanksTitle{PoÄŹakovanie} +\def\thesis@declarationTitle{Prehlásenie} +\def\thesis@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bakalárska práca% + \else\ifx\thesis@type\thesis@masters% + Diplomová práca% + \else\ifx\thesis@type\thesis@doctoral% + DizertaÄŤná práca% + \else\ifx\thesis@type\thesis@rigorous% + RigorĂłzna práca% + \else% + Neznámy typ práce% + \fi\fi\fi\fi} diff --git a/loga/.gitignore b/loga/.gitignore deleted file mode 100644 index 1801aefe7df3ad78159f28cfa5dfa1fd70b66326..0000000000000000000000000000000000000000 --- a/loga/.gitignore +++ /dev/null @@ -1 +0,0 @@ -fi-logo.info diff --git a/loga/Makefile b/loga/Makefile deleted file mode 100644 index 28b8b9f27800bd881c5e011d8e6ec225455d9d78..0000000000000000000000000000000000000000 --- a/loga/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -.PHONY: all - -all: econ-logo.pdf fsps-logo.pdf law-logo.pdf med-logo.pdf ped-logo.pdf phil-logo.pdf sci-logo.pdf fi-logo.pdf fss-logo.pdf - cd color; make all - -%.pdf: %.eps - epstopdf $< diff --git a/loga/color/Makefile b/loga/color/Makefile deleted file mode 100644 index a47404733dc3cfa1150521484a4b6f79c9033a48..0000000000000000000000000000000000000000 --- a/loga/color/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -.PHONY: all - -all: econ-logo.pdf fsps-logo.pdf law-logo.pdf med-logo.pdf ped-logo.pdf phil-logo.pdf sci-logo.pdf fi-logo.pdf fss-logo.pdf examples.pdf - -%.pdf: %.eps - epstopdf $< diff --git a/logo/mu/Makefile b/logo/mu/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..0be5a6575d35bd7000e8171bc9f7efebbe96da07 --- /dev/null +++ b/logo/mu/Makefile @@ -0,0 +1,6 @@ +.PHONY: all + +all: econ.pdf fsps.pdf law.pdf med.pdf ped.pdf phil.pdf sci.pdf fi.pdf fss.pdf + +%.pdf: %.eps + epstopdf $< diff --git a/loga/color/.gitignore b/logo/mu/color/.gitignore similarity index 100% rename from loga/color/.gitignore rename to logo/mu/color/.gitignore diff --git a/logo/mu/color/Makefile b/logo/mu/color/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..0be5a6575d35bd7000e8171bc9f7efebbe96da07 --- /dev/null +++ b/logo/mu/color/Makefile @@ -0,0 +1,6 @@ +.PHONY: all + +all: econ.pdf fsps.pdf law.pdf med.pdf ped.pdf phil.pdf sci.pdf fi.pdf fss.pdf + +%.pdf: %.eps + epstopdf $< diff --git a/loga/color/econ-logo.eps b/logo/mu/color/econ.eps similarity index 100% rename from loga/color/econ-logo.eps rename to logo/mu/color/econ.eps diff --git a/loga/color/econ-logo.pdf b/logo/mu/color/econ.pdf similarity index 100% rename from loga/color/econ-logo.pdf rename to logo/mu/color/econ.pdf diff --git a/loga/color/fi-logo.eps b/logo/mu/color/fi.eps similarity index 100% rename from loga/color/fi-logo.eps rename to logo/mu/color/fi.eps diff --git a/loga/color/fi-logo.pdf b/logo/mu/color/fi.pdf similarity index 100% rename from loga/color/fi-logo.pdf rename to logo/mu/color/fi.pdf diff --git a/loga/color/fsps-logo.eps b/logo/mu/color/fsps.eps similarity index 100% rename from loga/color/fsps-logo.eps rename to logo/mu/color/fsps.eps diff --git a/loga/color/fsps-logo.pdf b/logo/mu/color/fsps.pdf similarity index 100% rename from loga/color/fsps-logo.pdf rename to logo/mu/color/fsps.pdf diff --git a/loga/color/fss-logo.eps b/logo/mu/color/fss.eps similarity index 100% rename from loga/color/fss-logo.eps rename to logo/mu/color/fss.eps diff --git a/loga/color/fss-logo.pdf b/logo/mu/color/fss.pdf similarity index 100% rename from loga/color/fss-logo.pdf rename to logo/mu/color/fss.pdf diff --git a/loga/color/law-logo.eps b/logo/mu/color/law.eps similarity index 100% rename from loga/color/law-logo.eps rename to logo/mu/color/law.eps diff --git a/loga/color/law-logo.pdf b/logo/mu/color/law.pdf similarity index 100% rename from loga/color/law-logo.pdf rename to logo/mu/color/law.pdf diff --git a/loga/color/med-logo.eps b/logo/mu/color/med.eps similarity index 100% rename from loga/color/med-logo.eps rename to logo/mu/color/med.eps diff --git a/loga/color/med-logo.pdf b/logo/mu/color/med.pdf similarity index 100% rename from loga/color/med-logo.pdf rename to logo/mu/color/med.pdf diff --git a/loga/color/ped-logo.eps b/logo/mu/color/ped.eps similarity index 100% rename from loga/color/ped-logo.eps rename to logo/mu/color/ped.eps diff --git a/loga/color/ped-logo.pdf b/logo/mu/color/ped.pdf similarity index 100% rename from loga/color/ped-logo.pdf rename to logo/mu/color/ped.pdf diff --git a/loga/color/phil-logo.eps b/logo/mu/color/phil.eps similarity index 100% rename from loga/color/phil-logo.eps rename to logo/mu/color/phil.eps diff --git a/loga/color/phil-logo.pdf b/logo/mu/color/phil.pdf similarity index 100% rename from loga/color/phil-logo.pdf rename to logo/mu/color/phil.pdf diff --git a/loga/color/sci-logo.eps b/logo/mu/color/sci.eps similarity index 100% rename from loga/color/sci-logo.eps rename to logo/mu/color/sci.eps diff --git a/loga/color/sci-logo.pdf b/logo/mu/color/sci.pdf similarity index 100% rename from loga/color/sci-logo.pdf rename to logo/mu/color/sci.pdf diff --git a/loga/econ-logo.eps b/logo/mu/econ.eps similarity index 100% rename from loga/econ-logo.eps rename to logo/mu/econ.eps diff --git a/loga/econ-logo.pdf b/logo/mu/econ.pdf similarity index 100% rename from loga/econ-logo.pdf rename to logo/mu/econ.pdf diff --git a/loga/fi-logo.eps b/logo/mu/fi.eps similarity index 100% rename from loga/fi-logo.eps rename to logo/mu/fi.eps diff --git a/loga/fi-logo.pdf b/logo/mu/fi.pdf similarity index 100% rename from loga/fi-logo.pdf rename to logo/mu/fi.pdf diff --git a/loga/fsps-logo.eps b/logo/mu/fsps.eps similarity index 100% rename from loga/fsps-logo.eps rename to logo/mu/fsps.eps diff --git a/loga/fsps-logo.pdf b/logo/mu/fsps.pdf similarity index 100% rename from loga/fsps-logo.pdf rename to logo/mu/fsps.pdf diff --git a/loga/fss-logo.eps b/logo/mu/fss.eps similarity index 100% rename from loga/fss-logo.eps rename to logo/mu/fss.eps diff --git a/loga/fss-logo.pdf b/logo/mu/fss.pdf similarity index 100% rename from loga/fss-logo.pdf rename to logo/mu/fss.pdf diff --git a/loga/law-logo.eps b/logo/mu/law.eps similarity index 100% rename from loga/law-logo.eps rename to logo/mu/law.eps diff --git a/loga/law-logo.pdf b/logo/mu/law.pdf similarity index 100% rename from loga/law-logo.pdf rename to logo/mu/law.pdf diff --git a/loga/med-logo.eps b/logo/mu/med.eps similarity index 100% rename from loga/med-logo.eps rename to logo/mu/med.eps diff --git a/loga/med-logo.pdf b/logo/mu/med.pdf similarity index 100% rename from loga/med-logo.pdf rename to logo/mu/med.pdf diff --git a/loga/ped-logo.eps b/logo/mu/ped.eps similarity index 100% rename from loga/ped-logo.eps rename to logo/mu/ped.eps diff --git a/loga/ped-logo.pdf b/logo/mu/ped.pdf similarity index 100% rename from loga/ped-logo.pdf rename to logo/mu/ped.pdf diff --git a/loga/phil-logo.eps b/logo/mu/phil.eps similarity index 100% rename from loga/phil-logo.eps rename to logo/mu/phil.eps diff --git a/loga/phil-logo.pdf b/logo/mu/phil.pdf similarity index 100% rename from loga/phil-logo.pdf rename to logo/mu/phil.pdf diff --git a/loga/sci-logo.eps b/logo/mu/sci.eps similarity index 100% rename from loga/sci-logo.eps rename to logo/mu/sci.eps diff --git a/loga/sci-logo.pdf b/logo/mu/sci.pdf similarity index 100% rename from loga/sci-logo.pdf rename to logo/mu/sci.pdf diff --git a/style/base.sty b/style/base.sty new file mode 100644 index 0000000000000000000000000000000000000000..acb20b29de5c9a3423db66da588968b8626a5db7 --- /dev/null +++ b/style/base.sty @@ -0,0 +1 @@ +\NeedsTeXFormat{LaTeX2e} \ No newline at end of file diff --git a/style/mu/base.sty b/style/mu/base.sty new file mode 100644 index 0000000000000000000000000000000000000000..2ed6ab7f324f5b70119caf0c638eed6ca8b36893 --- /dev/null +++ b/style/mu/base.sty @@ -0,0 +1,249 @@ +\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.sty b/style/mu/fi.sty new file mode 100644 index 0000000000000000000000000000000000000000..540bced7b9a7d55adabccabce63102a2114ada1a --- /dev/null +++ b/style/mu/fi.sty @@ -0,0 +1,18 @@ +\NeedsTeXFormat{LaTeX2e} + +% Autolayout definition +\def\thesis@documentStart{% + \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% + \listoftables% + \listoffigures% + \thesis@blocks@mainMatter% +} \ No newline at end of file diff --git a/fit10.clo b/style/mu/fit10.clo similarity index 100% rename from fit10.clo rename to style/mu/fit10.clo diff --git a/fit11.clo b/style/mu/fit11.clo similarity index 100% rename from fit11.clo rename to style/mu/fit11.clo diff --git a/fit12.clo b/style/mu/fit12.clo similarity index 100% rename from fit12.clo rename to style/mu/fit12.clo